Commit Graph

5925 Commits (3f90de3f80339d29f0605e1ce347b2333e1bf3b2)

Author SHA1 Message Date
Marek Grabowski 72a066a992 Add more information to Validator error messages. 2015-02-09 18:07:09 +01:00
Deyuan Deng 91b43a4b16 Merge pull request #4165 from smarterclayton/ignore_already_exists_errors_on_create_node
NodeController should tolerate when nodes already exist
2015-02-09 11:01:17 -05:00
Zach Loafman fe838fca64 Convert waitForPodSuccess to error form, glog->By
* Also add variable timeout as well
* And nail in coffin for glog in this file!
2015-02-09 07:48:07 -08:00
Zach Loafman ff67052408 Convert waitForPodNotPending from glog to By, and to error form
Also change it to take a variable timeout
2015-02-09 07:32:41 -08:00
Zach Loafman 2e4a1e910b Change loadClientOrDie to return an error
Also remove a bunch of dead code. This is a step along the path to
getting rid of all the glog in util.go.
2015-02-09 07:14:52 -08:00
Zach Loafman c0d7e58be4 Merge pull request #4243 from zmerlynn/wait_for_pod_timeout
Add a timeout to waitForPodRunning
2015-02-09 07:13:29 -08:00
Zach Loafman 2be3139926 Add a timeout to waitForPodRunning
* Add a timeout, convert the function to return an error (which gives
a reasonable status message for callers).
* Start converting glog to By.
2015-02-09 06:36:53 -08:00
Clayton Coleman 8c1206ca2d NodeController should tolerate when nodes already exist
During startup, if nodes have already been defined the controller
does not need to create them, just needs to keep them up to date.
When defining a static list, the controller would loop and fail
repeatedly if the node existed.

I don't know if we need to update the node during registration,
as long as the sync loop checks it later.
2015-02-08 21:44:08 -05:00
Clayton Coleman 52c6c60b15 Use name from server when displaying create/update
Allows generated names from files to be displayed so users can
interact with them.
2015-02-08 21:40:47 -05:00
Brendan Burns a86f43bf53 rev the version for get-kube.sh 2015-02-06 22:14:58 -08:00
Brendan Burns e7a69504b4 Now that we automatically format GCE PD, remove formatting from the e2e test.
Also remove docs that note that it is necessary.
2015-02-06 20:30:58 -08:00
Tim Hockin 2707bcf10e Fix wrong port on kubernetes service
* Rename a field to make it more obvious.
* Fix some comments and other minor artifacts.

Verified by hitting the service on 443, and by hitting the master on 8080,
6443, and 7080.
2015-02-06 20:23:17 -08:00
Rajat Chopra a9d8713db4 fix e2e services for vagrant 2015-02-06 18:34:27 -08:00
Jeff Lowdermilk c9c98ab19e Merge pull request #4232 from brendandburns/e2e2
Actually use the safeFormatAndMounter...
2015-02-06 17:35:51 -08:00
Zach Loafman afcfe96fc8 Merge pull request #4223 from rrati/e2e-events-4220
E2e events 4220
2015-02-06 17:03:39 -08:00
Brendan Burns cc7279f6a8 Actually use the safeFormatAndMounter... 2015-02-06 17:01:05 -08:00
Zach Loafman e9f74de68d Merge pull request #4230 from brendandburns/e2e2
Fix kube-up.sh for OS X.
2015-02-06 16:51:02 -08:00
Brendan Burns 49a9f8b512 Fix kube-up.sh for OS X. 2015-02-06 16:35:39 -08:00
Jeff Lowdermilk 59b6660c5e Merge pull request #4227 from a-robinson/metrics
Add Godeps for the Prometheus monitoring client library and its dependencies
2015-02-06 16:15:01 -08:00
Brian Grant a8964c58c9 Merge pull request #4130 from ddysher/node-lifecycle
Populate node status transition timestamp and reason
2015-02-06 16:05:36 -08:00
Deyuan Deng 08721e0a00 Populate node statu transition timestamp and reason 2015-02-06 18:42:41 -05:00
Jeff Lowdermilk 172b2d0fb2 Merge pull request #4229 from zmerlynn/gingko_flags
Turn on color, turn on EmitSpecProgress
2015-02-06 15:37:00 -08:00
Jeff Lowdermilk 45fc7fe4ac Merge pull request #4219 from derekwaynecarr/new_test_case
Improve test case on resource defaults sample plugin
2015-02-06 15:34:05 -08:00
Tim Hockin e89a4ef33f Merge pull request #4151 from brendandburns/fixer
Adjust replication controller validation to be more flexible. Fix docs.
2015-02-06 15:26:13 -08:00
Zach Loafman 845605458a Turn on color, turn on EmitSpecProgress 2015-02-06 15:24:32 -08:00
Brendan Burns 31ce2a9411 Adjust replication controller validation to be more flexible about
read/write volumes.
Update docs to reflect reality as it is implemented.
2015-02-06 14:58:21 -08:00
Zach Loafman b77abb5945 Merge pull request #4221 from brendandburns/pd_fix
Make gce_safe_format_and_mount actually work correctly.
2015-02-06 14:50:20 -08:00
Zach Loafman ae6f81e24a Merge pull request #4226 from filbranden/e2e_standalone_scripts2
Turn the hack/e2e.go commands into standalone scripts.
2015-02-06 14:39:12 -08:00
Filipe Brandenburger 162d7a00b3 Fix hack/e2e.go --ctl output
Export the KUBE_CONFIG_FILE environment variable pointing to the test
output when calling cluster/kubectl.sh directly.

