Commit Graph

5879 Commits (a84e94574fa96dcae99547425468d8d33e8243fa)

Author SHA1 Message Date
Zach Loafman 49a1984e98 Breakfix for #4177, not a real solution 2015-02-05 11:24:45 -08:00
Brendan Burns 6d0b8ea7a7 Fix a regression where we never cleared out failed nodes. 2015-02-05 10:55:57 -08:00
Jeff Lowdermilk 5a702ad123 Allow --output formatting of kubectl config view, make merge default 2015-02-05 10:44:16 -08:00
Wojciech Tyczynski 9d9bca9958 kubectl doesn't fail silently with no k8s master 2015-02-05 19:37:20 +01:00
CJ Cullen 3a16a9c39e Merge pull request #4161 from pierredup/patch-1
Typo
2015-02-05 10:36:08 -08:00
Zach Loafman f904484b38 Merge pull request #4173 from zmerlynn/fix_jenkins_3
Revert jenkins/e2e.sh back to 606b517a, minus -tap
2015-02-05 10:30:00 -08:00
Zach Loafman c15595fdf7 Revert jenkins/e2e.sh back to 606b517a, minus -tap 2015-02-05 10:25:59 -08:00
Robert Rati 70237e9cc6 Changed to return in the success case testing testContext instead of using
an else statement.  #4162
2015-02-05 13:09:46 -05:00
Brendan Burns 8b25b43039 Merge pull request #4117 from wojtek-t/validate_docker_version
Check Docker version in Kubelet /healthz handler
2015-02-05 10:06:33 -08:00
Zach Loafman 253752d830 Merge pull request #4171 from zmerlynn/fix_jenkins_2
Add more logging
2015-02-05 10:02:35 -08:00
Zach Loafman dad85ef4f1 Add more logging 2015-02-05 10:01:45 -08:00
Jeff Lowdermilk d46ae5d841 Refactor kubectl/cmd helpers into pkg/kubectl/cmd/util
Allows helpers to be used by config commands.
2015-02-05 09:39:42 -08:00
Mike Schiller 3efb4527f4 inserted mising = in kube-apiserver's portal_net parameter that prevented the kube-apiserver from starting 2015-02-05 12:27:41 -05:00
Zach Loafman afeaf8fc6f Merge pull request #4168 from zmerlynn/fix_jenkins
Fix jenkins/hack/e2e.sh, log errors better
2015-02-05 09:17:50 -08:00
Zach Loafman 0b456e40bf Fix jenkins/hack/e2e.sh, log errors better 2015-02-05 09:16:11 -08:00
Eric Paris 4b309aa864 Do not use {} in systemd environment variables
From the systemd man page:
 Use "${FOO}" as part of a word, or as a word of its own, on the command
 line, in which case it will be
 replaced by the value of the environment variable including
 all whitespace it contains, resulting in a single argument.
 Use "$FOO" as a separate word on the
 command line, in which case it will be replaced
 by the value of the environment variable split at
 whitespace, resulting in zero or more arguments.

Since we want people to be able to use these for multiple arguments we
need to make sure we don't use {} around the env vars...
2015-02-05 11:36:55 -05:00
Filipe Brandenburger 827dcbc623 Merge pull request #4145 from zmerlynn/contort_shell_under_go_tests
Pervert e2e shell tests to run under Ginkgo
2015-02-05 08:30:41 -08:00
Zach Loafman 2f33c06c21 Remove cluster/test-network.sh
To fix this, it would be an alias for:

  hack/ginkgo-e2e.sh -t TestNetwork

... which may not work on binary distributions, because it's relying
on test assets, so it probably shouldn't live in cluster/ ...
2015-02-05 08:14:39 -08:00
Zach Loafman f21a25e7fc Add hack/ginkgo-e2e.sh to kubernetes-test.tgz 2015-02-05 08:06:50 -08:00
Zach Loafman bace7593d0 Enable ginkgo.v (console output is missing spec without it) 2015-02-05 07:24:05 -08:00
Zach Loafman 688f96cd33 Run shell tests under Ginkgo, changing all reporting to JUnit
* Add a test/e2e/shell.go that slurps up everything in hack/e2e-suite
and runs it as a bash test, borrowing all the code from hack/e2e.go.

* Rip out all the crap in hack/e2e.go that deal with multiple tests

