Commit Graph

4203 Commits

Author SHA1 Message Date
Abhishek Gupta
d17cebcd2a Implementing PR feedback and adding test cases 2014-12-08 14:47:05 -08:00
Abhishek Gupta
5fa1dbc07b Implementing PR feedback
- Making ConfigFactory struct public
 - Added comments for predicate/priority functions and new methods
2014-12-08 14:47:05 -08:00
Abhishek Gupta
13831856c9 Combining scheduler priority functions using weighted averages 2014-12-08 14:47:05 -08:00
Abhishek Gupta
7f374030c1 Fixing gofmt errors 2014-12-08 14:47:05 -08:00
Abhishek Gupta
1eb28b0aa3 Scheduler changes to allow multiple priority functions 2014-12-08 14:47:05 -08:00
Abhishek Gupta
6b712cc700 Scheduler changes for extensibility 2014-12-08 14:47:05 -08:00
Daniel Smith
4845e524af Merge pull request #2667 from thockin/klet-dirs
Kubelet directory-name builder funcs
2014-12-08 13:23:04 -08:00
Daniel Smith
c5667e1cfe Merge pull request #2782 from zmerlynn/e2e.shuffle
Run e2e tests in deterministic random order
2014-12-08 13:01:32 -08:00
Zach Loafman
f3a992aa08 Run e2e tests in deterministic random order
Currently, we run the e2e tests in whatever order readdir happens to
return, which is random on some filesystems, name sorted on others,
create order on others, etc. Eventually, we may want to be
automatically hermetic between e2e tests (especially as we introduce
more resource destructive tests), but until then, it would be useful
if we permute the test order randomly between runs to ensure that
developers don't accidentally rely on a particular order. This
introduces a form of forced hermeticism, since improper state cleanup
from one test may not perturb a given test, but there's probably *a*
test in the suite that the order will perturb, so the RNG will find
that order eventually.

Adds logging of the generated seed, and an --orderseed argument that
can be used to re-run in the same order. Also sorts the pass/fail list
now for easier human reading.
2014-12-08 11:10:39 -08:00
bgrant0607
9ee00ba240 Merge pull request #2777 from ddysher/node-ip
Query hostIP for Nodes
2014-12-08 11:05:27 -08:00
bgrant0607
0c2be7e9ae Merge pull request #2559 from meirf/add-whitespace-flexibility-to-multivalued-requirement-parser
Make multivalued requirement parser more whitespace tolerant
2014-12-08 11:01:13 -08:00
Brian Grant
5ef877e914 Update roadmap based on discussion at contributor meetup. 2014-12-08 18:54:34 +00:00
Daniel Smith
0166649364 Merge pull request #2783 from zmerlynn/IsUp
Check if cluster is up before e2e test without -up
2014-12-08 10:54:22 -08:00
Joe Beda
b8aa070749 Merge pull request #2780 from zmerlynn/issue.1853
Wait/reap build container before removing it
2014-12-08 10:35:39 -08:00
Joe Beda
d60f450115 Merge pull request #2785 from zmerlynn/certs
Fix e2e-suite/certs.sh unbound variables
2014-12-08 09:59:06 -08:00
derekwaynecarr
aacf2c2780 Add python-cherrypy as explicit install for salt-api 2014-12-08 11:36:26 -05:00
Rajdeep Dua
00149c88f2 Added two test cases for KubeletClient 2014-12-07 21:46:14 -08:00
Clayton Coleman
714dbf4522 Shrink runtime.TypeMeta to be equivalent to api TypeMeta
Remove unused fuzzing
2014-12-07 20:49:07 -05:00
Clayton Coleman
dd24b013cb Use if err := ; err != nil instead of two lines 2014-12-07 20:48:16 -05:00
Clayton Coleman
84d84c50c2 Add a strongly typed error for unrecognized kind/type/version 2014-12-07 20:48:16 -05:00
Zach Loafman
3afcebecca Fix e2e-suite/certs.sh unbound variables
Fixes e2e failure on GCE
2014-12-07 16:39:56 -08:00
Zach Loafman
3009c88865 Check if cluster is up before e2e test without -up
Minor usability nuisance: If you run:
  go run hack/e2e.go -v -test
