Skip to content
Snippets Groups Projects
Commit 80418a44 authored by Anton Fayzrahmanov's avatar Anton Fayzrahmanov Committed by Kubernetes Prow Robot
Browse files

CoreDNS deployment extra tolerations (#5364)

* Add extra tolerations for coredns

* dns_extra_tolerations option

* dns_extra_tolerations

* missing starting space in comment
parent 257c20f3
No related branches found
No related tags found
No related merge requests found
......@@ -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:
......
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