Merge pull request #40961 from asa3311/sync-container-environment.md

[zh-cn] sync container-environment.md
pull/40712/head^2
Kubernetes Prow Robot 2023-05-04 21:47:12 -07:00 committed by GitHub
commit ddcebfb4df
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 2 additions and 2 deletions

View File

@ -87,10 +87,10 @@ FOO_SERVICE_PORT=<其上服务正运行的端口>
<!--
Services have dedicated IP addresses and are available to the Container via DNS,
if [DNS addon](https://releases.k8s.io/{{< param "fullversion" >}}/cluster/addons/dns/) is enabled. 
if [DNS addon](https://releases.k8s.io/{{< skew currentPatchVersion >}}/cluster/addons/dns/) is enabled. 
-->
服务具有专用的 IP 地址。如果启用了
[DNS 插件](https://releases.k8s.io/{{< param "fullversion" >}}/cluster/addons/dns/)
[DNS 插件](https://releases.k8s.io/{{< skew currentPatchVersion >}}/cluster/addons/dns/)
可以在容器中通过 DNS 来访问服务。
## {{% heading "whatsnext" %}}