Skip to content

Commit 8a6bb2a

Browse files
authored
Merge pull request #41021 from asa3311/sync-connect-applications-service.md
[zh-cn] sync connect-applications-service.md
2 parents df16fd8 + 27a6a10 commit 8a6bb2a

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

content/zh-cn/docs/tutorials/services/connect-applications-service.md

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -240,22 +240,22 @@ about the [service proxy](/docs/concepts/services-networking/service/#virtual-ip
240240
241241
Kubernetes supports 2 primary modes of finding a Service - environment variables
242242
and DNS. The former works out of the box while the latter requires the
243-
[CoreDNS cluster addon](https://releases.k8s.io/{{< param "fullversion" >}}/cluster/addons/dns/coredns).
243+
[CoreDNS cluster addon](https://releases.k8s.io/v{{< skew currentPatchVersion >}}/cluster/addons/dns/coredns).
244244
-->
245245
## 访问 Service {#accessing-the-service}
246246
247247
Kubernetes 支持两种查找服务的主要模式:环境变量和 DNS。前者开箱即用,而后者则需要
248-
[CoreDNS 集群插件](https://releases.k8s.io/{{< param "fullversion" >}}/cluster/addons/dns/coredns)。
248+
[CoreDNS 集群插件](https://releases.k8s.io/v{{< skew currentPatchVersion >}}/cluster/addons/dns/coredns)。
249249
250250
{{< note >}}
251251
<!--
252252
If the service environment variables are not desired (because possible clashing
253253
with expected program ones, too many variables to process, only using DNS, etc)
254254
you can disable this mode by setting the `enableServiceLinks` flag to `false` on
255-
the [pod spec](/docs/reference/generated/kubernetes-api/{{< param "version" >}}/#pod-v1-core).
255+
the [pod spec](/docs/reference/generated/kubernetes-api/v{{< skew latestVersion >}}/#pod-v1-core).
256256
-->
257257
如果不需要服务环境变量(因为可能与预期的程序冲突,可能要处理的变量太多,或者仅使用DNS等),则可以通过在
258-
[pod spec](/docs/reference/generated/kubernetes-api/{{< param "version" >}}/#pod-v1-core)
258+
[pod spec](/docs/reference/generated/kubernetes-api/v{{< skew latestVersion >}}/#pod-v1-core)
259259
上将 `enableServiceLinks` 标志设置为 `false` 来禁用此模式。
260260
{{< /note >}}
261261

0 commit comments

Comments
 (0)