Merge pull request #41706 from yeqiugt/main

"具有"更改为“需要”
pull/41709/head
Kubernetes Prow Robot 2023-06-20 20:04:21 -07:00 committed by GitHub
commit d4b4e0dc69
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 1 deletions

View File

@ -1868,7 +1868,7 @@ Otherwise, those client Pods won't have their environment variables populated.
If you only use DNS to discover the cluster IP for a Service, you don't need to
worry about this ordering issue.
-->
当你的 Pod 具有访问某 Service并且你在使用环境变量方法将端口和集群 IP 发布到客户端
当你的 Pod 需要访问某 Service并且你在使用环境变量方法将端口和集群 IP 发布到客户端
Pod 时,必须在客户端 Pod 出现**之前**创建该 Service。
否则,这些客户端 Pod 中将不会出现对应的环境变量。