Move healthz check to secure ports (#6446) (#6457)

This commit is contained in:
Florian Ruynat 2020-07-29 14:11:47 +02:00 committed by GitHub
parent d3fca7d47a
commit 8a3bd6ba72
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -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