File tree Expand file tree Collapse file tree 1 file changed +10
-3
lines changed
content/zh-cn/docs/tasks/administer-cluster/kubeadm Expand file tree Collapse file tree 1 file changed +10
-3
lines changed Original file line number Diff line number Diff line change @@ -183,18 +183,25 @@ kubeadm init phase certs <component-name> --config <config-file>
183
183
<!--
184
184
To write new manifest files in `/etc/kubernetes/manifests` you can use:
185
185
-->
186
- 要在 ` /etc/kubernetes/manifests ` 中编写新的清单文件,你可以使用 :
186
+ 要在 ` /etc/kubernetes/manifests ` 中编写新的清单文件,你可以使用以下命令 :
187
187
188
+ <!--
189
+ # For Kubernetes control plane components
190
+ # For local etcd
191
+ -->
188
192
``` shell
193
+ # Kubernetes 控制平面组件
189
194
kubeadm init phase control-plane < component-name> --config < config-file>
195
+ # 本地 etcd
196
+ kubeadm init phase etcd local --config < config-file>
190
197
```
191
198
192
199
<!--
193
200
The `<config-file>` contents must match the updated `ClusterConfiguration`.
194
- The `<component-name>` value must be the name of the component.
201
+ The `<component-name>` value must be a name of a Kubernetes control plane component (`apiserver`, `controller-manager` or `scheduler`) .
195
202
-->
196
203
` <config-file> ` 内容必须与更新后的 ` ClusterConfiguration ` 匹配。
197
- ` <component-name> ` 值必须是组件的名称 。
204
+ ` <component-name> ` 值必须是一个控制平面组件( ` apiserver ` 、 ` controller-manager ` 或 ` scheduler ` )的名称 。
198
205
199
206
{{< note >}}
200
207
<!--
You can’t perform that action at this time.
0 commit comments