Update roles/kube-master/tasks/main.yml

This commit is contained in:
2025-11-07 14:53:52 +00:00
parent 3afed3f5bd
commit baa06e11d3

View File

@ -104,15 +104,25 @@
become: yes
- name: kubernetes untaint node-role.kubernetes.io/control-plane:NoSchedule-
- name: kubernetes unlabel node-role.kubernetes.io/control-plane
become: true
shell: |
kubectl taint nodes --all node-role.kubernetes.io/control-plane:NoSchedule-
kubectl label nodes --all node-role.kubernetes.io/control-plane-
become_user: fenix
environment:
KUBECONFIG: /home/fenix/.kube/config
ignore_errors: yes
- name: kubernetes unlabel node.kubernetes.io/exclude-from-external-load-balancers
become: true
shell: |
kubectl label nodes --all node.kubernetes.io/exclude-from-external-load-balancers-
become_user: fenix
environment:
KUBECONFIG: /home/fenix/.kube/config
ignore_errors: yes
- name: cat flannel
become: true