c12s-kubespray/roles/kubernetes/preinstall/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
..
0010-swapoff.yml ansible-lint: don't compare to empty string [E602] (#4665) 2019-04-28 23:00:20 -07:00
0020-verify-settings.yml Fix etcd install with docker and etcd_kubeadm_enabled (#5777) 2020-03-24 08:12:47 -07:00
0030-pre_upgrade.yml Update dir list 2018-08-31 13:45:08 +02:00
0040-set_facts.yml Move host_architecture to kubespray-defaults (#5811) 2020-03-25 12:58:25 -07:00
0050-create_directories.yml add Kube-OVN cni to kubespray (#5020) 2019-07-30 20:10:20 -07:00
0060-resolvconf.yml added "Flatcar", "Flatcar Container Linux by Kinvolk" for all coreOS role (#5607) 2020-02-18 00:15:29 -08:00
0061-systemd-resolved.yml Enable systemd-resolved DNS resolution mode (#5318) 2019-11-06 03:33:52 -08:00
0070-system-packages.yml remove atomic support because reached end of live (#5783) 2020-03-17 14:31:27 -07:00
0080-system-configurations.yml added "Flatcar", "Flatcar Container Linux by Kinvolk" for all coreOS role (#5607) 2020-02-18 00:15:29 -08:00
0090-etchosts.yml Fix scaling (#5889) 2020-04-08 01:27:43 -07:00
0100-dhclient-hooks.yml Remove unnecessary and risky reload network for resolvconf propagation (#5322) 2019-11-06 10:11:52 -08:00
0110-dhclient-hooks-undo.yml Remove unnecessary and risky reload network for resolvconf propagation (#5322) 2019-11-06 10:11:52 -08:00
0120-growpart-azure-centos-7.yml ansible-lint: E403 Package installs should not use latest (#4500) 2019-04-18 01:34:08 -07:00
main.yml added "Flatcar", "Flatcar Container Linux by Kinvolk" for all coreOS role (#5607) 2020-02-18 00:15:29 -08:00