Merge pull request #1289 from rsmitty/default-dns-mode
default to kubedns &set nxdomain in kubedns deployment if that's the dns_mode
This commit is contained in:
commit
fecb41d2ef
2 changed files with 2 additions and 1 deletions
|
@ -98,7 +98,7 @@ cluster_name: cluster.local
|
||||||
# Subdomains of DNS domain to be resolved via /etc/resolv.conf for hostnet pods
|
# Subdomains of DNS domain to be resolved via /etc/resolv.conf for hostnet pods
|
||||||
ndots: 2
|
ndots: 2
|
||||||
# Can be dnsmasq_kubedns, kubedns or none
|
# Can be dnsmasq_kubedns, kubedns or none
|
||||||
dns_mode: dnsmasq_kubedns
|
dns_mode: kubedns
|
||||||
# Can be docker_dns, host_resolvconf or none
|
# Can be docker_dns, host_resolvconf or none
|
||||||
resolvconf_mode: docker_dns
|
resolvconf_mode: docker_dns
|
||||||
# Deploy netchecker app to verify DNS resolve as an HTTP service
|
# Deploy netchecker app to verify DNS resolve as an HTTP service
|
||||||
|
|
|
@ -83,6 +83,7 @@ spec:
|
||||||
{% if kube_log_level == '4' %}
|
{% if kube_log_level == '4' %}
|
||||||
- --log-queries
|
- --log-queries
|
||||||
{% endif %}
|
{% endif %}
|
||||||
|
- --local=/{{ bogus_domains }}
|
||||||
ports:
|
ports:
|
||||||
- containerPort: 53
|
- containerPort: 53
|
||||||
name: dns
|
name: dns
|
||||||
|
|
Loading…
Reference in a new issue