Commit Graph

7423 Commits (d6be2985cafb5ebabdef5017af268199cfb0697e)

Author SHA1 Message Date
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
Satnam Singh 2685617a41 Fix formating of time output in waitForPodCondition 2015-03-06 11:25:04 -08:00
Dawn Chen 3835e0e6e6 Merge pull request #4943 from vmarmol/image-manager
Implementing ImageManager to take over image lifecycle.
2015-03-06 11:09:38 -08:00
Victor Marmol 3ae717be97 Merge pull request #5094 from gmarek/client4
Refactor Kubelets syncPod function by wrapping some functionalities into separate functions
2015-03-06 10:58:05 -08:00
Victor Marmol 4f3f073f3c Implementing ImageManager to take over image lifecycle.
All images are tracked, when they were created and when they were last
used. FreeSpace() evicts these images in least recently used order,
breaking ties with oldest first.
2015-03-06 10:48:28 -08:00
Yu-Ju Hong 3ccdb8db98 kubelet: reject pods on host port conflict
When a host port conflict is detected, kubelet should set the pod status to
fail. The failed status will then be polled by other components at a later time,
which allows replication controller to create a new pod if necessary.

To achieve this, this change stores the pod status information in a status map
upon the detecton of port conflict. GetPodStatus() consults this status map
before attempting to query docker. The entries in the status map will be removed
when the pod is no longer associated with the node.
2015-03-06 10:46:49 -08:00
Deyuan Deng 3c460831ca Use FormatInt instead of string for external id. 2015-03-06 13:45:52 -05:00
Derek Carr d99e9f728c Merge pull request #5050 from dchen1107/cleanup
Convert both namespace and limitrange examples to v1beta3
2015-03-06 13:26:23 -05:00
roberthbailey 0d6b57ccdb Merge pull request #5134 from jlowdermilk/e2e
fix Errorf argument mismatch in test/e2e/util.go
2015-03-06 10:21:44 -08:00
Daniel Smith 244766ac89 Merge pull request #5002 from satnam6502/proxy-200
Do not fail status 200 responses to proxy calls
2015-03-06 10:20:07 -08:00
Daniel Smith b0f49449e1 Merge pull request #4985 from thockin/gofuzz
Update gofuzz dep
2015-03-06 10:19:01 -08:00
Victor Marmol f3315b8350 Adding github.com/stretchr/testify/require godep. 2015-03-06 09:50:07 -08:00
Jeff Lowdermilk f7a491958b fix Errorf argument mismatch in test/e2e/util.go 2015-03-06 09:36:37 -08:00
gmarek 4a01a4dbf5 Refactor Kubelets syncPod function by wrapping some functionalities into functions 2015-03-06 18:32:11 +01:00
Tim Hockin ca265c5705 Merge pull request #4898 from gmarek/client2
Loosen label and annotation validation and related tests
2015-03-06 09:14:24 -08:00
Tim Hockin 788d9994a1 Merge pull request #5132 from pmorie/mount-refactor
Fix mount refactor nits
2015-03-06 09:00:01 -08:00
Tim Hockin c2ebad2ac0 Merge pull request #5131 from brendandburns/service
Place external load balancers in a namespace.
2015-03-06 08:49:37 -08:00
Paul Morie 17b51a93a3 Fix mount refactor nits 2015-03-06 11:46:07 -05:00
Tim Hockin f9e2df3a10 Define semantic equal for time 2015-03-06 08:21:39 -08:00
Tim Hockin 0b38282b9b Fuzz util.Time with no nsec because JSON 2015-03-06 08:21:10 -08:00
Tim Hockin b3304c49ad Use deep spew in serialization test & go obj diff 2015-03-06 08:21:10 -08:00
Tim Hockin cee14ab51b Update gofuzz dep 2015-03-06 08:21:10 -08:00
Brendan Burns 5b6a78fc77 Place external load balancers in a namespace, and add a test to validate the behavior. 2015-03-06 17:16:27 +01:00
Brendan Burns 2700871b04 Merge pull request #5013 from smarterclayton/misc_fixup
Small cleanups to a number of client behaviors
2015-03-06 15:41:34 +01:00
Brendan Burns de669b5435 Merge pull request #5058 from bprashanth/resourceVersion_doc
Clarify resourceVersion documentation
2015-03-06 15:41:12 +01:00
Brendan Burns ea7c54e4c3 Merge pull request #5071 from jlowdermilk/docs
Add documentation on legacy kubernetes_auth file to kubeconfig-file.md
2015-03-06 15:40:56 +01:00