Set kube_apiserver_insecure_port parameter to use the defined variable
undo changes to kubedns healthz endpoint
This commit is contained in:
parent
361a5eac7e
commit
661c7cec15
3 changed files with 3 additions and 3 deletions
|
@ -1,7 +1,7 @@
|
|||
---
|
||||
- name: Kubernetes Apps | Wait for kube-apiserver
|
||||
uri:
|
||||
url: http://localhost:8080/healthz
|
||||
url: http://localhost:{{ kube_apiserver_insecure_port }}/healthz
|
||||
register: result
|
||||
until: result.status == 200
|
||||
retries: 10
|
||||
|
|
|
@ -39,7 +39,7 @@
|
|||
|
||||
- name: Master | wait for the apiserver to be running
|
||||
uri:
|
||||
url: http://localhost:8080/healthz
|
||||
url: http://localhost:{{ kube_apiserver_insecure_port }}/healthz
|
||||
register: result
|
||||
until: result.status == 200
|
||||
retries: 20
|
||||
|
|
|
@ -92,7 +92,7 @@ spec:
|
|||
httpGet:
|
||||
host: 127.0.0.1
|
||||
path: /healthz
|
||||
port: 8080
|
||||
port: {{ kube_apiserver_insecure_port }}
|
||||
initialDelaySeconds: 30
|
||||
timeoutSeconds: 10
|
||||
volumeMounts:
|
||||
|
|
Loading…
Reference in a new issue