mirror of
https://github.com/kubernetes-sigs/kubespray.git
synced 2025-12-14 13:54:37 +03:00
[feat] Add custom options to coredns kubernets plugin (#9608)
This commit is contained in:
committed by
GitHub
parent
2c2e608eac
commit
ab80342750
@@ -18,6 +18,10 @@ coredns_default_zone_cache_block: |
|
||||
# dns_upstream_forward_extra_opts:
|
||||
# policy: sequential
|
||||
|
||||
# Apply extra options to coredns kubernetes plugin
|
||||
# coredns_kubernetes_extra_opts:
|
||||
# - 'fallthrough example.local'
|
||||
|
||||
# nodelocaldns
|
||||
nodelocaldns_cpu_requests: 100m
|
||||
nodelocaldns_memory_limit: 200Mi
|
||||
|
||||
@@ -43,6 +43,11 @@ data:
|
||||
{% endif %}
|
||||
{% if enable_coredns_reverse_dns_lookups %}
|
||||
fallthrough in-addr.arpa ip6.arpa
|
||||
{% endif %}
|
||||
{% if coredns_kubernetes_extra_opts is defined %}
|
||||
{% for opt in coredns_kubernetes_extra_opts %}
|
||||
{{ opt }}
|
||||
{% endfor %}
|
||||
{% endif %}
|
||||
}
|
||||
prometheus :9153
|
||||
|
||||
Reference in New Issue
Block a user