Skip to content

Commit a8162ed

Browse files
authored
Merge pull request kubernetes#50081 from iawia002/typo
[zh-cn] Fix a typo in the network-policies page
2 parents c501631 + 6c81d9d commit a8162ed

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

content/zh-cn/docs/concepts/services-networking/network-policies.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -234,7 +234,7 @@ Pod 的入站流量还是来自所选 Pod 的出站流量,或两者兼有。
234234
指定,第二个通过 `namespaceSelector` 指定,第三个通过 `podSelector` 指定。
235235

236236
**egress**:每个 NetworkPolicy 可包含一个 `egress` 规则的白名单列表。
237-
每个规则都允许匹配 `to``port` 部分的流量。该示例策略包含一条规则,
237+
每个规则都允许匹配 `to``ports` 部分的流量。该示例策略包含一条规则,
238238
该规则将指定端口上的流量匹配到 `10.0.0.0/24` 中的任何目的地。
239239

240240
<!--

0 commit comments

Comments
 (0)