c12s-kubespray/roles/kubernetes/master/tasks
Etienne Champetier a35b6dc1af
Fix scaling (#5889)
* etcd: etcd-events doesn't depend on etcd_cluster_setup

Signed-off-by: Etienne Champetier <champetier.etienne@gmail.com>

* etcd: remove condition already present on include_tasks

Signed-off-by: Etienne Champetier <champetier.etienne@gmail.com>

* etcd: fix scaling up

Signed-off-by: Etienne Champetier <champetier.etienne@gmail.com>

* etcd: use *access_addresses, do not delegate to etcd[0]

We want to wait for the full cluster to be healthy,
so use all the cluster addresses
Also we should be able to run the playbook when etcd[0] is down
(not tested), so do not delegate to etcd[0]

Signed-off-by: Etienne Champetier <champetier.etienne@gmail.com>

* etcd: use failed_when for health check

unhealthy cluster is expected on first run, so use failed_when
instead of ignore_errors to remove scary red messages

Also use run_once

Signed-off-by: Etienne Champetier <champetier.etienne@gmail.com>

* kubernetes/preinstall: ensure ansible_fqdn is up to date after changing /etc/hosts

Signed-off-by: Etienne Champetier <champetier.etienne@gmail.com>

* kubernetes/master: regenerate apiserver cert if needed

Signed-off-by: Etienne Champetier <champetier.etienne@gmail.com>
2020-04-08 01:27:43 -07:00
..
encrypt-at-rest.yml ansible-lint: add spaces around variables [E206] (#4699) 2019-05-02 14:24:21 -07:00
kubeadm-certificate.yml Set certs and files with kubeadm token to mode 0640 (#5325) 2019-11-11 05:41:41 -08:00
kubeadm-cleanup-old-certs.yml Switch /root references to ansible_env.HOME (#4842) 2019-06-06 02:06:11 -07:00
kubeadm-etcd.yml Fix etcd install with docker and etcd_kubeadm_enabled (#5777) 2020-03-24 08:12:47 -07:00
kubeadm-fix-apiserver.yml Set certs and files with kubeadm token to mode 0640 (#5325) 2019-11-11 05:41:41 -08:00
kubeadm-migrate-certs.yml Set certs and files with kubeadm token to mode 0640 (#5325) 2019-11-11 05:41:41 -08:00
kubeadm-secondary-experimental.yml Set certs and files with kubeadm token to mode 0640 (#5325) 2019-11-11 05:41:41 -08:00
kubeadm-secondary-legacy.yml Set certs and files with kubeadm token to mode 0640 (#5325) 2019-11-11 05:41:41 -08:00
kubeadm-setup.yml Fix scaling (#5889) 2020-04-08 01:27:43 -07:00
kubeadm-upgrade.yml Upgrade container-engine after draining (#5601) 2020-02-27 11:47:28 -08:00
kubeadm-version.yml Set certs and files with kubeadm token to mode 0640 (#5325) 2019-11-11 05:41:41 -08:00
main.yml remove unused var 'kube_apiserver_admission_control' (#5648) (#5651) 2020-02-19 05:08:25 -08:00
pre-upgrade.yml ansible-lint: add spaces around variables [E206] (#4699) 2019-05-02 14:24:21 -07:00
users-file.yml Remove non-kubeadm deployment (#3811) 2018-12-06 02:33:38 -08:00