Skip to content
Snippets Groups Projects
Unverified Commit eb73f1d2 authored by 刘旭's avatar 刘旭 Committed by GitHub
Browse files

support disable dns autoscaler when use CoreDNS (#10608)

parent 9a31f328
No related branches found
No related tags found
No related merge requests found
......@@ -21,6 +21,7 @@
when:
- dns_mode in ['coredns', 'coredns_dual']
- inventory_hostname == groups['kube_control_plane'][0]
- enable_dns_autoscaler or item.name != 'dns-autoscaler'
tags:
- coredns
......@@ -40,5 +41,6 @@
when:
- dns_mode == 'coredns_dual'
- inventory_hostname == groups['kube_control_plane'][0]
- enable_dns_autoscaler or item.name != 'dns-autoscaler'
tags:
- coredns
......@@ -99,6 +99,9 @@ docker_dns_options:
# Can be coredns, coredns_dual, manual, or none
dns_mode: coredns
# Enable dns autoscaler
enable_dns_autoscaler: true
# Enable nodelocal dns cache
enable_nodelocaldns: true
enable_nodelocaldns_secondary: false
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment