Correct nslookup command

Change nslookup command to check the right cluster_name
This commit is contained in:
Anthony Haussmann 2016-09-23 17:44:09 +02:00
parent e680e1266a
commit 83a6c5cf61

View file

@ -91,7 +91,7 @@ spec:
# net memory requested by the pod constant.
memory: 50Mi
args:
- -cmd=nslookup kubernetes.default.svc.cluster.local 127.0.0.1 >/dev/null && nslookup kubernetes.default.svc.cluster.local 127.0.0.1:10053 >/dev/null
- -cmd=nslookup kubernetes.default.svc.{{ cluster_name }} 127.0.0.1 >/dev/null && nslookup kubernetes.default.svc.{{ cluster_name }} 127.0.0.1:10053 >/dev/null
- -port=8080
- -quiet
ports: