mirror of
https://gitea.fenix-dev.com/fenix-gitea-admin/iac-ansible-private.git
synced 2025-12-16 19:27:37 +00:00
Update roles/kube-master/tasks/main.yml
This commit is contained in:
@ -104,6 +104,16 @@
|
||||
become: yes
|
||||
|
||||
|
||||
- name: kubernetes untaint node-role.kubernetes.io/control-plane:NoSchedule
|
||||
become: true
|
||||
shell: |
|
||||
kubectl taint nodes --all node-role.kubernetes.io/control-plane:NoSchedule-
|
||||
become_user: fenix
|
||||
environment:
|
||||
KUBECONFIG: /home/fenix/.kube/config
|
||||
ignore_errors: yes
|
||||
|
||||
|
||||
- name: kubernetes unlabel node-role.kubernetes.io/control-plane
|
||||
become: true
|
||||
shell: |
|
||||
|
||||
Reference in New Issue
Block a user