Commit Graph

7423 Commits (d6be2985cafb5ebabdef5017af268199cfb0697e)

Author SHA1 Message Date
Clayton Coleman 227a1d306d Support SubResource call on Request
Allows better semantic use of Request when dealing with sub resources,
and allows clients to ignore ordering.  Supports multiple segments because
sub-resources are less tightly structured than regular resources.
2015-03-09 14:39:31 -04:00
Clayton Coleman 4b16a87096 Simplify api_installer and setup methods 2015-03-09 14:39:31 -04:00
Clayton Coleman 42ff28c1a2 Merge pull request #5150 from vishh/issue_3628_1
Add json description to v1beta3 API.
2015-03-09 14:38:23 -04:00
Clayton Coleman 1256d9b194 Merge pull request #2863 from pweil-/autoscaler-proposal
WIP: auto-scaler proposal
2015-03-09 14:37:58 -04:00
Victor Marmol e187be9fe1 Merge pull request #5143 from vmarmol/cadvisor-pkg
Refactoring Kubelet's cAdvisor interface into a package.
2015-03-09 11:36:03 -07:00
Eric Tune d9e89ca995 Kube-proxy to use apiserver instead of etcd. 2015-03-09 11:32:16 -07:00
Piotr Szczesniak 7c234d22ee Merge pull request #5177 from roberthbailey/guestbook-teardown
Always stop the guestbook example regardless of how the tests finishes.
2015-03-09 19:22:15 +01:00
Victor Marmol ab3c9de34b Refactoring cAdvisor interface into a package.
This will make it easier to start running the real cAdvisor alongside
Kubelet. This change is primarily no-op refactoring. The main behavioral
change is that we always create a cAdvisor interface and expect it to
always be available. When we make a request, if cAdvisor is not
connected the request fails with a connection error. This failure is
handled today as well.
2015-03-09 11:19:05 -07:00
Alex Mohr d98485242e Merge pull request #4780 from jdef/bug_4757
add unit test for #4757
2015-03-09 11:13:53 -07:00
Alex Mohr ee276b26cb Merge pull request #5124 from MikeJeffrey/ex3
Deleting old sample JSON; moving those in use; updating references
2015-03-09 10:58:44 -07:00
Alex Mohr 71da06b9a6 Merge pull request #5083 from quinton-hoole/2015-03-04-add-github-flow-docs
Add documentation about the Kubernetes Github Flow.
2015-03-09 10:57:55 -07:00
Jeff Lowdermilk b650e481a7 Merge pull request #5160 from brendandburns/service
Fix coverage testing to work on OS X, where xargs is different.
2015-03-09 10:18:46 -07:00
Alex Robinson f4e5e01172 Merge pull request #5173 from you-n-g/simple_typo
simple typo
2015-03-09 10:18:25 -07:00
Eric Tune 85c7ced8d3 Merge pull request #5089 from thockin/docs2
Add a better networking doc
2015-03-09 10:17:04 -07:00
Rohit Jnagal 8798b0ae14 Merge pull request #5158 from thockin/use_fuzz_no_custom
Use new gofuzz features
2015-03-09 10:13:46 -07:00
Rohit Jnagal 77546692a7 Merge pull request #5187 from vmarmol/wait-docker
Kubelet: wait up to 5m for Docker to come up.
2015-03-09 10:09:09 -07:00
Victor Marmol ca84aae454 Kubelet: wait up to 5m for Docker to come up.
The Kubelet assumes Docker is running during its execution and on
machine boot it is a race between Docker coming up and Kubelet calling
Docker. This PR waits for Docker to be up before the Kubelet begins
doing useful work. On timeout, Kubelet exits and expects to be
restarted.
2015-03-09 09:50:34 -07:00
markturansky bfe719d90d Edited to reflect that PVs have no namespace 2015-03-09 12:21:54 -04:00
Clayton Coleman d016f478e0 Ignore changes to creation timestamp from clients on update
CreationTimestamp is not an authoritative field (like UID) so mismatches
can be safely ignored.
2015-03-09 12:04:35 -04:00
Justin Santa Barbara 7816abfd39 Add dependency on ELB functionality of goamz 2015-03-09 08:57:51 -07:00
Victor Marmol 02590e9a86 Merge pull request #5174 from smarterclayton/lowercase_hostname
Kubelet tests broken on Macs with uppercase names
2015-03-09 08:46:01 -07:00
James DeFelice bf02d17244 rebased to master 2015-03-09 14:08:11 +00:00
James DeFelice 4943fe937b implemented nil err checks, cc @yujuhong @davidopp 2015-03-09 14:06:27 +00:00
James DeFelice e5350d61a8 added comment suggested by @davidopp 2015-03-09 14:06:27 +00:00
James DeFelice 436790ccd1 add unit test for #4757
fixed compilation error
2015-03-09 14:06:27 +00:00
roberthbailey ee1e40d4bc Merge pull request #5179 from you-n-g/simple_typo2
simple typo
2015-03-09 15:05:38 +01:00
Young d3725153bc simple typo 2015-03-09 13:38:41 +00:00
Robert Bailey 451727aa19 Always stop the guestbook example regardless of how the tests finishes. This
should more reliably clean up the external load balancer.
2015-03-09 11:46:50 +01:00
Tim Hockin 0b888e8673 Make testing service validation easier
Part of multi-port services.

