scaling: issue etcd certs for new nodes (#3125)
This commit is contained in:
parent
497db69c9f
commit
08353f291b
1 changed files with 7 additions and 0 deletions
|
@ -22,6 +22,13 @@
|
||||||
ansible_ssh_pipelining: true
|
ansible_ssh_pipelining: true
|
||||||
gather_facts: true
|
gather_facts: true
|
||||||
|
|
||||||
|
##We need to genereate the etcd certificates beforhand
|
||||||
|
- hosts: etcd
|
||||||
|
any_errors_fatal: "{{ any_errors_fatal | default(true) }}"
|
||||||
|
roles:
|
||||||
|
- { role: kubespray-defaults}
|
||||||
|
- { role: etcd, tags: etcd, etcd_cluster_setup: false }
|
||||||
|
|
||||||
##Target only workers to get kubelet installed and checking in on any new nodes
|
##Target only workers to get kubelet installed and checking in on any new nodes
|
||||||
- hosts: kube-node
|
- hosts: kube-node
|
||||||
any_errors_fatal: "{{ any_errors_fatal | default(true) }}"
|
any_errors_fatal: "{{ any_errors_fatal | default(true) }}"
|
||||||
|
|
Loading…
Reference in a new issue