Skip to content
This repository has been archived by the owner on Jan 11, 2023. It is now read-only.

Change dns healthcheck to look at external domain #3282

Merged
merged 2 commits into from
Jul 25, 2018
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -146,12 +146,15 @@ spec:
- mountPath: /kube-dns-config
name: kube-dns-config
- args:
- "--cmd=nslookup kubernetes.default.svc.<kubernetesKubeletClusterDomain> 127.0.0.1 >/dev/null"
- "--cmd=for d in $PROBE_DOMAINS; do nslookup $d 127.0.0.1 >/dev/null || exit 1; done"
- "--url=/healthz-dnsmasq"
- "--cmd=nslookup kubernetes.default.svc.<kubernetesKubeletClusterDomain> 127.0.0.1:10053 >/dev/null"
- "--cmd=for d in $PROBE_DOMAINS; do nslookup $d 127.0.0.1:10053 >/dev/null || exit 1; done"
- "--url=/healthz-kubedns"
- "--port=8080"
- "--quiet"
env:
- name: PROBE_DOMAINS
value: bing.com kubernetes.default.svc.<kubernetesKubeletClusterDomain>
image: <kubernetesExecHealthzSpec>
livenessProbe:
failureThreshold: 5
Expand Down