k8s-sig-cluster-lifecycleawskubesprayhigh-availabilityansiblekubernetes-clustergcekubernetesbare-metal
You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
26 lines
448 B
26 lines
448 B
#Listen on localhost
|
|
bind-interfaces
|
|
listen-address=0.0.0.0
|
|
|
|
addn-hosts=/etc/hosts
|
|
|
|
strict-order
|
|
# Forward k8s domain to kube-dns
|
|
server=/{{ dns_domain }}/{{ skydns_server }}
|
|
|
|
#Set upstream dns servers
|
|
{% if upstream_dns_servers is defined %}
|
|
{% for srv in upstream_dns_servers %}
|
|
server={{ srv }}
|
|
{% endfor %}
|
|
{% else %}
|
|
server=8.8.8.8
|
|
server=8.8.4.4
|
|
{% endif %}
|
|
|
|
no-resolv
|
|
no-negcache
|
|
cache-size=1000
|
|
max-cache-ttl=10
|
|
max-ttl=20
|
|
log-facility=-
|