mirror of
https://github.com/k3s-io/kubernetes.git
synced 2025-07-30 23:15:14 +00:00
Use the svc.cluster.local name for DNS health checks
(cherry picked from commit 6757a1ce94
)
This commit is contained in:
parent
538f0381e6
commit
f42fc39627
@ -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.
|
||||
|
Loading…
Reference in New Issue
Block a user