.. and you don't happen to have an up e2e cluster, it should fail
fast, rather than chugging through every test and having them fall
over.
2014-12-07 15:35:22 -08:00
Zach Loafman
21eb09fb6a Wait/reap build container before removing it
Fixes: https://github.com/GoogleCloudPlatform/kubernetes/issues/1853
2014-12-06 11:12:11 -08:00
Tim Hockin
acc6b95c21 Add functions to get kubelet directories.
Gets rid of some magic constants and makes volume plugins (coming later)
cleaner.
2014-12-06 11:00:19 -08:00
Mike Danese
722abf1a95 - make cadvisor port configurable on the kubelet.
- added cadvisor port documentation.
2014-12-06 09:48:08 -08:00
Daniel Smith
3910b2d6e1 Merge pull request #2568 from derekwaynecarr/self_link_ns
make selfLink namespace aware
2014-12-05 22:48:06 -08:00
Deyuan Deng
2ecea9ce7b Query hostIP for instances 2014-12-05 23:26:33 -05:00
Daniel Smith
d03be4c0a2 Merge pull request #2776 from brendandburns/fix
Fix detect-minions.
2014-12-05 15:48:06 -08:00
Brendan Burns
8364fa5c93 Fix detect-minions. 2014-12-05 15:42:28 -08:00
Daniel Smith
071997593b Merge pull request #2775 from brendandburns/fix
Fix the update test.
2014-12-05 15:30:29 -08:00
Brendan Burns
2a53b002ef Fix the update test. 2014-12-05 15:21:53 -08:00
Brendan Burns
f5dd5138ef Merge pull request #2774 from brendandburns/fix
Make certs.sh executable.
2014-12-05 15:19:18 -08:00
derekwaynecarr
ef25520baa make selfLink namespace aware 2014-12-05 17:37:11 -05:00
Brendan Burns
c60742a436 Make certs.sh executable. 2014-12-05 14:11:19 -08:00
Brendan Burns
b811eb8303 Merge pull request #2760 from liggitt/bindata_bump
Add script to build ui assets, rebuild with latest go-bindata
2014-12-05 14:09:10 -08:00
bgrant0607
b824eb0350 Merge pull request #2771 from rlarocque2/print_synccloud_errors
Print SyncCloud errors
2014-12-05 13:46:10 -08:00
bgrant0607
f95503dc2d Merge pull request #2767 from ironcladlou/watch-error-handling
Log ErrUnexpectedEOF from watches as warnings
2014-12-05 13:43:26 -08:00
Dawn Chen
73ebc9e714 Merge pull request #2769 from jdef/docker_noname
avoid panics when docker CT has no name
2014-12-05 13:39:59 -08:00
bgrant0607
cf7f3de767 Merge pull request #2762 from rajdeepd/master
Added a New test case for GetMinion
2014-12-05 13:24:24 -08:00
Richard Larocque
7d37b24cc7 Implement apiserver communication for Vagrant
This implementation is based on the GCE impementation from
618a367dbb.
2014-12-05 12:49:51 -08:00
James DeFelice
76ef747927 avoid panics when docker CT has no name 2014-12-05 15:48:25 -05:00
Eric Tune
fd8279f046 Merge pull request #2699 from lavalamp/fix5
reenable update test
2014-12-05 12:38:15 -08:00
Dan Mace
0ad8342a55 Log ErrUnexpectedEOF from watches as warnings
Watches are often established via long-running HTTP GET requests which
will inevitably time out during the normal course of operations. When
the watches time out, an io.EOF or an io.ErrUnexpectedEOF will bubble
up to client components such as StreamWatcher and Reflector. Treat EOF
as a clean watch termination. Treat ErrUnexpectedEOF as a less-clean
but non-fatal watch termination and log the event at the warning level.

This greatly reduces the amount of log noise generated during what is
ultimately normal operation, and adds the flexibility for the operator
to make a distinction between the EOF conditions if so desired (by
adjusting the logging level).
2014-12-05 15:03:07 -05:00
Richard Larocque
51efd38e75 Print SyncCloud errors
This small change would have saved me a lot of time while investigating
issue #2746.
2014-12-05 11:50:21 -08:00
bgrant0607
7d3cac35a5 Merge pull request #2757 from MikeJeffrey/master
Using kubectl in getting started guides
2014-12-05 09:26:14 -08:00
Rajdeep Dua
2791a92f2c Added a New test case for GetMinion 2014-12-05 01:49:43 -08:00
Jordan Liggitt
4ab41f5be8 Add script to build ui assets, rebuild with latest go-bindata 2014-12-04 22:38:00 -08:00
Brendan Burns
39bf3d2950 Merge pull request #2677 from jay-lau/master
No need to add two "containers" section for one pod
2014-12-04 21:18:23 -08:00
Deyuan Deng
76552423f9 Move watch filter into storage level 2014-12-04 20:15:27 -05:00
Daniel Smith
2261c3e71c Merge pull request #2756 from liggitt/yaml_bump
Bump yaml, test full int64 serialization
2014-12-04 15:16:04 -08:00