Tested by running:
$ go run ./hack/e2e.go -v -ctl='version --match-server-version=false'
2015-02-06 14:36:35 -08:00
Filipe Brandenburger e63ccfff6c Reintroduce "Turn the hack/e2e.go commands into standalone scripts."
This reverts commit 2765660101,
which reverted a commit 0c7dce77dd, so
we're reintroducing the same code from that commit here.
2015-02-06 14:35:43 -08:00
Alex Robinson 21f9b83d91 Add Godeps for the Prometheus monitoring client library and its dependencies.
See issue #1625 for discussion.
2015-02-06 22:21:56 +00:00
Zach Loafman cf39838830 Merge pull request #4224 from GoogleCloudPlatform/revert-4198-e2e_standalone_scripts
Revert "Turn the hack/e2e.go commands into standalone scripts."
2015-02-06 14:13:23 -08:00
Zach Loafman 2765660101 Revert "Turn the hack/e2e.go commands into standalone scripts." 2015-02-06 14:13:00 -08:00
Dawn Chen 8f69192be4 Merge pull request #4222 from brendandburns/status
Add some more verbose logging around pod status.
2015-02-06 13:06:12 -08:00
Robert Rati 5013375242 Converted TestKubeletSendsEvent to native ginkgo syntax #4220 2015-02-06 15:54:17 -05:00
Jeff Lowdermilk 30d5a4aac2 Merge pull request #4209 from alanwill/aws-doc-update
Updated for relevancy with the latest release and added more supporting ...
2015-02-06 12:47:01 -08:00
Brendan Burns b527b8a9ef Add some more verbose logging around pod status. 2015-02-06 12:42:17 -08:00
Brendan Burns 3d6c9fc9e8 Fix gce_pd to only use safe_format_and_mount when mounting block devices. 2015-02-06 12:41:21 -08:00
Jeff Lowdermilk 9c7817577b Merge pull request #4200 from brendandburns/race
Add some locking to prevent go data race logic from tripping.
2015-02-06 12:29:56 -08:00
Zach Loafman fc06acdd2b Merge pull request #4198 from filbranden/e2e_standalone_scripts
Turn the hack/e2e.go commands into standalone scripts.
2015-02-06 12:24:48 -08:00
Jeff Lowdermilk b5cf392a00 Merge pull request #4199 from proppy/git-sync
contrib/git-sync: fix demo and doc
2015-02-06 12:20:16 -08:00
Robert Rati cfe96c08b9 Moved kubelet_sends_events to create new events test suite #4220 2015-02-06 15:20:14 -05:00
Zach Loafman 615b1ab605 Merge pull request #4211 from rrati/e2e-networking-4179
E2e networking 4179
2015-02-06 11:26:23 -08:00
Filipe Brandenburger 0c7dce77dd Turn the hack/e2e.go commands into standalone scripts.
This gets rid of bashWrap() and of running bash -s passing it a script
on stdin. Also get rid of most of the runBash*() helpers.

In particular, `go run hack/e2e.go -build` will now work when it needs
to ask whether it is OK to download a large docker image, it used to
fail since stdin was not available for the bash script using the `read`
command.

Tested by running a full `hack/e2e-test.sh` run including the build
stage without the docker image loaded, which used to fail before this
change.
2015-02-06 11:18:14 -08:00
Robert Rati 1be4ab2aaa Moved TestImportantURLs to the networking suite #4179 2015-02-06 14:09:48 -05:00
Robert Rati d75d36f3d3 Ported TestImportantURLs to native ginkgo syntax #4179 2015-02-06 14:09:48 -05:00
Robert Rati a1dcec8a1c Ported TestNetwork to native ginkgo syntax #4179 2015-02-06 14:09:46 -05:00
derekwaynecarr 409abdc745 Improve test casing on resource defaults sample plugin 2015-02-06 13:50:09 -05:00
Brendan Burns 35fa143b29 Revert "Revert "Start using GCE safe format and mount for mounting disks.""
This reverts commit 858a85e8fe.
2015-02-06 10:09:00 -08:00
Brendan Burns 94d852e8a6 Merge pull request #4214 from brendandburns/pd_fix
Revert "Start using GCE safe format and mount for mounting disks."
2015-02-06 09:58:51 -08:00