scaling: issue etcd certs for new nodes (#3125)

This commit is contained in:
Mark Eisenblätter 2018-08-20 13:40:44 +02:00 committed by Matthew Mosesohn
parent 497db69c9f
commit 08353f291b

View file

@ -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) }}"