mirror of https://github.com/easzlab/kubeasz.git
开启ipv4内核转发之前加载br_netfilter模块
parent
3b4f5879be
commit
7611edcbdf
|
@ -62,6 +62,9 @@
|
|||
- name: 设置系统参数
|
||||
copy: src=95-k8s-sysctl.conf dest=/etc/sysctl.d/95-k8s-sysctl.conf
|
||||
|
||||
- name: 加载br_netfilter模块
|
||||
shell: "modprobe br_netfilter"
|
||||
|
||||
- name: 生效系统参数
|
||||
shell: "sysctl -p /etc/sysctl.d/95-k8s-sysctl.conf"
|
||||
ignore_errors: true
|
||||
|
|
Loading…
Reference in New Issue