Skip to content

Commit 812e0f8

Browse files
zwindlerneolit123
andcommitted
Add details in kubeadm-reconfigure.md for etcd
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
1 parent cac3c72 commit 812e0f8

File tree

1 file changed

+4
-1
lines changed

1 file changed

+4
-1
lines changed

content/en/docs/tasks/administer-cluster/kubeadm/kubeadm-reconfigure.md

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -99,11 +99,14 @@ kubeadm init phase certs --config
9999
To write new manifest files in `/etc/kubernetes/manifests` you can use:
100100

101101
```shell
102+
# For Kubernetes control plane components
102103
kubeadm init phase control-plane <component-name> --config <config-file>
104+
# For local etcd
105+
kubeadm init phase etcd local --config <config-file>
103106
```
104107

105108
The `` contents must match the updated `ClusterConfiguration`.
106-
The `` value must be the name of the component.
109+
The `` value must be a name of a Kubernetes control plane component (`apiserver`, `controller-manager` or `scheduler`).
107110

108111
{{< note >}}
109112
Updating a file in `/etc/kubernetes/manifests` will tell the kubelet to restart the static Pod for the corresponding component.

0 commit comments

Comments
 (0)