fix: remove taint from control-plane nodes

This commit is contained in:
2026-06-29 01:43:01 +01:00
parent d4e7d2ca0e
commit 2c0e7245b6
2 changed files with 10 additions and 0 deletions
@@ -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