c12s-kubespray/roles
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
..
adduser fix useradd etcd (#5281) 2019-11-11 03:27:41 -08:00
bastion-ssh-config Adding "-F /dev/null" to load null SSH config file. (#4933) 2019-07-02 01:53:08 -07:00
bootstrap-os Add molecule test for bootstrap-os (#5845) 2020-04-01 07:25:28 -07:00
container-engine fix systemd cgroup driver for containerd (#5220) 2020-04-01 00:43:26 -07:00
download Change docker.io repo to variable and upgrade alb image (#5898) 2020-04-07 08:07:42 -07:00
etcd Fix scaling (#5889) 2020-04-08 01:27:43 -07:00
kubernetes Fix scaling (#5889) 2020-04-08 01:27:43 -07:00
kubernetes-apps add local-path-provosioner helper image def (#5817) 2020-04-07 23:51:43 -07:00
kubespray-defaults Fix chicken and egg problem with proxy_env not defined on the first … (#5896) 2020-04-08 00:53:43 -07:00
network_plugin Removed deprecated label kubernetes.io/cluster-service (#5372) 2020-03-30 01:19:53 -07:00
recover_control_plane Fixup recover_control_plane with Ansible 2.9 (#5806) 2020-03-20 14:22:06 -07:00
remove-node Fix delete nodes task (#5747) 2020-03-13 08:36:40 -07:00
reset add mangle table in the iptable flush task (#5672) 2020-02-26 00:04:26 -08:00
upgrade Fix Ansible-lint error [E502] (#4743) 2019-05-16 00:27:43 -07:00
win_nodes/kubernetes_patch Escape dots in jsonpath keys. (#5600) 2020-03-11 05:17:36 -07:00