Commit Graph

7097 Commits

Author SHA1 Message Date
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
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
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
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
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
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
Victor Marmol
43b469bd9f Rename cAdvisor info API to cadvisorApi 2015-03-06 16:06:38 -08:00
Dawn Chen
b71fc76ec4 Merge pull request #5146 from yujuhong/k8s
Fix typos in docs/man/README.md
2015-03-06 16:04:26 -08:00
Dawn Chen
9439c0f3bd Merge pull request #5103 from yujuhong/naming
kubelet: revamp the pod/container naming scheme
2015-03-06 15:58:58 -08:00
Vish Kannan
9e5c79a587 Merge pull request #5151 from vmarmol/cadvisor-dep
Update cAdvisor godep
2015-03-06 15:56:48 -08:00
Victor Marmol
a35f4374c5 Update cAdvisor ContainerInfo references to v1 API.
The cAdvisor data structures were versioned recently. We use the v1
versions so this commit makes that explicit.
2015-03-06 15:42:06 -08:00
Victor Marmol
7e97d22e91 Update cAdvisor dependency and remove perigee.
Perigee dependency is unused.
2015-03-06 15:41:20 -08:00
Daniel Smith
05ea93f985 Merge pull request #5147 from a-robinson/func
Re-add the defer statements around the monitor() calls in the apiserver.
2015-03-06 15:31:45 -08:00
Alex Robinson
60f0e9d673 Fix the broken calls to the monitor() by having it take arguments as pointers.
This is needed for the changes to various labels from later in the function
to be picked up.
2015-03-06 23:16:44 +00:00
Brian Grant
a858c7423e Merge pull request #5070 from vishh/issue_3628
Adding description to some of the v1beta3 objects.
2015-03-06 14:49:11 -08:00
Brian Grant
f557837d43 Merge pull request #5066 from vmarmol/man
Adding links to relevant docs from API types.
2015-03-06 14:46:43 -08:00
Filipe Brandenburger
9ed827fb73 Merge pull request #5145 from dchen1107/containervm
Upgrade to latest containervm image: v20150305
2015-03-06 14:31:42 -08:00
Eric Tune
c12303eaa3 Merge pull request #4749 from derekwaynecarr/make_quota_more_efficient
Make admission control plug-ins work from indexes
2015-03-06 14:11:12 -08:00
Tim Hockin
0682e15814 Merge pull request #5096 from markturansky/pv_proposal
WIP: Persistent storage proposal
2015-03-06 14:02:43 -08:00
Yu-Ju Hong
748bebe46f Fix typos in docs/man/README.md 2015-03-06 14:01:26 -08:00
Dawn Chen
38178299bb Upgrade to latest containervm image: v20150305 2015-03-06 13:54:33 -08:00
Vishnu Kannan
bd83093b0b Adding description to some of the v1beta3 objects. 2015-03-06 21:50:50 +00:00
Eric Tune
b259640a5f Merge pull request #5072 from justinsb/fix_aws_test
Fix the logic around the AWS instance test
2015-03-06 13:49:41 -08:00