coredns: add includeUnschedulableNodes for dns-autoscaler
parent
e293a887da
commit
110c1f764c
|
@ -10,6 +10,7 @@ dns_min_replicas: "{{ [2, groups['k8s_cluster'] | length] | min }}"
|
||||||
dns_nodes_per_replica: 16
|
dns_nodes_per_replica: 16
|
||||||
dns_cores_per_replica: 256
|
dns_cores_per_replica: 256
|
||||||
dns_prevent_single_point_failure: "{{ 'true' if dns_min_replicas | int > 1 else 'false' }}"
|
dns_prevent_single_point_failure: "{{ 'true' if dns_min_replicas | int > 1 else 'false' }}"
|
||||||
|
dns_include_unschedulable_nodes: false
|
||||||
enable_coredns_reverse_dns_lookups: true
|
enable_coredns_reverse_dns_lookups: true
|
||||||
coredns_ordinal_suffix: ""
|
coredns_ordinal_suffix: ""
|
||||||
# dns_extra_tolerations: [{effect: NoSchedule, operator: "Exists"}]
|
# dns_extra_tolerations: [{effect: NoSchedule, operator: "Exists"}]
|
||||||
|
|
|
@ -78,7 +78,7 @@ spec:
|
||||||
command:
|
command:
|
||||||
- /cluster-proportional-autoscaler
|
- /cluster-proportional-autoscaler
|
||||||
- --namespace=kube-system
|
- --namespace=kube-system
|
||||||
- --default-params={"linear":{"preventSinglePointFailure":{{ dns_prevent_single_point_failure }},"coresPerReplica":{{ dns_cores_per_replica }},"nodesPerReplica":{{ dns_nodes_per_replica }},"min":{{ dns_min_replicas }}}}
|
- --default-params={"linear":{"preventSinglePointFailure":{{ dns_prevent_single_point_failure }},"coresPerReplica":{{ dns_cores_per_replica }},"nodesPerReplica":{{ dns_nodes_per_replica }},"min":{{ dns_min_replicas }},"includeUnschedulableNodes":{{ dns_include_unschedulable_nodes}}}}
|
||||||
- --logtostderr=true
|
- --logtostderr=true
|
||||||
- --v=2
|
- --v=2
|
||||||
- --configmap=dns-autoscaler{{ coredns_ordinal_suffix }}
|
- --configmap=dns-autoscaler{{ coredns_ordinal_suffix }}
|
||||||
|
|
Loading…
Reference in New Issue