Browse Source

Persist br_netfilter module loading (#1760)

pull/1799/head
Julian Poschmann 7 years ago
committed by Matthew Mosesohn
parent
commit
56763d4288
1 changed files with 6 additions and 0 deletions
  1. 6
      roles/kubernetes/node/tasks/main.yml

6
roles/kubernetes/node/tasks/main.yml

@ -79,6 +79,12 @@
state: present
when: modinfo_br_netfilter.rc == 0
- name: Persist br_netfilter module
copy:
dest: /etc/modules-load.d/kubespray-br_netfilter.conf
content: br_netfilter
when: modinfo_br_netfilter.rc == 0
# kube-proxy needs net.bridge.bridge-nf-call-iptables enabled when found if br_netfilter is not a module
- name: Check if bridge-nf-call-iptables key exists
command: "sysctl net.bridge.bridge-nf-call-iptables"

Loading…
Cancel
Save