containerd issue

This commit is contained in:
Bartal Læarsson
2025-02-28 12:24:44 +00:00
parent 24d9859b2d
commit 2d7a7f4baf
3 changed files with 18 additions and 9 deletions
@@ -76,11 +76,11 @@
register: node_ready
changed_when: false
- name: Remove taint from control plane node
shell: kubectl --kubeconfig=/etc/kubernetes/admin.conf taint nodes --all node-role.kubernetes.io/control-plane-
register: taint_result
changed_when: "'untainted' in taint_result.stdout"
failed_when: false # This might fail if the taint doesn't exist, which is fine
# - name: Remove taint from control plane node
# shell: kubectl --kubeconfig=/etc/kubernetes/admin.conf taint nodes --all node-role.kubernetes.io/control-plane-
# register: taint_result
# changed_when: "'untainted' in taint_result.stdout"
# failed_when: false # This might fail if the taint doesn't exist, which is fine
- name: Remove load balancer label from all nodes
shell: kubectl --kubeconfig=/etc/kubernetes/admin.conf label nodes --all node.kubernetes.io/exclude-from-external-load-balancers-