Merge pull request #44157 from zwindler/zwindler-patch-kubeadm-reconfigure

Add details in kubeadm-reconfigure.md for etcd
pull/44164/head
Kubernetes Prow Robot 2023-11-30 18:11:48 +01:00 committed by GitHub
commit d3d3f08c4f
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 4 additions and 1 deletions

View File

@ -99,11 +99,14 @@ kubeadm init phase certs <component-name> --config <config-file>
To write new manifest files in `/etc/kubernetes/manifests` you can use:
```shell
# For Kubernetes control plane components
kubeadm init phase control-plane <component-name> --config <config-file>
# For local 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`).
{{< note >}}
Updating a file in `/etc/kubernetes/manifests` will tell the kubelet to restart the static Pod for the corresponding component.