You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
@@ -48,41 +48,41 @@ Leader Migration can be enabled by setting `--enable-leader-migration` on `kube-
48
48
Leader Migration only applies during the upgrade and can be safely disabled or left enabled after the upgrade is complete.
49
49
50
50
This guide walks you through the manual process of upgrading the control plane from `kube-controller-manager` with
51
-
built-in cloud provider to running both `kube-controller-manager` and `cloud-controller-manager`.
52
-
If you use a tool to administrator the cluster, please refer to the documentation of the tool and the cloud provider for more details.
51
+
built-in cloud provider to running both `kube-controller-manager` and `cloud-controller-manager`.
52
+
If you use a tool to deploy and manage the cluster, please refer to the documentation of the tool and the cloud provider for specific instructions of the migration.
It is assumed that the control plane is running Kubernetes version N and to be upgraded to version N + 1.
66
-
Although it is possible to migrate within the same version, ideally the migration should be performed as part of a upgrade so that changes of configuration can be aligned to each release.
67
-
The exact versions of N and N + 1 depend on each cloud provider. For example, if a cloud provider builds a `cloud-controller-manager` to work with Kubernetes 1.22, then N can be 1.21 and N + 1 can be 1.22.
65
+
It is assumed that the control plane is running Kubernetes version N and to be upgraded to version N + 1.
66
+
Although it is possible to migrate within the same version, ideally the migration should be performed as part of an upgrade so that changes of configuration can be aligned to each release.
67
+
The exact versions of N and N + 1 depend on each cloud provider. For example, if a cloud provider builds a `cloud-controller-manager` to work with Kubernetes 1.24, then N can be 1.23 and N + 1 can be 1.24.
68
68
69
-
The control plane nodes should run `kube-controller-manager` with Leader Election enabled through `--leader-elect=true`.
70
-
As of version N, an in-tree cloud privider must be set with `--cloud-provider` flag and `cloud-controller-manager` should not yet be deployed.
69
+
The control plane nodes should run `kube-controller-manager` with Leader Election enabled, which is the default.
70
+
As of version N, an in-tree cloud provider must be set with `--cloud-provider` flag and `cloud-controller-manager` should not yet be deployed.
71
71
-->
72
72
假定控制平面正在运行 Kubernetes 版本 N,要升级到版本 N+1。
73
73
尽管可以在同一版本内进行迁移,但理想情况下,迁移应作为升级的一部分执行,
74
74
以便可以配置的变更可以与发布版本变化对应起来。
75
-
N 和 N+1 的确切版本值取决于各个云厂商。例如,如果云厂商构建了一个可与 Kubernetes 1.22
76
-
配合使用的 `cloud-controller-manager`,则 N 可以为 1.21,N+1 可以为 1.22。
75
+
N 和 N+1 的确切版本值取决于各个云厂商。例如,如果云厂商构建了一个可与 Kubernetes 1.24
76
+
配合使用的 `cloud-controller-manager`,则 N 可以为 1.23,N+1 可以为 1.24。
在版本 N 中,树内云驱动必须设置 `--cloud-provider` 标志,而且 `cloud-controller-manager`
80
80
应该尚未部署。
81
81
82
82
<!--
83
-
The out-of-tree cloud provider must have built a `cloud-controller-manager` with Leader Migration implementation.
83
+
The out-of-tree cloud provider must have built a `cloud-controller-manager` with Leader Migration implementation.
84
84
If the cloud provider imports `k8s.io/cloud-provider` and `k8s.io/controller-manager` of version v0.21.0 or later, Leader Migration will be available.
85
-
However, for version before v0.22.0, Leader Migration is alpha and requires feature gate `ControllerManagerLeaderMigration` to be enabled.
85
+
However, for version before v0.22.0, Leader Migration is alpha and requires feature gate `ControllerManagerLeaderMigration` to be enabled in `cloud-controller-manager`.
86
86
87
87
This guide assumes that kubelet of each control plane node starts `kube-controller-manager`
88
88
and `cloud-controller-manager` as static pods defined by their manifests.
@@ -95,8 +95,8 @@ please grant the needed access in a way that matches the mode.
0 commit comments