c12s-kubespray/roles/etcd/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
..
check_certs.yml Fix certificates checking when adding etcd node to existing k8s node (#5807) 2020-03-25 12:46:25 -07:00
configure.yml Fix scaling (#5889) 2020-04-08 01:27:43 -07:00
gen_certs_script.yml Fix certificates checking when adding etcd node to existing k8s node (#5807) 2020-03-25 12:46:25 -07:00
install_docker.yml Fix etcd install with docker and etcd_kubeadm_enabled (#5777) 2020-03-24 08:12:47 -07:00
install_etcdctl_docker.yml Fix etcd install with docker and etcd_kubeadm_enabled (#5777) 2020-03-24 08:12:47 -07:00
install_host.yml Fix issue with etcd arm host installation case (#4589) 2019-04-25 04:58:47 -07:00
join_etcd-events_member.yml Fix scaling (#5889) 2020-04-08 01:27:43 -07:00
join_etcd_member.yml Fix scaling (#5889) 2020-04-08 01:27:43 -07:00
main.yml Move host_architecture to kubespray-defaults (#5811) 2020-03-25 12:58:25 -07:00
refresh_config.yml Etcd cluster setup makeover 2018-04-01 21:38:33 +02:00
upd_ca_trust.yml added "Flatcar", "Flatcar Container Linux by Kinvolk" for all coreOS role (#5607) 2020-02-18 00:15:29 -08:00