From 812e0f8b85904f05bd9b91ed501788806fcfc6fc Mon Sep 17 00:00:00 2001 From: Denis GERMAIN Date: Thu, 30 Nov 2023 11:10:17 +0100 Subject: [PATCH] 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 --- .../tasks/administer-cluster/kubeadm/kubeadm-reconfigure.md | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/content/en/docs/tasks/administer-cluster/kubeadm/kubeadm-reconfigure.md b/content/en/docs/tasks/administer-cluster/kubeadm/kubeadm-reconfigure.md index b9cb5041d7..d2d6a83d35 100644 --- a/content/en/docs/tasks/administer-cluster/kubeadm/kubeadm-reconfigure.md +++ b/content/en/docs/tasks/administer-cluster/kubeadm/kubeadm-reconfigure.md @@ -99,11 +99,14 @@ kubeadm init phase certs --config To write new manifest files in `/etc/kubernetes/manifests` you can use: ```shell +# For Kubernetes control plane components kubeadm init phase control-plane --config +# For local etcd +kubeadm init phase etcd local --config ``` The `` contents must match the updated `ClusterConfiguration`. -The `` value must be the name of the component. +The `` 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.