Fix apiserver port when upgrading (#6136)
This commit is contained in:
parent
d8a61b94a9
commit
a5af58c05a
1 changed files with 1 additions and 1 deletions
|
@ -1,7 +1,7 @@
|
|||
---
|
||||
- name: kubeadm | Check api is up
|
||||
uri:
|
||||
url: "https://{{ ip | default(fallback_ips[inventory_hostname]) }}:6443/healthz"
|
||||
url: "https://{{ ip | default(fallback_ips[inventory_hostname]) }}:{{ kube_apiserver_port }}/healthz"
|
||||
validate_certs: false
|
||||
when: inventory_hostname == groups['kube-master']|first
|
||||
register: _result
|
||||
|
|
Loading…
Reference in a new issue