kubernetes/pkg/controller
Kubernetes Submit Queue a062782524 Merge pull request #44258 from wlan0/master
Automatic merge from submit-queue (batch tested with PRs 45508, 44258, 44126, 45441, 45320)

cloud initialize node in external cloud controller

@thockin This PR adds support in the `cloud-controller-manager` to initialize nodes (instead of kubelet, which did it previously)

This also adds support in the kubelet to skip node cloud initialization when `--cloud-provider=external`

Specifically,

Kubelet

1. The kubelet has a new flag called `--provider-id` which uniquely identifies a node in an external DB
2. The kubelet sets a node taint - called "ExternalCloudProvider=true:NoSchedule" if cloudprovider == "external"

Cloud-Controller-Manager

1. The cloud-controller-manager listens on "AddNode" events, and then processes nodes that starts with that above taint. It performs the cloud node initialization steps that were previously being done by the kubelet.
2. On addition of node, it figures out the zone, region, instance-type, removes the above taint and updates the node.
3. Then periodically queries the cloudprovider for node addresses (which was previously done by the kubelet) and updates the node if there are new addresses

```release-note
NONE  
```
2017-05-08 16:34:43 -07:00
..
bootstrap bazel 2017-04-27 09:41:53 -07:00
certificates bazel 2017-04-27 09:41:53 -07:00
cloud cloud initialize node in external cloud controller 2017-05-05 16:51:45 -07:00
cronjob Remove misleading error from CronJob controller when it can't find parent UID 2017-04-26 18:57:53 +01:00
daemon Make Daemons tolerate NoExecute taints correctly 2017-05-04 15:25:03 +02:00
deployment Merge pull request #44024 from zhangxiaoyu-zidif/egnew 2017-05-05 23:41:33 -07:00
disruption move pkg/api/v1/ref.go and pkg/api/v1/resource.go to subpackages. move some functions in resource.go to pkg/api/v1/node and pkg/api/v1/pod 2017-04-17 11:38:11 -07:00
endpoint move pkg/api/v1/ref.go and pkg/api/v1/resource.go to subpackages. move some functions in resource.go to pkg/api/v1/node and pkg/api/v1/pod 2017-04-17 11:38:11 -07:00
garbagecollector Merge pull request #42085 from cblecker/gofmt-fix 2017-04-17 15:39:07 -07:00
job Job: Recheck DeletionTimestamp before adoption. 2017-04-19 14:03:36 -07:00
namespace autogenerated 2017-04-14 10:40:57 -07:00
node cloud initialize node in external cloud controller 2017-05-05 16:51:45 -07:00
podautoscaler bazel 2017-04-27 09:41:53 -07:00
podgc autogenerated 2017-04-14 10:40:57 -07:00
replicaset More RC/RS controller logging updates 2017-04-21 08:07:18 -04:00
replication Removed TODO that renaming ReplicationManager. 2017-04-30 19:37:47 +08:00
resourcequota autogenerated 2017-04-14 10:40:57 -07:00
route move pkg/api/v1/ref.go and pkg/api/v1/resource.go to subpackages. move some functions in resource.go to pkg/api/v1/node and pkg/api/v1/pod 2017-04-17 11:38:11 -07:00
service Merge pull request #40060 from justinsb/remove_unused_zone 2017-04-24 23:07:38 -07:00
serviceaccount Wait for controller events in resource conflict test 2017-04-29 22:23:39 -04:00
statefulset stateful_pod_control.go: format the code 2017-04-28 18:16:19 +08:00
ttl autogenerated 2017-04-14 10:40:57 -07:00
volume Use storage.v1 instead of v1beta1 2017-04-25 10:13:38 +02:00
.import-restrictions add import restrictions 2016-10-13 16:10:24 -07:00
BUILD Add unit tests for ClaimPods 2017-04-23 00:29:45 +02:00
client_builder.go fix typos 2017-03-18 22:45:07 +08:00
controller_ref_manager_test.go Skip pods and replica sets marked for deletion 2017-04-23 00:29:48 +02:00
controller_ref_manager.go Skip pods and replica sets marked for deletion 2017-04-23 00:29:48 +02:00
controller_utils_test.go Deployment: filter out old RSes that are deleted or with non-zero replicas before cleanup 2017-02-16 14:48:10 -08:00
controller_utils.go move pkg/api/v1/ref.go and pkg/api/v1/resource.go to subpackages. move some functions in resource.go to pkg/api/v1/node and pkg/api/v1/pod 2017-04-17 11:38:11 -07:00
doc.go Use Go canonical import paths 2016-07-16 13:48:21 -04:00
lookup_cache.go Use fnv.New32a() in hash instead adler32 2017-02-15 14:03:54 +08:00
OWNERS Add janetkuo to approvers for controllers 2017-02-08 14:37:25 -08:00