Commit f693e1e5 authored by Kubernetes Submit Queue's avatar Kubernetes Submit Queue Committed by GitHub

Merge pull request #41212 from bowei/limit-dnsmasq

Automatic merge from submit-queue (batch tested with PRs 41115, 41212, 41346, 41340, 41172) Send only cluster domain queries to kube-dns Queries not involving the cluster domain should be forwarded out (not to kube-dns) ```release-note none ```
parents cfb08cd9 da291a7b
......@@ -49,7 +49,7 @@ spec:
- name: kube-dns-config
configMap:
name: kube-dns
optional: true
optional: true
containers:
- name: kubedns
image: gcr.io/google_containers/k8s-dns-kube-dns-amd64:1.12.1
......@@ -116,8 +116,9 @@ spec:
failureThreshold: 5
args:
- --cache-size=1000
- --no-resolv
- --server=127.0.0.1#10053
- --server=/__PILLAR__DNS__DOMAIN__/127.0.0.1#10053
- --server=/in-addr.arpa/127.0.0.1#10053
- --server=/ip6.arpa/127.0.0.1#10053
- --log-facility=-
ports:
- containerPort: 53
......
......@@ -49,7 +49,7 @@ spec:
- name: kube-dns-config
configMap:
name: kube-dns
optional: true
optional: true
containers:
- name: kubedns
image: gcr.io/google_containers/k8s-dns-kube-dns-amd64:1.12.1
......@@ -116,8 +116,9 @@ spec:
failureThreshold: 5
args:
- --cache-size=1000
- --no-resolv
- --server=127.0.0.1#10053
- --server=/{{ pillar['dns_domain'] }}/127.0.0.1#10053
- --server=/in-addr.arpa/127.0.0.1#10053
- --server=/ip6.arpa/127.0.0.1#10053
- --log-facility=-
ports:
- containerPort: 53
......
......@@ -49,7 +49,7 @@ spec:
- name: kube-dns-config
configMap:
name: kube-dns
optional: true
optional: true
containers:
- name: kubedns
image: gcr.io/google_containers/k8s-dns-kube-dns-amd64:1.12.1
......@@ -115,8 +115,9 @@ spec:
failureThreshold: 5
args:
- --cache-size=1000
- --no-resolv
- --server=127.0.0.1#10053
- --server=/$DNS_DOMAIN/127.0.0.1#10053
- --server=/in-addr.arpa/127.0.0.1#10053
- --server=/ip6.arpa/127.0.0.1#10053
- --log-facility=-
ports:
- containerPort: 53
......
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