Fix undeterministic node-selection but uses group

role_nftables
Ruakij 2 years ago
parent 590b75ac23
commit fc3d9845d6

@ -3,7 +3,7 @@
# Initialize with internal etcd
cluster-init: true
{% else %}
server: https://{{ groups['kubernetes'][0] }}:6443
server: https://{{ hostvars[groups['kubernetes'][0]]['nodeip_ipv4'] }}:6443
{% endif %}
token: '{{ kubernetes.token }}'

Loading…
Cancel
Save