@@ -83,17 +83,14 @@ Successfully running cloud-controller-manager requires some changes to your clus
8383你需要对集群配置做适当的修改以成功地运行云管理控制器:
8484
8585<!--
86- * `kube-apiserver` and `kube-controller-manager` MUST NOT specify the `--cloud-provider`
87- flag. This ensures that it does not run any cloud specific loops that would be run by
88- cloud controller manager. In the future, this flag will be deprecated and removed.
89- * `kubelet` must run with `--cloud-provider=external`. This is to ensure that the
90- kubelet is aware that it must be initialized by the cloud controller manager
91- before it is scheduled any work.
86+ * `kubelet`, `kube-apiserver`, and `kube-controller-manager` must be set according to the
87+ user's usage of external CCM. If the user has an external CCM (not the internal cloud
88+ controller loops in the Kubernetes Controller Manager), then `--cloud-provider=external`
89+ must be specified. Otherwise, it should not be specified.
9290-->
93- * 一定不要为 ` kube-apiserver ` 和 ` kube-controller-manager ` 指定 ` --cloud-provider ` 标志。
94- 这将保证它们不会运行任何云服务专用循环逻辑,这将会由云管理控制器运行。未来这个标记将被废弃并去除。
95- * ` kubelet ` 必须使用 ` --cloud-provider=external ` 运行。
96- 这是为了保证让 kubelet 知道在执行任何任务前,它必须被云管理控制器初始化。
91+ * ` kubelet ` 、` kube-apiserver ` 和 ` kube-controller-manager ` 必须根据用户对外部 CCM 的使用进行设置。
92+ 如果用户有一个外部的 CCM(不是 Kubernetes 控制器管理器中的内部云控制器回路),
93+ 那么必须添加 ` --cloud-provider=external ` 参数。否则,不应添加此参数。
9794
9895<!--
9996Keep in mind that setting up your cluster to use cloud controller manager will
@@ -102,7 +99,7 @@ change your cluster behaviour in a few ways:
10299请记住,设置集群使用云管理控制器将用多种方式更改集群行为:
103100
104101<!--
105- * kubelets specifying `--cloud-provider=external` will add a taint
102+ * Components that specify `--cloud-provider=external` will add a taint
106103 `node.cloudprovider.kubernetes.io/uninitialized` with an effect `NoSchedule`
107104 during initialization. This marks the node as needing a second initialization
108105 from an external controller before it can be scheduled work. Note that in the
@@ -111,7 +108,7 @@ change your cluster behaviour in a few ways:
111108 require cloud specific information about nodes such as their region or type
112109 (high cpu, gpu, high memory, spot instance, etc).
113110-->
114- * 指定了 ` --cloud-provider=external ` 的 kubelet 将被添加一个 ` node.cloudprovider.kubernetes.io/uninitialized `
111+ * 指定了 ` --cloud-provider=external ` 的组件将被添加一个 ` node.cloudprovider.kubernetes.io/uninitialized `
115112 的污点,导致其在初始化过程中不可调度(` NoSchedule ` )。
116113 这将标记该节点在能够正常调度前,需要外部的控制器进行二次初始化。
117114 请注意,如果云管理控制器不可用,集群中的新节点会一直处于不可调度的状态。
0 commit comments