Skip to content

Commit

Permalink
Add details in kubeadm-reconfigure.md for etcd
Browse files Browse the repository at this point in the history
The kubeadm init phase doesn't permit to reconfigure the etcd yaml manifest (when etcd is in local mode)
Adding the right command when etcd needs to be reconfigured

Co-authored-by: Lubomir I. Ivanov <neolit123@gmail.com>
  • Loading branch information
zwindler and neolit123 committed Nov 30, 2023
1 parent cac3c72 commit 812e0f8
Showing 1 changed file with 4 additions and 1 deletion.
Expand Up @@ -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.
Expand Down

0 comments on commit 812e0f8

Please sign in to comment.