Move healthz check to secure ports (#6446)
This commit is contained in:
parent
c9f63e5016
commit
b680cdd0e4
1 changed files with 4 additions and 4 deletions
|
@ -93,7 +93,8 @@
|
|||
|
||||
- name: Master | wait for kube-scheduler
|
||||
uri:
|
||||
url: http://localhost:10251/healthz
|
||||
url: https://localhost:10259/healthz
|
||||
validate_certs: no
|
||||
register: scheduler_result
|
||||
until: scheduler_result.status == 200
|
||||
retries: 60
|
||||
|
@ -101,7 +102,8 @@
|
|||
|
||||
- name: Master | wait for kube-controller-manager
|
||||
uri:
|
||||
url: http://localhost:10252/healthz
|
||||
url: https://localhost:10257/healthz
|
||||
validate_certs: no
|
||||
register: controller_manager_result
|
||||
until: controller_manager_result.status == 200
|
||||
retries: 60
|
||||
|
@ -111,8 +113,6 @@
|
|||
uri:
|
||||
url: "{{ kube_apiserver_endpoint }}/healthz"
|
||||
validate_certs: no
|
||||
client_cert: "{{ kube_apiserver_client_cert }}"
|
||||
client_key: "{{ kube_apiserver_client_key }}"
|
||||
register: result
|
||||
until: result.status == 200
|
||||
retries: 60
|
||||
|
|
Loading…
Reference in a new issue