Fix Flannel provisioning
Flannel starts only on the first kube-master, so flannel subnet.env exists only on this node.
This commit is contained in:
parent
b292a1ee0b
commit
6ca8689a17
1 changed files with 1 additions and 0 deletions
|
@ -20,3 +20,4 @@
|
|||
path: /run/flannel/subnet.env
|
||||
delay: 5
|
||||
timeout: 600
|
||||
when: inventory_hostname == groups['kube-master'][0]
|
||||
|
|
Loading…
Reference in a new issue