Kay Yan
2 years ago
committed by
GitHub
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with
2 additions and
0 deletions
-
roles/kubernetes-apps/ansible/templates/coredns-config.yml.j2
|
|
@ -49,10 +49,12 @@ data: |
|
|
|
{% if upstream_dns_servers is defined and upstream_dns_servers|length > 0 %} |
|
|
|
forward . {{ upstream_dns_servers|join(' ') }} { |
|
|
|
prefer_udp |
|
|
|
max_concurrent 1000 |
|
|
|
} |
|
|
|
{% else %} |
|
|
|
forward . /etc/resolv.conf { |
|
|
|
prefer_udp |
|
|
|
max_concurrent 1000 |
|
|
|
} |
|
|
|
{% endif %} |
|
|
|
{% if enable_coredns_k8s_external %} |
|
|
|