Skip to content

Commit 0e67c2e

Browse files
authored
Merge pull request #46286 from asa3311/sync-zh-118
[zh] sync leases topology-aware-routing downward-api
2 parents d1cb7a8 + c232b40 commit 0e67c2e

File tree

3 files changed

+10
-5
lines changed

3 files changed

+10
-5
lines changed

content/zh-cn/docs/concepts/architecture/leases.md

+2-2
Original file line numberDiff line numberDiff line change
@@ -41,7 +41,7 @@ namespace. Under the hood, every kubelet heartbeat is an **update** request to t
4141
the `spec.renewTime` field for the Lease. The Kubernetes control plane uses the time stamp of this field
4242
to determine the availability of this `Node`.
4343
44-
See [Node Lease objects](/docs/concepts/architecture/nodes/#heartbeats) for more details.
44+
See [Node Lease objects](/docs/concepts/architecture/nodes/#node-heartbeats) for more details.
4545
-->
4646
## 节点心跳 {#node-heart-beats}
4747

@@ -50,7 +50,7 @@ Kubernetes 使用 Lease API 将 kubelet 节点心跳传递到 Kubernetes API 服
5050
在此基础上,每个 kubelet 心跳都是对该 `Lease` 对象的 **update** 请求,更新该 Lease 的 `spec.renewTime` 字段。
5151
Kubernetes 控制平面使用此字段的时间戳来确定此 `Node` 的可用性。
5252

53-
更多细节请参阅 [Node Lease 对象](/zh-cn/docs/concepts/architecture/nodes/#heartbeats)
53+
更多细节请参阅 [Node Lease 对象](/zh-cn/docs/concepts/architecture/nodes/#node-heartbeats)
5454

5555
<!--
5656
## Leader election

content/zh-cn/docs/concepts/services-networking/topology-aware-routing.md

+8-1
Original file line numberDiff line numberDiff line change
@@ -347,5 +347,12 @@ Kubernetes 的部署方式有很多种,没有一种按区域分配端点的启
347347

348348
<!--
349349
* Follow the [Connecting Applications with Services](/docs/tutorials/services/connect-applications-service/) tutorial
350+
* Learn about the
351+
[trafficDistribution](/docs/concepts/services-networking/service/#trafic-distribution)
352+
field, which is closely related to the `service.kubernetes.io/topology-mode`
353+
annotation and provides flexible options for traffic routing within
354+
Kubernetes.
350355
-->
351-
* 参阅[使用 Service 连接到应用](/zh-cn/docs/tutorials/services/connect-applications-service/)教程
356+
* 参阅[使用 Service 连接到应用](/zh-cn/docs/tutorials/services/connect-applications-service/)教程。
357+
* 进一步了解 [trafficDistribution](/zh-cn/docs/concepts/services-networking/service/#trafic-distribution)字段,
358+
该字段与 `service.kubernetes.io/topology-mode` 注解密切相关,并为 Kubernetes 中的流量路由提供灵活的配置选项。

content/zh-cn/docs/concepts/workloads/pods/downward-api.md

-2
Original file line numberDiff line numberDiff line change
@@ -155,11 +155,9 @@ The following information is available through environment variables
155155
<!--
156156
`status.hostIPs`
157157
: the IP addresses is a dual-stack version of `status.hostIP`, the first is always the same as `status.hostIP`.
158-
The field is available if you enable the `PodHostIPs` [feature gate](/docs/reference/command-line-tools-reference/feature-gates/).
159158
-->
160159
`status.hostIPs`
161160
: 这组 IP 地址是 `status.hostIP` 的双协议栈版本,第一个 IP 始终与 `status.hostIP` 相同。
162-
该字段在启用了 `PodHostIPs` [特性门控](/zh-cn/docs/reference/command-line-tools-reference/feature-gates/)后可用。
163161

164162
<!--
165163
`status.podIP`

0 commit comments

Comments
 (0)