c12s-kubespray/roles/kubernetes
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
..
client Revert Pull Request #5084 (#5120) 2019-10-17 05:26:37 -07:00
kubeadm rename handler to fix ansible 2.8 issue (#5801) 2020-03-20 13:54:08 -07:00
master Fix scaling (#5889) 2020-04-08 01:27:43 -07:00
node remove unused kubelet options (#5903) 2020-04-07 11:51:44 -07:00
node-label/tasks set node label via kubectl label command (#5257) 2019-12-09 01:43:09 -08:00
preinstall Fix scaling (#5889) 2020-04-08 01:27:43 -07:00
tokens ansible-lint: add spaces around variables [E206] (#4699) 2019-05-02 14:24:21 -07:00