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

pull/6435/head
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
1 changed files with 4 additions and 4 deletions

View File

@ -93,7 +93,8 @@
- name: Master | wait for kube-scheduler - name: Master | wait for kube-scheduler
uri: uri:
url: http://localhost:10251/healthz url: https://localhost:10259/healthz
validate_certs: no
register: scheduler_result register: scheduler_result
until: scheduler_result.status == 200 until: scheduler_result.status == 200
retries: 60 retries: 60
@ -101,7 +102,8 @@
- name: Master | wait for kube-controller-manager - name: Master | wait for kube-controller-manager
uri: uri:
url: http://localhost:10252/healthz url: https://localhost:10257/healthz
validate_certs: no
register: controller_manager_result register: controller_manager_result
until: controller_manager_result.status == 200 until: controller_manager_result.status == 200
retries: 60 retries: 60
@ -111,8 +113,6 @@
uri: uri:
url: "{{ kube_apiserver_endpoint }}/healthz" url: "{{ kube_apiserver_endpoint }}/healthz"
validate_certs: no validate_certs: no
client_cert: "{{ kube_apiserver_client_cert }}"
client_key: "{{ kube_apiserver_client_key }}"
register: result register: result
until: result.status == 200 until: result.status == 200
retries: 60 retries: 60