add_max_concurrent_in_coredns (#9307)

pull/9312/head
Kay Yan 2022-09-22 19:27:03 +08:00 committed by GitHub
parent 76573bf293
commit 1b3c2dab2e
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 2 additions and 0 deletions

View File

@ -49,10 +49,12 @@ data:
{% if upstream_dns_servers is defined and upstream_dns_servers|length > 0 %} {% if upstream_dns_servers is defined and upstream_dns_servers|length > 0 %}
forward . {{ upstream_dns_servers|join(' ') }} { forward . {{ upstream_dns_servers|join(' ') }} {
prefer_udp prefer_udp
max_concurrent 1000
} }
{% else %} {% else %}
forward . /etc/resolv.conf { forward . /etc/resolv.conf {
prefer_udp prefer_udp
max_concurrent 1000
} }
{% endif %} {% endif %}
{% if enable_coredns_k8s_external %} {% if enable_coredns_k8s_external %}