mirror of
https://github.com/k3s-io/kubernetes.git
synced 2025-08-04 09:49:50 +00:00
commit
d114945b90
@ -54,12 +54,9 @@ spec:
|
|||||||
livenessProbe:
|
livenessProbe:
|
||||||
exec:
|
exec:
|
||||||
command:
|
command:
|
||||||
- "/bin/sh"
|
- /bin/sh
|
||||||
- "-c"
|
- -c
|
||||||
# The health check succeeds by virtue of not hanging. It'd be nice
|
- nslookup kubernetes.default.{{ pillar['dns_domain'] }} localhost >/dev/null"
|
||||||
# to also check local services are known, but if that's broken then
|
|
||||||
# etcd or kube2sky has to be restarted, not skydns.
|
|
||||||
- "nslookup foobar 127.0.0.1 &> /dev/null; echo ok"
|
|
||||||
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