fix: remove taint from control-plane nodes
This commit is contained in:
@@ -49,6 +49,9 @@
|
||||
args:
|
||||
creates: $HOME/.kube/config
|
||||
|
||||
- name: Untaint control planes
|
||||
ansible.builtin.import_tasks: untaint.yaml
|
||||
|
||||
- name: Install Kubernetes CLI
|
||||
ansible.builtin.apt:
|
||||
pkg:
|
||||
|
||||
@@ -0,0 +1,7 @@
|
||||
- name: Remove control plane NoSchedule taint from all nodes
|
||||
kubernetes.core.k8s_taint:
|
||||
state: absent
|
||||
name: "{{ inventory_hostname_short }}"
|
||||
taints:
|
||||
- key: node-role.kubernetes.io/control-plane
|
||||
effect: NoSchedule
|
||||
Reference in New Issue
Block a user