Skip to content

Commit

Permalink
Merge pull request #44208 from my-git9/kubeadm-reconfigure2
Browse files Browse the repository at this point in the history
[zh-cn] sync kubeadm/kubeadm-reconfigure.md
  • Loading branch information
k8s-ci-robot authored Dec 6, 2023
2 parents 38ff99e + 9afe7e3 commit e2bf851
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 e2bf851

Please sign in to comment.