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

This commit is contained in:
2025-10-15 14:54:37 +00:00
parent ace94872d8
commit c1d567c560

View File

@ -55,6 +55,10 @@
regexp: '10\.244\.0\.0/16'
replace: '192.168.3.0/16'
- name: cat flannel
shell: |
cat /tmp/kube-flannel.yml
- name: Forçar uso da interface correta
replace:
path: /tmp/kube-flannel.yml
@ -70,6 +74,11 @@
- --kube-subnet-mgr
- --iface=eth1
- name: cat flannel
shell: |
cat /tmp/kube-flannel.yml
- name: Aplicar o manifest do Flannel
shell: |
kubectl apply -f /tmp/kube-flannel.yml