Skip to content
Snippets Groups Projects
Commit 336e2b8c authored by Smana's avatar Smana
Browse files

use variable dns_domain instead of cluster_name for kubedns

parent 0f461282
No related branches found
No related tags found
No related merge requests found
...@@ -53,7 +53,7 @@ spec: ...@@ -53,7 +53,7 @@ spec:
timeoutSeconds: 5 timeoutSeconds: 5
args: args:
# command = "/kube-dns" # command = "/kube-dns"
- --domain={{ cluster_name }}. - --domain={{ dns_domain }}.
- --dns-port=10053 - --dns-port=10053
ports: ports:
- containerPort: 10053 - containerPort: 10053
...@@ -91,7 +91,7 @@ spec: ...@@ -91,7 +91,7 @@ spec:
# net memory requested by the pod constant. # net memory requested by the pod constant.
memory: 50Mi memory: 50Mi
args: args:
- -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 - -cmd=nslookup kubernetes.default.svc.{{ dns_domain }} 127.0.0.1 >/dev/null && nslookup kubernetes.default.svc.{{ dns_domain }} 127.0.0.1:10053 >/dev/null
- -port=8080 - -port=8080
- -quiet - -quiet
ports: ports:
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment