magnum/magnum/drivers/common/templates/kubernetes/fragments
Feilong Wang 3c72d7b88b Fix race condition issue for k8s multi masters
When creating a multi-master cluster, all master nodes will attempt to
create kubernetes resources in the cluster at this same time, like
coredns, the dashboard, calico etc. This race conditon shouldn't be
a problem when doing declarative calls instead of imperative (kubectl
apply instead of create). However, due to [1], kubectl fails to apply
the changes and the deployemnt scripts fail causing cluster to creation
to fail in the case of Heat SoftwareDeployments. This patch passes the
ResourceGroup index of every master so that resource creation will be
attempted only from the first master node.

[1] https://github.com/kubernetes/kubernetes/issues/44165

Task: 21673
Story: 1775759

Change-Id: I83f78022481aeef945334c37ac6c812bba9791fd
2018-06-14 09:16:32 +12:00
..
add-proxy.sh Make Docker proxy configuration consistent across template 2016-12-20 10:08:42 +01:00
calico-service.sh Fix race condition issue for k8s multi masters 2018-06-14 09:16:32 +12:00
configure-etcd.sh k8s_fedora: Explicitly set etcd authentication 2018-03-29 11:36:26 +00:00
configure-kubernetes-master.sh Merge "k8s_fedora: Add flannel to master nodes" 2018-04-25 10:25:33 +00:00
configure-kubernetes-minion.sh Add calico-node on k8s master node 2018-04-20 16:11:48 +12:00
core-dns-service.sh Fix race condition issue for k8s multi masters 2018-06-14 09:16:32 +12:00
disable-selinux.sh Add bashate checks to pep8 step 2016-12-07 15:25:41 +01:00
enable-cert-api-manager [k8s] allow enabling kubernetes cert manager api 2018-02-15 14:25:48 +00:00
enable-ingress-controller [kubernetes] add ingress controller 2018-02-22 15:54:46 +00:00
enable-ingress-traefik Fix race condition issue for k8s multi masters 2018-06-14 09:16:32 +12:00
enable-node-exporter.sh k8s_fedora: Add container_infra_prefix label 2017-09-22 12:08:07 +02:00
enable-prometheus-monitoring Fix race condition issue for k8s multi masters 2018-06-14 09:16:32 +12:00
enable-services-master.sh Add calico-node on k8s master node 2018-04-20 16:11:48 +12:00
enable-services-minion.sh Launch kube-proxy as a system container 2017-08-22 14:01:43 +02:00
kube-apiserver-to-kubelet-role.sh Fix race condition issue for k8s multi masters 2018-06-14 09:16:32 +12:00
kube-dashboard-service.sh Fix race condition issue for k8s multi masters 2018-06-14 09:16:32 +12:00
make-cert-client.sh k8s_fedora: Add kubelet authentication/authorization 2018-03-26 15:17:57 +00:00
make-cert.sh Add calico-node on k8s master node 2018-04-20 16:11:48 +12:00
network-config-service.sh k8s_fedora: Add flannel to master nodes 2018-04-04 14:13:36 +00:00
network-service.sh Run etcd and flanneld in a system container 2018-02-22 12:30:27 +00:00
start-container-agent.sh Leverage heat-container-agent for monitoring 2017-12-17 16:35:50 +00:00
wc-notify-master.sh Add missing translation for verify_ca 2018-01-04 13:30:49 -08:00
write-heat-params-master.yaml Fix race condition issue for k8s multi masters 2018-06-14 09:16:32 +12:00
write-heat-params.yaml Use Octavia for LoadBalancer type service 2018-05-30 15:36:24 +12:00
write-kube-os-config.sh Use Octavia for LoadBalancer type service 2018-05-30 15:36:24 +12:00
write-network-config.sh Run etcd and flanneld in a system container 2018-02-22 12:30:27 +00:00