kubernetes/cluster
Kubernetes Submit Queue 95b4312899
Merge pull request #55466 from x13n/addon-manager
Automatic merge from submit-queue. If you want to cherry-pick this change to another branch, please follow the instructions <a href="https://github.com/kubernetes/community/blob/master/contributors/devel/cherry-picks.md">here</a>.

Use results of kube-controller-manager leader election in addon manager

**What this PR does / why we need it**:
This adds leader election-like mechanism to addon manager. Currently, in a multi-master setup, upgrading one master will trigger a fight between addon managers on different masters, each forcing its own versions of addons. This leads to pod unavailability until all masters are upgraded to new version.

To avoid implementing leader election in bash, results of leader election in kube-controller-manager are used. Long term, addon manager probably should be rewritten in a real prgramming language (probably Go), and then, real leader election should be implemented there.

**Which issue(s) this PR fixes** *(optional, in `fixes #<issue number>(, fixes #<issue_number>, ...)` format, will close the issue(s) when PR gets merged)*:
I don't think there was an issue for this specifically, but this PR is related to https://github.com/kubernetes/kubernetes/issues/473

**Special notes for your reviewer**:

**Release note**:
```release-note
Addon manager supports HA masters.
```
2017-11-14 11:26:31 -08:00
..
addons Merge pull request #55466 from x13n/addon-manager 2017-11-14 11:26:31 -08:00
aws hack/cluster: consolidate cluster/ utils to hack/lib/util.sh 2017-03-30 22:34:46 -05:00
centos Merge pull request #54356 from zouyee/centos-1 2017-10-24 19:02:25 -07:00
gce Merge pull request #55509 from tallclair/psp-addons 2017-11-14 03:03:30 -08:00
images Merge pull request #54250 from ixdy/debian-hyperkube-base-ssh 2017-10-27 14:38:23 -07:00
juju Add extra-args configs to kubernetes-worker charm 2017-11-08 12:49:37 -06:00
kubemark Merge pull request #53974 from shyamjvs/auto-calculate-kubemark-disk 2017-10-16 07:35:32 -07:00
kubernetes-anywhere Fix log collection for kubeadm-gce tests 2017-10-26 07:57:42 -04:00
lib Remove kubectl's dependence on schema file in pkg/api/validation. 2017-08-16 16:38:28 -07:00
libvirt-coreos fix kubemark, juju, and libvirt-coreos README.md (from minion to node) 2017-10-10 06:45:15 +00:00
local Merge pull request #28469 from asalkeld/local-e2e 2016-09-11 05:44:47 -07:00
log-dump Support collecting log for alternative container runtime in e2e test. 2017-11-10 18:46:48 +00:00
openstack-heat Providing kubeconfig file is now the switch for standalone mode 2017-07-24 11:03:00 -07:00
photon-controller fix typos: remove duplicated word in comments 2017-09-16 14:38:10 +08:00
pre-existing Launch kubemark with an existing Kubemark Master 2017-07-05 09:14:53 -04:00
saltbase Bump Cluster Autoscaler version to 1.1.0-alpha1 2017-11-13 19:00:37 +01:00
skeleton Conditionally run detect-project in log-dump 2017-09-21 13:41:30 +08:00
vagrant Remove all traces of federation 2017-10-26 13:37:37 -07:00
vsphere Update generated for 2017 2017-01-01 23:11:09 -08:00
windows Fixed the issue with log rotation 2016-12-12 11:08:41 -05:00
BUILD Merge pull request #53034 from tallclair/gce-addons 2017-10-31 09:12:55 -07:00
clientbin.sh Add some initial shell parsing tests. 2017-08-31 14:32:01 -07:00
common.sh Merge pull request #55466 from x13n/addon-manager 2017-11-14 11:26:31 -08:00
get-kube-binaries.sh Make get-kube.sh work properly the "ci/latest" pointer 2017-04-05 15:02:10 -07:00
get-kube-local.sh Providing kubeconfig file is now the switch for standalone mode 2017-07-24 11:03:00 -07:00
get-kube.sh remove rackspace related code 2017-09-22 18:06:50 +08:00
kube-down.sh Automatically download missing kube binaries in kube-up/kube-down. 2016-12-13 14:59:13 -08:00
kube-push.sh Automatically download missing kube binaries in kube-up/kube-down. 2016-12-13 14:59:13 -08:00
kube-up.sh add some more deprecation warnings to cluster 2017-07-19 09:43:05 -07:00
kube-util.sh Do not clobber KUBERNETES_PROVIDER - fix kubeadm/gce log collection 2017-10-30 17:33:08 -04:00
kubeadm.sh Refactor the common parts of cluster/kube{ctl,adm}.sh into a util script. 2017-01-26 21:29:49 -08:00
kubectl.sh Fix failing kubectl skew tests 2017-03-08 16:08:47 -03:00
options.md
OWNERS Updated top level owners file to match new format 2017-01-19 11:29:16 -08:00
README.md Update docs/ URLs to point to proper locations 2017-06-05 22:13:54 -07:00
restore-from-backup.sh Fix restore-from-backup.sh script 2017-03-21 11:58:13 +01:00
test-e2e.sh Remove "All rights reserved" from all the headers. 2016-06-29 17:47:36 -07:00
test-network.sh Remove "All rights reserved" from all the headers. 2016-06-29 17:47:36 -07:00
test-smoke.sh Remove "All rights reserved" from all the headers. 2016-06-29 17:47:36 -07:00
update-storage-objects.sh Change RBAC storage version to v1 for 1.9 2017-09-25 10:02:21 -04:00
validate-cluster.sh Switch away from gcloud deprecated flags in compute resource listings 2017-08-30 06:41:09 +01:00

Cluster Configuration

Deprecation Notice: This directory has entered maintenance mode and will not be accepting new providers. Please submit new automation deployments to kube-deploy. Deployments in this directory will continue to be maintained and supported at their current level of support.

The scripts and data in this directory automate creation and configuration of a Kubernetes cluster, including networking, DNS, nodes, and master components.

See the getting-started guides for examples of how to use the scripts.

cloudprovider/config-default.sh contains a set of tweakable definitions/parameters for the cluster.

The heavy lifting of configuring the VMs is done by SaltStack.

Analytics