add_max_concurrent_in_coredns (#9307)

This commit is contained in:
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

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 %}