You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: content/zh-cn/docs/setup/production-environment/container-runtimes.md
+40-14Lines changed: 40 additions & 14 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -99,20 +99,11 @@ For more information, see [Network Plugin Requirements](/docs/concepts/extend-ku
99
99
<!--
100
100
### Forwarding IPv4 and letting iptables see bridged traffic
101
101
102
-
Verify that the `br_netfilter` module is loaded by running `lsmod | grep br_netfilter`.
103
-
104
-
To load it explicitly, run `sudo modprobe br_netfilter`.
105
-
106
-
In order for a Linux node's iptables to correctly view bridged traffic, verify that `net.bridge.bridge-nf-call-iptables` is set to 1 in your `sysctl` config. For example:
为了让 Linux 节点的 iptables 能够正确查看桥接流量,请确认 `sysctl` 配置中的
115
-
`net.bridge.bridge-nf-call-iptables` 设置为 1。例如:
106
+
执行下述指令:
116
107
117
108
```bash
118
109
cat <<EOF | sudo tee /etc/modules-load.d/k8s.conf
@@ -134,6 +125,26 @@ EOF
134
125
sudo sysctl --system
135
126
```
136
127
128
+
<!--
129
+
Verify that the `br_netfilter`, `overlay` modules are loaded by running below instructions:
130
+
-->
131
+
通过运行以下指令确认 `br_netfilter` 和 `overlay` 模块被加载:
132
+
133
+
```bash
134
+
lsmod | grep br_netfilter
135
+
lsmod | grep overlay
136
+
```
137
+
138
+
<!--
139
+
Verify that the `net.bridge.bridge-nf-call-iptables`, `net.bridge.bridge-nf-call-ip6tables`, `net.ipv4.ip_forward` system variables are set to 1 in your `sysctl` config by running below instruction:
0 commit comments