mirror of
https://github.com/k3s-io/kubernetes.git
synced 2025-08-01 15:58:37 +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:
|
command:
|
||||||
- /bin/sh
|
- /bin/sh
|
||||||
- -c
|
- -c
|
||||||
- nslookup kubernetes.default.{{ pillar['dns_domain'] }} localhost >/dev/null
|
- nslookup kubernetes.default.svc.{{ pillar['dns_domain'] }} localhost >/dev/null
|
||||||
initialDelaySeconds: 30
|
initialDelaySeconds: 30
|
||||||
timeoutSeconds: 5
|
timeoutSeconds: 5
|
||||||
dnsPolicy: Default # Don't use cluster DNS.
|
dnsPolicy: Default # Don't use cluster DNS.
|
||||||
|
Loading…
Reference in New Issue
Block a user