Skip to content
Snippets Groups Projects
Commit 31a7b7d2 authored by Spencer Smith's avatar Spencer Smith
Browse files

default to kubedns and set nxdomain in kubedns deployment if that's the dns_mode

parent 8eb60f56
No related branches found
No related tags found
No related merge requests found
......@@ -98,7 +98,7 @@ cluster_name: cluster.local
# Subdomains of DNS domain to be resolved via /etc/resolv.conf for hostnet pods
ndots: 2
# Can be dnsmasq_kubedns, kubedns or none
dns_mode: dnsmasq_kubedns
dns_mode: kubedns
# Can be docker_dns, host_resolvconf or none
resolvconf_mode: docker_dns
# Deploy netchecker app to verify DNS resolve as an HTTP service
......
......@@ -82,6 +82,9 @@ spec:
- --server=127.0.0.1#10053
{% if kube_log_level == '4' %}
- --log-queries
{% endif %}
{% if dns_mode == 'kubedns' %}
- --local=/{{ bogus_domains }}
{% endif %}
ports:
- containerPort: 53
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment