added dnsmasq container in kubedns pod

This commit is contained in:
Abhishek Shah 2016-05-23 15:09:30 -07:00
parent fcba7c3e5f
commit 10f9789bc3
3 changed files with 17 additions and 2 deletions

View File

@ -22,7 +22,7 @@
# Default registry, arch and tag. This can be overwritten by arguments to make
PLATFORM?=linux
ARCH?=amd64
TAG?=1.0
TAG?=1.1
REGISTRY?=gcr.io/google_containers
GOLANG_VERSION=1.6

View File

@ -21,7 +21,7 @@ spec:
spec:
containers:
- name: kubedns
image: gcr.io/google_containers/kubedns-amd64:1.0
image: gcr.io/google_containers/kubedns-amd64:1.1
resources:
# TODO: Set memory limits when we've profiled the container for large
# clusters, then set request = limit to keep this container in
@ -54,6 +54,20 @@ spec:
args:
# command = "/kube-dns"
- --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:
- containerPort: 53
name: dns

View File

@ -90,6 +90,7 @@ deployment-label-key
deserialization-cache-size
dest-file
disable-filter
dns-port
docker-email
docker-endpoint
docker-exec-handler