Skip to content

Commit 19b6599

Browse files
authored
Merge pull request #24093 from ChenjunZou/patch-1
Update service.md
2 parents 6321230 + d93ab40 commit 19b6599

File tree

1 file changed

+1
-1
lines changed
  • content/zh/docs/concepts/services-networking

1 file changed

+1
-1
lines changed

content/zh/docs/concepts/services-networking/service.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -197,7 +197,7 @@ As many Services need to expose more than one port, Kubernetes supports multiple
197197
port definitions on a Service object.
198198
Each port definition can have the same `protocol`, or a different one.
199199
-->
200-
Pod 中的端口定义是有名字的,你可以在服务的 `targetTarget` 属性中引用这些名称。
200+
Pod 中的端口定义是有名字的,你可以在服务的 `targetPort` 属性中引用这些名称。
201201
即使服务中使用单个配置的名称混合使用 Pod,并且通过不同的端口号提供相同的网络协议,此功能也可以使用。
202202
这为部署和发展服务提供了很大的灵活性。
203203
例如,您可以更改Pods在新版本的后端软件中公开的端口号,而不会破坏客户端。

0 commit comments

Comments
 (0)