* Move hack/e2e-suite/goe2e.sh to hack/ginkgo-e2e.sh so that it
doesn't get slurped up.
2015-02-05 07:24:05 -08:00
Robert Rati d3e04cd246 Moved the ROService test into the services suite #4162 2015-02-05 10:23:48 -05:00
Robert Rati eefd7ace56 Converted TestKubernetesROService to native ginkgo syntax #4162 2015-02-05 10:23:48 -05:00
Robert Rati d44c1d5b84 Converted TestClusterDNS to native ginkgo syntax #4162 2015-02-05 10:23:46 -05:00
Brian Grant bb6b332a8b Merge pull request #3099 from proppy/git-sync
contrib: add git-sync container
2015-02-05 07:10:24 -08:00
Brian Grant 50b1034b6c Merge pull request #4122 from pmorie/comment
Clarify commenting in endpoints_controller
2015-02-05 07:09:56 -08:00
Brian Grant 2c9e620d43 Merge pull request #4102 from brendandburns/rc
Make the replication controller more resilient to event expiration in watch.
2015-02-05 07:08:35 -08:00
Brian Grant 42fec8ec4e Merge pull request #4110 from jimmidyson/proxy-tweaks
kubectl proxy: make static prefix configurable
2015-02-05 07:08:07 -08:00
Robert Rati de848cc3f0 Moved cluster_dns to create the new service test suite #4162 2015-02-05 10:07:32 -05:00
Brian Grant 251348122c Merge pull request #4136 from yujuhong/fixvalidationtests
Fix tests in validation_test
2015-02-05 07:07:16 -08:00
Brian Grant 4e0ef6fda4 Merge pull request #4150 from nikhiljindal/cleanOperationAPI
Deleting the API objects related to /operations
2015-02-05 07:07:02 -08:00
Brian Grant 9f377b196e Merge pull request #4154 from brendandburns/docs
Remove kubecfg from all getting started docs.
2015-02-05 07:06:48 -08:00
Zach Loafman bb8f35ce17 Merge pull request #4156 from filbranden/e2e_standalone_scripts
Make e2e shell tests work standalone
2015-02-05 07:02:25 -08:00
George Kuan e8c33b7916 Add timeouts to HealthChecks and retry checks
Fixes issue #3532. Added timeouts for HTTP and TCP checks
and enabled kubelet/probe to kubelet#maxRetries times
before declaring Failure.

Added Probe.TimeoutSecs to API

Probe variants now check container.LivenessProbe.TimeoutSeconds
Also added a test for timeouts in http_test.go.
2015-02-05 06:04:45 -08:00
Pierre du Plessis 8ded7be5fb Typo 2015-02-05 15:10:32 +02:00
Filipe Brandenburger 7bb62cbfb3 Make e2e shell tests work standalone
Simply incorporate some of the boilerplate from hack/e2e.go into the
scripts in hack/e2e-suite.

Use environment variables with default values to allow overrides in
kubectl command line and to use a versioned package root.

Tested:
- Ran `go run hack/e2e.go -test` on a test cluster.
- Ran the test cases individually.
- Ran hack/e2e-suite/goe2e.sh -t Pods to confirm it takes arguments.
- Also fixed cluster/test-network.sh (which should be more and more irrelevant.)
2015-02-05 00:22:16 -08:00
saadali a41f520bf0 Add "Update Event" to Kubernetes API 2015-02-05 00:07:51 -08:00
Brendan Burns 93776b1363 Remove kubecfg from all getting started docs. 2015-02-04 23:20:11 -08:00
Brendan Burns 30f91b0ab7 Add a simple endpoints test. 2015-02-04 22:51:36 -08:00
nikhiljindal 19f7ecf31b Deleting the API objects related to /operations 2015-02-04 20:50:45 -08:00
Brian Grant 5de2e916e5 Merge pull request #4148 from nikhiljindal/swagger
Adding swagger files which got left out of last PR
2015-02-04 18:43:26 -08:00
nikhiljindal 68271eb689 Adding swagger files which got left out of last PR 2015-02-04 18:28:13 -08:00
Wojciech Tyczynski 1a3419f970 Fix the min allowed Docker version. 2015-02-05 02:34:04 +01:00
Tim Hockin 5fb9009f89 Merge pull request #4076 from brendandburns/fixer
Wait until containers actually finish running before trying to clean up
2015-02-04 17:31:40 -08:00
Brendan Burns cfe5b14114 Wait until containers actually finish running before trying to clean up
volumes or pods.
2015-02-04 17:28:41 -08:00
Wojciech Tyczynski 524cdba101 Fix hack/test-cmd.sh test. 2015-02-05 01:58:26 +01:00
Satnam Singh 6c814c4af4 Merge pull request #4139 from filbranden/e2e_liveness_namespace
Use a custom namespace for running liveness e2e test cases.
2015-02-04 16:16:32 -08:00
Filipe Brandenburger bf0977396f Merge pull request #4137 from satnam6502/kubeup
Report the found minions during validation of cluster
2015-02-04 16:06:55 -08:00
Filipe Brandenburger e9591382a7 Use a custom namespace for running liveness e2e test cases.
This will allow us greated isolation between test case runs without the
need to include randomized uuids to many of the fields in the pods,
services and rcs creation requests.

Tested:
- Ran two instances of `e2e -t TestLivenessHttp -t TestLivenessExec`
  simultaneously and confirmed that pod names did not clash and that
  both of them completed successfully.
2015-02-04 16:05:54 -08:00
Satnam Singh 5691b535eb Report the found minions during validation of cluster 2015-02-04 15:58:04 -08:00