Commit 10f9789b authored by Abhishek Shah's avatar Abhishek Shah

added dnsmasq container in kubedns pod

parent fcba7c3e
...@@ -22,7 +22,7 @@ ...@@ -22,7 +22,7 @@
# Default registry, arch and tag. This can be overwritten by arguments to make # Default registry, arch and tag. This can be overwritten by arguments to make
PLATFORM?=linux PLATFORM?=linux
ARCH?=amd64 ARCH?=amd64
TAG?=1.0 TAG?=1.1
REGISTRY?=gcr.io/google_containers REGISTRY?=gcr.io/google_containers
GOLANG_VERSION=1.6 GOLANG_VERSION=1.6
......
...@@ -21,7 +21,7 @@ spec: ...@@ -21,7 +21,7 @@ spec:
spec: spec:
containers: containers:
- name: kubedns - name: kubedns
image: gcr.io/google_containers/kubedns-amd64:1.0 image: gcr.io/google_containers/kubedns-amd64:1.1
resources: resources:
# TODO: Set memory limits when we've profiled the container for large # TODO: Set memory limits when we've profiled the container for large
# clusters, then set request = limit to keep this container in # clusters, then set request = limit to keep this container in
...@@ -54,6 +54,20 @@ spec: ...@@ -54,6 +54,20 @@ spec:
args: args:
# command = "/kube-dns" # command = "/kube-dns"
- --domain={{ pillar['dns_domain'] }}. - --domain={{ pillar['dns_domain'] }}.
- --dns-port=10053
ports:
- containerPort: 10053
name: dns-local
protocol: UDP
- containerPort: 10053
name: dns-tcp-local
protocol: TCP
- name: dnsmasq
image: gcr.io/google_containers/dnsmasq:1.1
args:
- --cache-size=1000
- --no-resolv
- --server=127.0.0.1#10053
ports: ports:
- containerPort: 53 - containerPort: 53
name: dns name: dns
......
...@@ -90,6 +90,7 @@ deployment-label-key ...@@ -90,6 +90,7 @@ deployment-label-key
deserialization-cache-size deserialization-cache-size
dest-file dest-file
disable-filter disable-filter
dns-port
docker-email docker-email
docker-endpoint docker-endpoint
docker-exec-handler docker-exec-handler
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment