Merge pull request #74 from TracyBin/master

开启ipv4内核转发之前加载br_netfilter模块
pull/75/head
gjmzj 2018-01-12 15:00:04 +08:00 committed by GitHub
commit 06e5714162
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 3 additions and 0 deletions

View File

@ -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