mirror of
https://github.com/kubernetes-sigs/kubespray.git
synced 2026-02-18 11:40:10 -03:30
Fix "api is up" check (#7295)
Signed-off-by: Etienne Champetier <e.champetier@ateme.com>
(cherry picked from commit 662a37ab4f)
This commit is contained in:
committed by
Kubernetes Prow Robot
parent
c7658c0256
commit
3292887cae
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user