Move healthz check to secure ports (#6446)

pull/6417/head
Florian Ruynat 2020-07-27 09:26:17 +02:00 committed by GitHub
parent c9f63e5016
commit b680cdd0e4
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 4 additions and 4 deletions

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