mirror of
https://gitea.fenix-dev.com/fenix-gitea-admin/iac-ansible-private.git
synced 2025-10-27 00:33:16 +00:00
Update roles/kube-master/tasks/main.yml
This commit is contained in:
@ -18,7 +18,7 @@
|
||||
replace:
|
||||
path: /tmp/kube-flannel.yml
|
||||
regexp: '10\.244\.0\.0/16'
|
||||
replace: '192.168.3.0/16'
|
||||
replace: '192.168.2.0/16' # .3.
|
||||
|
||||
- name: Corrigir net-conf.json no manifest do Flannel
|
||||
ansible.builtin.script:
|
||||
@ -53,7 +53,7 @@
|
||||
argv:
|
||||
- kubeadm
|
||||
- init
|
||||
- --pod-network-cidr=192.168.3.0/16
|
||||
- --pod-network-cidr=192.168.2.0/16 # .3.
|
||||
- --apiserver-advertise-address=192.168.1.150
|
||||
- --cri-socket=unix:///run/containerd/containerd.sock
|
||||
creates: /etc/kubernetes/admin.conf
|
||||
|
||||
Reference in New Issue
Block a user