Skip to content

Commit abf9c04

Browse files
committed
[zh-cn] updated network-plugins.md
1 parent c5c88c1 commit abf9c04

File tree

1 file changed

+4
-8
lines changed

1 file changed

+4
-8
lines changed

content/zh-cn/docs/concepts/extend-kubernetes/compute-storage-net/network-plugins.md

Lines changed: 4 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,6 @@ content_type: concept
99
weight: 10
1010
-->
1111

12-
1312
<!-- overview -->
1413

1514
<!--
@@ -87,7 +86,7 @@ For specific information about how to install and manage a CNI plugin, see the d
8786
For plugin developers and users who regularly build or deploy Kubernetes, the plugin may also need specific configuration to support kube-proxy.
8887
The iptables proxy depends on iptables, and the plugin may need to ensure that container traffic is made available to iptables.
8988
For example, if the plugin connects containers to a Linux bridge, the plugin must set the `net/bridge/bridge-nf-call-iptables` sysctl to `1` to ensure that the iptables proxy functions correctly.
90-
If the plugin does not use a Linux bridge (but instead something like Open vSwitch or some other mechanism) it should ensure container traffic is appropriately routed for the proxy.
89+
If the plugin does not use a Linux bridge, but uses something like Open vSwitch or some other mechanism instead, it should ensure container traffic is appropriately routed for the proxy.
9190
-->
9291
## 网络插件要求 {#network-plugin-requirements}
9392

@@ -96,7 +95,7 @@ If the plugin does not use a Linux bridge (but instead something like Open vSwit
9695
iptables 代理依赖于 iptables,插件可能需要确保 iptables 能够监控容器的网络通信。
9796
例如,如果插件将容器连接到 Linux 网桥,插件必须将 `net/bridge/bridge-nf-call-iptables`
9897
sysctl 参数设置为 `1`,以确保 iptables 代理正常工作。
99-
如果插件不使用 Linux 网桥(而是类似于 Open vSwitch 或者其它一些机制
98+
如果插件不使用 Linux 网桥,而是使用类似于 Open vSwitch 或者其它一些机制,
10099
它应该确保为代理对容器通信执行正确的路由。
101100

102101
<!--
@@ -143,7 +142,7 @@ CNI 网络插件支持 `hostPort`。 你可以使用官方
143142
```json
144143
{
145144
"name": "k8s-pod-network",
146-
"cniVersion": "0.3.0",
145+
"cniVersion": "0.4.0",
147146
"plugins": [
148147
{
149148
"type": "calico",
@@ -196,7 +195,7 @@ CNI 网络插件还支持 pod 入口和出口流量整形。
196195
```json
197196
{
198197
"name": "k8s-pod-network",
199-
"cniVersion": "0.3.0",
198+
"cniVersion": "0.4.0",
200199
"plugins": [
201200
{
202201
"type": "calico",
@@ -239,6 +238,3 @@ metadata:
239238
```
240239

241240
## {{% heading "whatsnext" %}}
242-
243-
244-

0 commit comments

Comments
 (0)