Move healthz check to secure ports (#6446)

This commit is contained in:
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

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