CoreDNS deployment extra tolerations (#5364)
* Add extra tolerations for coredns * dns_extra_tolerations option * dns_extra_tolerations * missing starting space in comment
This commit is contained in:
parent
257c20f39e
commit
80418a44d5
2 changed files with 4 additions and 0 deletions
|
@ -8,6 +8,7 @@ dns_nodes_per_replica: 16
|
|||
dns_cores_per_replica: 256
|
||||
dns_prevent_single_point_failure: "{{ 'true' if dns_min_replicas|int > 1 else 'false' }}"
|
||||
coredns_ordinal_suffix: ""
|
||||
# dns_extra_tolerations: [{effect: NoSchedule, operator: "Exists"}]
|
||||
|
||||
# nodelocaldns
|
||||
nodelocaldns_cpu_requests: 100m
|
||||
|
|
|
@ -34,6 +34,9 @@ spec:
|
|||
effect: NoSchedule
|
||||
- key: "CriticalAddonsOnly"
|
||||
operator: "Exists"
|
||||
{% if dns_extra_tolerations | default(None) %}
|
||||
{{ dns_extra_tolerations | list | to_nice_yaml(indent=2) | indent(8) }}
|
||||
{% endif %}
|
||||
affinity:
|
||||
podAntiAffinity:
|
||||
requiredDuringSchedulingIgnoredDuringExecution:
|
||||
|
|
Loading…
Reference in a new issue