Skip to content

Commit 8025611

Browse files
authored
Merge pull request #36737 from yanrongshi/zh-cn]Sync-1.25-content/zh-cn/docs/reference/command-line-tools-reference/feature-gates.md
[zh-cn]Correct CheckpointContainer to ContainerCheckpoint
2 parents 70f6fa8 + 8e2794c commit 8025611

File tree

2 files changed

+21
-16
lines changed

2 files changed

+21
-16
lines changed

content/zh-cn/docs/reference/command-line-tools-reference/feature-gates.md

Lines changed: 17 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -106,7 +106,7 @@ different Kubernetes components.
106106
| `AnyVolumeDataSource` | `false` | Alpha | 1.18 | 1.23 |
107107
| `AnyVolumeDataSource` | `true` | Beta | 1.24 | |
108108
| `AppArmor` | `true` | Beta | 1.4 | |
109-
| `CheckpointContainer` | `false` | Alpha | 1.25 | |
109+
| `ContainerCheckpoint` | `false` | Alpha | 1.25 | |
110110
| `CPUManager` | `false` | Alpha | 1.8 | 1.9 |
111111
| `CPUManager` | `true` | Beta | 1.10 | |
112112
| `CPUManagerPolicyAlphaOptions` | `false` | Alpha | 1.23 | |
@@ -727,14 +727,16 @@ Each feature gate is designed for enabling/disabling a specific feature:
727727
- `APIResponseCompression`: Compress the API responses for `LIST` or `GET` requests.
728728
- `APIServerIdentity`: Assign each API server an ID in a cluster.
729729
- `APIServerTracing`: Add support for distributed tracing in the API server.
730-
See [Traces for Kubernetes System Components](/docs/concepts/cluster-administration/traces-for-kubernetes-system-components) for more details.
730+
See [Traces for Kubernetes System Components](/docs/concepts/cluster-administration/system-traces)
731+
for more details.
731732
-->
732733
- `APIListChunking`:启用 API 客户端以块的形式从 API 服务器检索(“LIST” 或 “GET”)资源。
733734
- `APIPriorityAndFairness`:在每个服务器上启用优先级和公平性来管理请求并发(由 `RequestManagement` 重命名而来)。
734735
- `APIResponseCompression`:压缩 “LIST” 或 “GET” 请求的 API 响应。
735736
- `APIServerIdentity`:为集群中的每个 API 服务器赋予一个 ID。
736737
- `APIServerTracing`:为集群中的每个 API 服务器添加对分布式跟踪的支持。
737-
参阅[针对 Kubernetes 系统组件的追踪](/zh-cn/docs/concepts/cluster-administration/system-traces/)获取更多详细信息。
738+
参阅[针对 Kubernetes 系统组件的追踪](/zh-cn/docs/concepts/cluster-administration/system-traces/)
739+
获取更多详细信息。
738740
<!--
739741
- `Accelerators`: Provided an early form of plugin to enable Nvidia GPU support when using
740742
Docker Engine; no longer available. See
@@ -779,7 +781,7 @@ Each feature gate is designed for enabling/disabling a specific feature:
779781
flag `--service-account-extend-token-expiration=false`.
780782
Check [Bound Service Account Tokens](https://github.com/kubernetes/enhancements/blob/master/keps/sig-auth/1205-bound-service-account-tokens/README.md)
781783
for more details.
782-
- `CheckpointContainer`: Enables the kubelet `checkpoint` API.
784+
- `ContainerCheckpoint`: Enables the kubelet `checkpoint` API.
783785
See [Kubelet Checkpoint API](/docs/reference/node/kubelet-checkpoint-api/) for more details.
784786
- `ControllerManagerLeaderMigration`: Enables Leader Migration for
785787
[kube-controller-manager](/docs/tasks/administer-cluster/controller-manager-leader-migration/#initial-leader-migration-configuration) and
@@ -800,7 +802,7 @@ Each feature gate is designed for enabling/disabling a specific feature:
800802
如果没有这种类型的负载,你可以在启动 `kube-apiserver` 时添加
801803
`--service-account-extend-token-expiration=false` 参数关闭扩展令牌。
802804
查看[绑定服务账号令牌](https://github.com/kubernetes/enhancements/blob/master/keps/sig-auth/1205-bound-service-account-tokens/README.md)获取更多详细信息。
803-
- `CheckpointContainer`:启用 kubelet `checkpoint` API。
805+
- `ContainerCheckpoint`:启用 kubelet `checkpoint` API。
804806
参阅 [Kubelet Checkpoint API](/zh-cn/docs/reference/node/kubelet-checkpoint-api/) 获取更多详细信息。
805807
- `ControllerManagerLeaderMigration`:为
806808
[kube-controller-manager](/zh-cn/docs/tasks/administer-cluster/controller-manager-leader-migration/#initial-leader-migration-configuration)
@@ -1467,7 +1469,8 @@ Each feature gate is designed for enabling/disabling a specific feature:
14671469
- `KubeletTracing`: Add support for distributed tracing in the kubelet.
14681470
When enabled, kubelet CRI interface and authenticated http servers are instrumented to generate
14691471
OpenTelemetry trace spans.
1470-
See [Traces for Kubernetes System Components](/docs/concepts/cluster-administration/traces-for-kubernetes-system-components) for more details.
1472+
See [Traces for Kubernetes System Components](/docs/concepts/cluster-administration/system-traces)
1473+
for more details.
14711474
- `LegacyServiceAccountTokenNoAutoGeneration`: Stop auto-generation of Secret-based
14721475
[service account tokens](/docs/reference/access-authn-authz/authentication/#service-account-tokens).
14731476
-->
@@ -1481,7 +1484,8 @@ Each feature gate is designed for enabling/disabling a specific feature:
14811484
`ServiceNodeExclusion` 对应特性所提供的标签。
14821485
- `KubeletTracing`:新增在 Kubelet 中对分布式追踪的支持。
14831486
启用时,kubelet CRI 接口和经身份验证的 http 服务器被插桩以生成 OpenTelemetry 追踪 span。
1484-
参阅[针对 Kubernetes 系统组件的追踪](/zh-cn/docs/concepts/cluster-administration/system-traces/)获取更多详细信息。
1487+
参阅[针对 Kubernetes 系统组件的追踪](/zh-cn/docs/concepts/cluster-administration/system-traces/)
1488+
获取更多详细信息。
14851489
- `LegacyServiceAccountTokenNoAutoGeneration`:停止基于 Secret
14861490
自动生成[服务账号令牌](/zh-cn/docs/reference/access-authn-authz/authentication/#service-account-tokens)
14871491
<!--
@@ -1625,7 +1629,7 @@ Each feature gate is designed for enabling/disabling a specific feature:
16251629
- `PodPriority`: Enable the descheduling and preemption of Pods based on their
16261630
[priorities](/docs/concepts/scheduling-eviction/pod-priority-preemption/).
16271631
- `PodReadinessGates`: Enable the setting of `PodReadinessGate` field for extending
1628-
Pod readiness evaluation. See [Pod readiness gate](/docs/concepts/scheduling-eviction/lifecycle/#pod-readiness-gate)
1632+
Pod readiness evaluation. See [Pod readiness gate](/docs/concepts/workloads/pods/pod-lifecycle/#pod-readiness-gate)
16291633
for more details.
16301634
- `PodSecurity`: Enables the `PodSecurity` admission plugin.
16311635
- `PodShareProcessNamespace`: Enable the setting of `shareProcessNamespace` in a Pod for sharing
@@ -1639,7 +1643,7 @@ Each feature gate is designed for enabling/disabling a specific feature:
16391643
的 Pod 调度和抢占。
16401644
- `PodReadinessGates`:启用 `podReadinessGate` 字段的设置以扩展 Pod 准备状态评估。
16411645
有关更多详细信息,请参见
1642-
[Pod 就绪状态判别](/zh-cn/docs/concepts/scheduling-eviction/lifecycle/#pod-readiness-gate)
1646+
[Pod 就绪状态判别](/zh-cn/docs/concepts/workloads/pods/pod-lifecycle/#pod-readiness-gate)
16431647
- `PodSecurity`: 开启 `PodSecurity` 准入控制插件。
16441648
- `PodShareProcessNamespace`:在 Pod 中启用 `shareProcessNamespace` 的设置,
16451649
以便在 Pod 中运行的容器之间共享同一进程名字空间。更多详细信息,请参见
@@ -1720,7 +1724,8 @@ Each feature gate is designed for enabling/disabling a specific feature:
17201724
- `RootCAConfigMap`:配置 `kube-controller-manager`,使之发布一个名为 `kube-root-ca.crt`
17211725
的 {{< glossary_tooltip text="ConfigMap" term_id="configmap" >}},
17221726
到所有名字空间中。该 ConfigMap 包含用来验证与 kube-apiserver 之间连接的 CA 证书包。
1723-
参阅[绑定服务账户令牌](https://github.com/kubernetes/enhancements/blob/master/keps/sig-auth/1205-bound-service-account-tokens/README.md)以了解更多细节。
1727+
参阅[绑定服务账户令牌](https://github.com/kubernetes/enhancements/blob/master/keps/sig-auth/1205-bound-service-account-tokens/README.md)
1728+
以了解更多细节。
17241729
<!--
17251730
- `RotateKubeletClientCertificate`: Enable the rotation of the client TLS certificate on the kubelet.
17261731
See [kubelet configuration](/docs/reference/access-authn-authz/kubelet-tls-bootstrapping/#kubelet-configuration)
@@ -1825,7 +1830,7 @@ Each feature gate is designed for enabling/disabling a specific feature:
18251830
- `SizeMemoryBackedVolumes`: Enable kubelets to determine the size limit for
18261831
memory-backed volumes (mainly `emptyDir` volumes).
18271832
- `StartupProbe`: Enable the
1828-
[startup](/docs/concepts/scheduling-eviction/lifecycle/#when-should-you-use-a-startup-probe)
1833+
[startup](/docs/concepts/workloads/pods/pod-lifecycle/#when-should-you-use-a-startup-probe)
18291834
probe in the kubelet.
18301835
- `StatefulSetMinReadySeconds`: Allows `minReadySeconds` to be respected by
18311836
the StatefulSet controller.
@@ -1834,7 +1839,7 @@ Each feature gate is designed for enabling/disabling a specific feature:
18341839
请参见[为 Pod 设置 `setHostnameAsFQDN` 字段](/zh-cn/docs/concepts/services-networking/dns-pod-service/#pod-sethostnameasfqdn-field)
18351840
- `SizeMemoryBackedVolumes`:允许 kubelet 检查基于内存制备的卷的尺寸约束(目前主要针对 `emptyDir` 卷)。
18361841
- `StartupProbe`:在 kubelet
1837-
中启用[启动探针](/zh-cn/docs/concepts/scheduling-eviction/lifecycle/#when-should-you-use-a-startup-probe)
1842+
中启用[启动探针](/zh-cn/docs/concepts/workloads/pods/pod-lifecycle/#when-should-you-use-a-startup-probe)
18381843
- `StatefulSetMinReadySeconds`: 允许 StatefulSet 控制器采纳 `minReadySeconds` 设置。
18391844
<!--
18401845
- `StorageObjectInUseProtection`: Postpone the deletion of PersistentVolume or

content/zh-cn/docs/reference/node/kubelet-checkpoint-api.md

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -139,7 +139,7 @@ POST /checkpoint/{namespace}/{pod}/{container}
139139
140140
401: Unauthorized
141141
142-
404: Not Found (if the `CheckpointContainer` feature gate is disabled)
142+
404: Not Found (if the `ContainerCheckpoint` feature gate is disabled)
143143
144144
404: Not Found (if the specified `namespace`, `pod` or `container` cannot be found)
145145
@@ -151,7 +151,7 @@ POST /checkpoint/{namespace}/{pod}/{container}
151151

152152
401: Unauthorized
153153

154-
404: Not Found(如果 `CheckpointContainer` 特性门控被禁用)
154+
404: Not Found(如果 `ContainerCheckpoint` 特性门控被禁用)
155155

156156
404: Not Found(如果指定的 `namespace``pod``container` 无法被找到)
157157

@@ -163,10 +163,10 @@ POST /checkpoint/{namespace}/{pod}/{container}
163163
<!--
164164
TODO: Add more information about return codes once CRI implementation have checkpoint/restore.
165165
This TODO cannot be fixed before the release, because the CRI implementation need
166-
the Kubernetes changes to be merged to implement the new CheckpointContainer CRI API
166+
the Kubernetes changes to be merged to implement the new ContainerCheckpoint CRI API
167167
call. We need to wait after the 1.25 release to fix this.
168168
-->
169169
TODO:一旦 CRI 实现具有检查点/恢复能力,就会添加有关返回码的更多信息。
170170
这个 TODO 在发布之前无法被修复,因为 CRI 实现需要先合并对 Kubernetes 的变更,
171-
才能实现新的 CheckpointContainer CRI API 调用。我们需要等到 1.25 发布后才能修复此问题。
171+
才能实现新的 ContainerCheckpoint CRI API 调用。我们需要等到 1.25 发布后才能修复此问题。
172172
{{< /comment >}}

0 commit comments

Comments
 (0)