From 12069116df4da70f29a6c146a81a47a2b646e4ed Mon Sep 17 00:00:00 2001 From: Gregory Storme Date: Thu, 18 May 2017 12:44:44 +0200 Subject: [PATCH] undo changes to kubedns healthz endpoint --- roles/kubernetes-apps/ansible/templates/kubedns-deploy.yml | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/roles/kubernetes-apps/ansible/templates/kubedns-deploy.yml b/roles/kubernetes-apps/ansible/templates/kubedns-deploy.yml index 9431ed345..a2150cc70 100644 --- a/roles/kubernetes-apps/ansible/templates/kubedns-deploy.yml +++ b/roles/kubernetes-apps/ansible/templates/kubedns-deploy.yml @@ -38,7 +38,7 @@ spec: livenessProbe: httpGet: path: /healthz - port: {{ kube_apiserver_insecure_port }} + port: 8080 scheme: HTTP initialDelaySeconds: 60 timeoutSeconds: 5 @@ -108,9 +108,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.