Skip to content

Commit e9bfdf6

Browse files
authored
Merge pull request #40016 from asa3311/zh]-sync-endpoint-slices.md
[zh] sync endpoint-slices,persistent-volumes,topology-aware-hints
2 parents 0dabbdc + 115f9e7 commit e9bfdf6

File tree

3 files changed

+8
-8
lines changed

3 files changed

+8
-8
lines changed

content/zh-cn/docs/concepts/services-networking/endpoint-slices.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -176,7 +176,7 @@ the pod is also terminating.
176176

177177
{{< note >}}
178178
<!--
179-
Although `serving` is almost identical to `ready`, it was added to prevent break the existing meaning
179+
Although `serving` is almost identical to `ready`, it was added to prevent breaking the existing meaning
180180
of `ready`. It may be unexpected for existing clients if `ready` could be `true` for terminating
181181
endpoints, since historically terminating endpoints were never included in the Endpoints or
182182
EndpointSlice API to begin with. For this reason, `ready` is _always_ `false` for terminating
@@ -433,13 +433,13 @@ at different times.
433433
<!--
434434
Clients of the EndpointSlice API must iterate through all the existing EndpointSlices
435435
associated to a Service and build a complete list of unique network endpoints. It is
436-
important to mention that endpoints may be duplicated in different EndointSlices.
436+
important to mention that endpoints may be duplicated in different EndpointSlices.
437437

438438
You can find a reference implementation for how to perform this endpoint aggregation
439439
and deduplication as part of the `EndpointSliceCache` code within `kube-proxy`.
440440
-->
441441
EndpointSlice API 的客户端必须遍历与 Service 关联的所有现有 EndpointSlices,
442-
并构建唯一网络端点的完整列表。值得一提的是端点可能在不同的 EndointSlices 中重复。
442+
并构建唯一网络端点的完整列表。值得一提的是端点可能在不同的 EndpointSlices 中重复。
443443

444444
你可以在 `kube-proxy` 中的 `EndpointSliceCache` 代码中找到有关如何执行此端点聚合和重复数据删除的参考实现。
445445
{{< /note >}}

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

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -218,11 +218,11 @@ Kubernetes 控制平面和每个节点上的 kube-proxy,在使用拓扑感知
218218
<!--
219219
5. **A zone is not represented in hints:** If the kube-proxy is unable to find
220220
at least one endpoint with a hint targeting the zone it is running in, it falls
221-
to using endpoints from all zones. This is most likely to happen as you add
221+
back to using endpoints from all zones. This is most likely to happen as you add
222222
a new zone into your existing cluster.
223223
-->
224224
5. **不在提示中的区域:** 如果 kube-proxy 不能根据一个指示在它所在的区域中发现一个端点,
225-
它回撤为使用所有节点的端点。当你的集群新增一个新的区域时,这种情况发生概率很高。
225+
它将回退到使用来自所有区域的端点。当你的集群新增一个新的区域时,这种情况发生概率很高。
226226

227227
<!--
228228
## Constraints

content/zh-cn/docs/concepts/storage/persistent-volumes.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -150,7 +150,7 @@ needs to enable the `DefaultStorageClass`
150150
on the API server. This can be done, for example, by ensuring that `DefaultStorageClass` is
151151
among the comma-delimited, ordered list of values for the `--enable-admission-plugins` flag of
152152
the API server component. For more information on API server command-line flags,
153-
check [kube-apiserver](/docs/admin/kube-apiserver/) documentation.
153+
check [kube-apiserver](/docs/reference/command-line-tools-reference/kube-apiserver/) documentation.
154154
-->
155155
为了基于存储类完成动态的存储制备,集群管理员需要在 API 服务器上启用 `DefaultStorageClass`
156156
[准入控制器](/zh-cn/docs/reference/access-authn-authz/admission-controllers/#defaultstorageclass)
@@ -1897,7 +1897,7 @@ and `CrossNamespaceVolumeDataSource`
18971897
the kube-apiserver, kube-controller-manager.
18981898
Also, you must enable the `CrossNamespaceVolumeDataSource` feature gate for the csi-provisioner.
18991899

1900-
Enabling the `CrossNamespaceVolumeDataSource` feature gate allow you to specify
1900+
Enabling the `CrossNamespaceVolumeDataSource` feature gate allows you to specify
19011901
a namespace in the dataSourceRef field.
19021902
-->
19031903
Kubernetes 支持跨名字空间卷数据源。
@@ -1927,7 +1927,7 @@ ReferenceGrant 是 `gateway.networking.k8s.io` 扩展 API 的一部分。更多
19271927
<!--
19281928
## Data source references
19291929

1930-
The `dataSourceRef` field behaves almost the same as the `dataSource` field. If either one is
1930+
The `dataSourceRef` field behaves almost the same as the `dataSource` field. If one is
19311931
specified while the other is not, the API server will give both fields the same value. Neither
19321932
field can be changed after creation, and attempting to specify different values for the two
19331933
fields will result in a validation error. Therefore the two fields will always have the same

0 commit comments

Comments
 (0)