Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
The taint key, value, and effect have to be specified as strings in the site's config as - k8s_worker_taint - key: taint key, by default set to "worker-node" - value: taint value, by default set to "true" - effect: taint effect, by default set to "NoSchedule" the doni.conf options are set in the following way under kolla/defaults.yml in chi-in-a-box: - worker_taint: - key: {{ k8s_worker_taint.key | default("worder-node") }} - value: {{ k8s_worker_taint.value | default("true") }} - effect: {{ k8s_worker_taint.effect | default("NoSchedule") }} - worker_taint_key: {{ worker_taint.key }} - worker_taint_value: {{ worket_taint.value }} - worker_taint_effect: {{ worker_taint.effect }} Tainting worker nodes is enabled if the doni_enable_worker_taint site config option is set to True, by default, it is set to False. This change is introduced to ensure that worker_nodes only schedule pods that are meant to be deployed on worker nodes and to avoid the scheduling of core services on worker nodes
- Loading branch information