Commit Graph

7246 Commits (f71a91a1311290cf847c491a8fcecdfd2a014abd)

Author SHA1 Message Date
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
Young 72399a1b24 update the version in document 2015-03-08 12:21:13 +00: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
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
Vishnu Kannan 17446061b0 Turn on "description:" verification for v1beta3 API. 2015-03-06 23:53:35 +00:00
Vishnu Kannan 28aef4ba53 Add json description to v1beta3 API. 2015-03-06 23:53:35 +00: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
Yu-Ju Hong fe70be9261 kubelet: revamp the pod/container naming scheme
There are two main goals for this change.

 1. Fix the naming scheme in kubelet so that it accepts DNS subdomain
    name/namespaces correctly (#4920). The design is discussed in #3453.

 2. Prepare for syncing the static pods back to the apiserver(#4090). This
    includes

  - Eliminate the source component in the internal full pod name (#4922). Pods
    no longer need sources as they will all be sync'd via apiserver.

  - Changing the naming scheme for the static (file-, http-, and etcd-based)
    pods such that they are distinguishable when syncing back to the apiserver.

The changes includes:
  *	name = <pod.Name>-<hostname>
  * namespace = <cluster_namespace> (i.e. "default" for now).
  * container_name = k8s_<contianer_name>.<hash_of_container>_<pod_name>_<namespace>_<uid>_<random>

Note that this is not backward-compatible, meaning the kubelet won't recognize
existing running containers using the old naming scheme.
2015-03-06 13:14:45 -08:00
jayunit100 ef946dac38 Describe how to use publicIPs to access guestbook externally when not using external load balancers 2015-03-06 15:59:43 -05:00
Yu-Ju Hong 32fd331e73 Revert "Split up kubelet "source seen" logic"
We want to sync pods from file/http/etcd sources to the apiserver, hence
differentiating sources is no longer desired.

This reverts commit 110ab6f1bd.
2015-03-06 12:57:48 -08:00
Daniel Smith a8dd10dab7 Merge pull request #4907 from ddysher/kubelet-client-interface
kubelet should take a client interface
2015-03-06 12:32:57 -08:00
Deyuan Deng 50de1a80c2 kubelet should take a client interface 2015-03-06 15:01:55 -05:00
Dawn Chen 2d0743b143 Merge pull request #5019 from yujuhong/reject_pods
kubelet: reject pods on host port conflict
2015-03-06 11:42:04 -08:00
Jeff Lowdermilk 073ecd180e Merge pull request #5140 from satnam6502/waitforpod
Fix formating of time output in waitForPodCondition
2015-03-06 11:40:32 -08:00