Use the svc.cluster.local name for DNS health checks

(cherry picked from commit 6757a1ce94)
This commit is contained in:
Tim Hockin 2015-06-25 17:11:53 -07:00 committed by Alex Mohr
parent 538f0381e6
commit f42fc39627

View File

@ -54,7 +54,7 @@ spec:
command:
- /bin/sh
- -c
- nslookup kubernetes.default.{{ pillar['dns_domain'] }} localhost >/dev/null
- nslookup kubernetes.default.svc.{{ pillar['dns_domain'] }} localhost >/dev/null
initialDelaySeconds: 30
timeoutSeconds: 5
dnsPolicy: Default # Don't use cluster DNS.