Merge pull request #25896 from kylejep/patch-2

Update install-kubeadm.md
pull/25948/head
Kubernetes Prow Robot 2021-01-04 17:15:57 -08:00 committed by GitHub
commit 281df0c16b
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 4 additions and 0 deletions

View File

@ -59,6 +59,10 @@ Make sure that the `br_netfilter` module is loaded. This can be done by running
As a requirement for your Linux Node's iptables to correctly see bridged traffic, you should ensure `net.bridge.bridge-nf-call-iptables` is set to 1 in your `sysctl` config, e.g.
```bash
cat <<EOF | sudo tee /etc/modules-load.d/k8s.conf
br_netfilter
EOF
cat <<EOF | sudo tee /etc/sysctl.d/k8s.conf
net.bridge.bridge-nf-call-ip6tables = 1
net.bridge.bridge-nf-call-iptables = 1