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.