Browse Source

Fix "api is up" check (#7295)

Signed-off-by: Etienne Champetier <e.champetier@ateme.com>
pull/7308/head
Etienne Champetier 3 years ago
committed by GitHub
parent
commit
662a37ab4f
No known key found for this signature in database GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 1 deletions
  1. 2
      roles/kubernetes/control-plane/tasks/kubeadm-upgrade.yml

2
roles/kubernetes/control-plane/tasks/kubeadm-upgrade.yml

@ -3,7 +3,7 @@
uri:
url: "https://{{ ip | default(fallback_ips[inventory_hostname]) }}:{{ kube_apiserver_port }}/healthz"
validate_certs: false
when: inventory_hostname == groups['kube-master']
when: inventory_hostname in groups['kube-master']
register: _result
retries: 60
delay: 5

Loading…
Cancel
Save