If people like this, we could start to apply this pattern elsewhere.

TL;DR: don't redefine objects over and over changing one thing each
time.  Instead provide a func that mutates a base object to test facets
of validation.  Much easier to read and to update.
2015-03-08 21:41:37 -07:00
Clayton Coleman 0f87337667 Kubelet tests broken on Macs with uppercase names
Hostname behavior across operating systems is inconsistent (Macs can
have uppercase host names, so can some other systems).  In general,
always strings.ToLower(os.Hostname()).
2015-03-08 23:44:32 -04:00
Young 8bb4a4b439 simple typo 2015-03-08 15:38:21 +00:00
Young 72399a1b24 update the version in document 2015-03-08 12:21:13 +00:00
Robert Bailey a32f024029 Remove the host port from the replication controller e2e test. 2015-03-07 19:48:00 -08:00
Brendan Burns 7c654a3d1b Expand test coverage in master, kubectl/cmd/util, pkg/registry/resourcequota, and api/rest. 2015-03-07 15:24:39 -08:00
Brendan Burns f505a33998 Differentiate between server error messages and client error messages in kubectl 2015-03-07 11:39:23 +01:00
Brendan Burns 2b7ae7fcd4 Fix coverage testing to work on OS X, where xargs is different. 2015-03-07 11:01:41 +01:00
Tim Hockin fd1e49ce2f Use new gofuzz features 2015-03-07 00:04:14 -08:00
Vish Kannan 53ec66caf4 Merge pull request #5152 from vmarmol/cadvisor-dep
Rename cAdvisor info API to cadvisorApi
2015-03-06 18:09:28 -08:00
Victor Marmol 1866adddd3 Merge pull request #5157 from yifan-gu/clean_prober
Adjust prober's logging verbose.
2015-03-06 18:04:12 -08:00
Yifan Gu da5d7c7814 Adjust prober's logging. 2015-03-06 17:30:29 -08:00
MikeJeffrey 4da6d413be Deleting old sample JSON; moving those in use; updating references 2015-03-06 17:24:45 -08:00
Victor Marmol 798513844c Merge pull request #5148 from yifan-gu/clean_prober
Refactor pkg/kubelet/kubelet.go: probeContainer().
2015-03-06 17:04:57 -08:00
Yifan Gu 276fb1731c Refactor pkg/kubelet/kubelet.go: probeContainer().
Put the retry loop in probe.go into a function.
2015-03-06 16:57:20 -08:00
Jeff Lowdermilk 8ab723404f Include seconds waited in e2e/kubectl.go timeout message. 2015-03-06 16:54:16 -08:00
Tim Hockin 8c843d638c Add a better networking doc 2015-03-06 16:48:56 -08:00
Yifan Gu 131e8a0e35 Refactor pkg/kubelet/kubelet.go: probeContainer().
Update the probe_test.go.
2015-03-06 16:38:09 -08:00
Yifan Gu 09af0cd3b5 Refactor pkg/kubelet/kubelet.go: probeContainer().
Split the function into probeContainerLiveness() and probeContainerReadiness().
2015-03-06 16:37:58 -08:00
Abhishek Gupta baa61fa157 Adding test cases for namespace checks 2015-03-06 16:31:15 -08:00
Abhishek Gupta 5ce4558955 Using only pods within the namespace for spreading logic 2015-03-06 16:31:15 -08:00
Victor Marmol 43b469bd9f Rename cAdvisor info API to cadvisorApi 2015-03-06 16:06:38 -08:00