Skip to content

Commit bb66a95

Browse files
committed
[zh] sync concepts/cluster-administration/coordinated-leader-election.md
1 parent 8477eac commit bb66a95

File tree

1 file changed

+8
-8
lines changed

1 file changed

+8
-8
lines changed

content/zh-cn/docs/concepts/cluster-administration/coordinated-leader-election.md

Lines changed: 8 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -16,15 +16,15 @@ weight: 200
1616
{{< feature-state feature_gate_name="CoordinatedLeaderElection" >}}
1717

1818
<!--
19-
Kubernetes {{< skew currentVersion >}} includes an alpha feature that allows {{<
19+
Kubernetes {{< skew currentVersion >}} includes a beta feature that allows {{<
2020
glossary_tooltip text="control plane" term_id="control-plane" >}} components to
2121
deterministically select a leader via _coordinated leader election_.
2222
This is useful to satisfy Kubernetes version skew constraints during cluster upgrades.
2323
Currently, the only builtin selection strategy is `OldestEmulationVersion`,
2424
preferring the leader with the lowest emulation version, followed by binary
2525
version, followed by creation timestamp.
2626
-->
27-
Kubernetes {{< skew currentVersion >}} 包含一个 Alpha 特性,
27+
Kubernetes {{< skew currentVersion >}} 包含一个 Beta 特性,
2828
允许{{< glossary_tooltip text="控制平面" term_id="control-plane" >}}组件通过**协调领导者选举**确定性地选择一个领导者。
2929
这对于在集群升级期间满足 Kubernetes 版本偏差约束非常有用。
3030
目前,唯一内置的选择策略是 `OldestEmulationVersion`
@@ -36,34 +36,34 @@ Kubernetes {{< skew currentVersion >}} 包含一个 Alpha 特性,
3636
Ensure that `CoordinatedLeaderElection` [feature
3737
gate](/docs/reference/command-line-tools-reference/feature-gates/) is enabled
3838
when you start the {{< glossary_tooltip text="API Server"
39-
term_id="kube-apiserver" >}}: and that the `coordination.k8s.io/v1alpha1` API group is
39+
term_id="kube-apiserver" >}}: and that the `coordination.k8s.io/v1beta1` API group is
4040
enabled.
4141
-->
4242
## 启用协调领导者选举 {#enabling-coordinated-leader-election}
4343

4444
确保你在启动 {{< glossary_tooltip text="API 服务器" term_id="kube-apiserver" >}}时
4545
`CoordinatedLeaderElection` [特性门控](/zh-cn/docs/reference/command-line-tools-reference/feature-gates/)被启用,
46-
并且 `coordination.k8s.io/v1alpha1` API 组被启用。
46+
并且 `coordination.k8s.io/v1beta1` API 组被启用。
4747

4848
<!--
4949
This can be done by setting flags `--feature-gates="CoordinatedLeaderElection=true"` and
50-
`--runtime-config="coordination.k8s.io/v1alpha1=true"`.
50+
`--runtime-config="coordination.k8s.io/v1beta1=true"`.
5151
-->
5252
此操作可以通过设置 `--feature-gates="CoordinatedLeaderElection=true"`
53-
`--runtime-config="coordination.k8s.io/v1alpha1=true"` 标志来完成。
53+
`--runtime-config="coordination.k8s.io/v1beta1=true"` 标志来完成。
5454

5555
<!--
5656
## Component configuration
5757
5858
Provided that you have enabled the `CoordinatedLeaderElection` feature gate _and_
59-
have the `coordination.k8s.io/v1alpha1` API group enabled, compatible control plane
59+
have the `coordination.k8s.io/v1beta1` API group enabled, compatible control plane
6060
components automatically use the LeaseCandidate and Lease APIs to elect a leader
6161
as needed.
6262
-->
6363
## 组件配置 {#component-configuration}
6464

6565
前提是你已启用 `CoordinatedLeaderElection` 特性门控**并且**
66-
启用了 `coordination.k8s.io/v1alpha1` API 组,
66+
启用了 `coordination.k8s.io/v1beta1` API 组,
6767
兼容的控制平面组件会自动使用 LeaseCandidate 和 Lease API 根据需要选举领导者。
6868

6969
<!--

0 commit comments

Comments
 (0)