Revert "Change for the kube_apiserver_insecure_port parameter to use the defined variable"
This reverts commit fabc9017a4
.
This commit is contained in:
parent
53e6a2061f
commit
2304fecdd9
4 changed files with 6 additions and 6 deletions
|
@ -1,7 +1,7 @@
|
|||
---
|
||||
- name: Kubernetes Apps | Wait for kube-apiserver
|
||||
uri:
|
||||
url: http://localhost:{{ kube_apiserver_insecure_port }}/healthz
|
||||
url: http://localhost:8080/healthz
|
||||
register: result
|
||||
until: result.status == 200
|
||||
retries: 10
|
||||
|
|
|
@ -38,7 +38,7 @@ spec:
|
|||
livenessProbe:
|
||||
httpGet:
|
||||
path: /healthz
|
||||
port: {{ kube_apiserver_insecure_port }}
|
||||
port: 8080
|
||||
scheme: HTTP
|
||||
initialDelaySeconds: 60
|
||||
timeoutSeconds: 5
|
||||
|
@ -107,9 +107,9 @@ spec:
|
|||
memory: 50Mi
|
||||
args:
|
||||
- -cmd=nslookup kubernetes.default.svc.{{ dns_domain }} 127.0.0.1 >/dev/null && nslookup kubernetes.default.svc.{{ dns_domain }} 127.0.0.1:10053 >/dev/null
|
||||
- -port={{ kube_apiserver_insecure_port }}
|
||||
- -port=8080
|
||||
- -quiet
|
||||
ports:
|
||||
- containerPort: {{ kube_apiserver_insecure_port }}
|
||||
- containerPort: 8080
|
||||
protocol: TCP
|
||||
dnsPolicy: Default # Don't use cluster DNS.
|
||||
|
|
|
@ -39,7 +39,7 @@
|
|||
|
||||
- name: Master | wait for the apiserver to be running
|
||||
uri:
|
||||
url: http://localhost:{{ kube_apiserver_insecure_port }}/healthz
|
||||
url: http://localhost:8080/healthz
|
||||
register: result
|
||||
until: result.status == 200
|
||||
retries: 20
|
||||
|
|
|
@ -92,7 +92,7 @@ spec:
|
|||
httpGet:
|
||||
host: 127.0.0.1
|
||||
path: /healthz
|
||||
port: {{ kube_apiserver_insecure_port }}
|
||||
port: 8080
|
||||
initialDelaySeconds: 30
|
||||
timeoutSeconds: 10
|
||||
volumeMounts:
|
||||
|
|
Loading…
Reference in a new issue