Skip to content

Commit

Permalink
[zh-cn] sync kubeadm/kubeadm-reconfigure.md
Browse files Browse the repository at this point in the history
Signed-off-by: xin.li <xin.li@daocloud.io>
  • Loading branch information
my-git9 committed Dec 5, 2023
1 parent 280f19a commit 9afe7e3
Showing 1 changed file with 10 additions and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -183,18 +183,25 @@ kubeadm init phase certs <component-name> --config <config-file>
<!--
To write new manifest files in `/etc/kubernetes/manifests` you can use:
-->
要在 `/etc/kubernetes/manifests` 中编写新的清单文件,你可以使用
要在 `/etc/kubernetes/manifests` 中编写新的清单文件,你可以使用以下命令

<!--
# For Kubernetes control plane components
# For local etcd
-->
```shell
# Kubernetes 控制平面组件
kubeadm init phase control-plane <component-name> --config <config-file>
# 本地 etcd
kubeadm init phase etcd local --config <config-file>
```

<!--
The `<config-file>` contents must match the updated `ClusterConfiguration`.
The `<component-name>` value must be the name of the component.
The `<component-name>` value must be a name of a Kubernetes control plane component (`apiserver`, `controller-manager` or `scheduler`).
-->
`<config-file>` 内容必须与更新后的 `ClusterConfiguration` 匹配。
`<component-name>` 值必须是组件的名称
`<component-name>` 值必须是一个控制平面组件(`apiserver``controller-manager``scheduler`)的名称

{{< note >}}
<!--
Expand Down

0 comments on commit 9afe7e3

Please sign in to comment.