9 lines
362 B
YAML
9 lines
362 B
YAML
|
---
|
||
|
- name: remove control-plane taint from control-plane nodes # terminology 'control-plane' replaced 'master' in v1.20, ~Dec 2020
|
||
|
when: hostvars[node].k8s_remove_control_plane_taint | default(false)
|
||
|
kubernetes.core.k8s_taint:
|
||
|
name: "{{ node }}"
|
||
|
state: absent
|
||
|
taints:
|
||
|
- effect: NoSchedule
|
||
|
key: node-role.kubernetes.io/control-plane
|