Commit Graph

5957 Commits

Author SHA1 Message Date
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
Kennan
222c714cf6 Check curl before use it
This check can help user figure out what's the issue during
local cluster setup
2015-02-05 16:31:07 +08: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
Brian Grant
5d2ea04bc2 Merge pull request #4133 from ddysher/0-fix-0
Use replication controller for redis master.
2015-02-04 15:54:12 -08:00
Jerzy Szczepkowski
0010e02148 Fixed formatting. 2015-02-05 00:52:34 +01:00
Brian Grant
849596c4a9 Merge pull request #4134 from nikhiljindal/swagger-ui
Updating swagger-ui code to the latest version and removing the 'Try it out' buttons
2015-02-04 15:51:32 -08:00
Yu-Ju Hong
283919e8b1 Fix tests in validation_test
Some tests expect the error cases to fail for a specific reason, but they could
fail for other reasons and still pass. This caused some changes to break the
tests without noticing the breakage. Example are the recent defaulting PR

This change fixes such tests and also updates some obsolete tests.
2015-02-04 15:44:46 -08:00
Jerzy Szczepkowski
ad4c2ee630 Improve "constraint violation" error message. 2015-02-05 00:29:28 +01:00
Deyuan Deng
f406a57c2c Use replication controller for redis master. 2015-02-04 18:23:36 -05:00
Nikhil Jindal
63c07ad58b Merge pull request #4129 from smarterclayton/add_user_agent
Add user agent string to all client requests
2015-02-04 15:05:31 -08:00
nikhiljindal
6684d962df Updating swagger-ui code to the latest version and removing the 'Try it out' buttons 2015-02-04 15:01:18 -08:00
Satnam Singh
9ec61ce355 Merge pull request #4004 from filbranden/e2e_podsvcenv_remove_embedded_json
Use api.Pod and api.Service objects instead of JSON snippets
2015-02-04 14:49:24 -08:00
Clayton Coleman
449f9d915e Make hack/local-up-cluster.sh work again for etcd 2 2015-02-04 17:45:53 -05:00
Clayton Coleman
0307d7ba98 Set a default user agent on all client.Client calls
Form:
  kube-controller-manager/v0.10.0 (linux/amd64) kubernetes/550b98e

  <basename(os.Argv)>/<gitVersion> (<GOOS>/<GOARCH>) kubernetes/<shortGitCommit>

Can be set by other clients
2015-02-04 17:45:53 -05:00
Brendan Burns
6e897524be Merge pull request #4093 from nelcy/master
Fix orphaned pod & volume cleanup order. Volumes need to be unmounted before pod cleanup.
2015-02-04 14:38:20 -08:00
Alex Robinson
6bb374ca54 Add a few extra test cases for API validation of labels that would have
caught a bug that was in past versions. Also, copy the label key format
requirements from the API types.go comments into the labels doc.
2015-02-04 22:24:46 +00:00
Tim Hockin
e6e67e2662 Merge pull request #4124 from brendandburns/e2e2
Fix service generation and add tests I should have included in the first place.
2015-02-04 12:52:51 -08:00
Brendan Burns
550b98ebf4 Merge pull request #3931 from deads2k/deads-pull-more-info-from-request
pull more complete information from request
2015-02-04 12:23:20 -08:00
Brendan Burns
fa6ddf13e5 Fix service generation and add tests I should have included in the first place. 2015-02-04 12:14:53 -08:00
Paul Morie
3229a634a0 Clarify commenting in endpoints_controller 2015-02-04 15:14:05 -05:00
Wojciech Tyczynski
ead67108ce Use existing method to get Docker version. 2015-02-04 20:50:21 +01:00
Brian Grant
3f28badae3 Merge pull request #3854 from yujuhong/defaults
Migrate API defaulting to a centralized location
2015-02-04 11:41:23 -08:00
Tim Hockin
d8dfea6ec7 Merge pull request #4123 from proppy/patch-1
contrib/podex: update README
2015-02-04 11:37:54 -08:00
Johan Euphrosine
787fdf3592 README: shorter filename 2015-02-04 11:31:54 -08:00
Johan Euphrosine
83638fdcf3 contrib/podex: update README
update usage
2015-02-04 11:25:20 -08:00