From 9ceb6650d6b31979be536d9b7fd5214ac370f7e5 Mon Sep 17 00:00:00 2001 From: yongsong you Date: Tue, 20 Nov 2018 02:21:47 +0800 Subject: [PATCH] add a missing step in kubeadm-upgrade flow. (#10722) In case of external etcd, we should also modify `kubeadm-config.yaml` to set `api.advertiseAddress` to the local node's IP address. --- .../docs/tasks/administer-cluster/kubeadm/kubeadm-upgrade-ha.md | 2 ++ 1 file changed, 2 insertions(+) diff --git a/content/en/docs/tasks/administer-cluster/kubeadm/kubeadm-upgrade-ha.md b/content/en/docs/tasks/administer-cluster/kubeadm/kubeadm-upgrade-ha.md index de9296644f..860ff92cdf 100644 --- a/content/en/docs/tasks/administer-cluster/kubeadm/kubeadm-upgrade-ha.md +++ b/content/en/docs/tasks/administer-cluster/kubeadm/kubeadm-upgrade-ha.md @@ -176,6 +176,8 @@ Get a copy of the kubeadm config used to create this cluster. The config should kubectl get configmap -n kube-system kubeadm-config -o jsonpath={.data.MasterConfiguration} > kubeadm-config.yaml ``` +Open the file in an editor and set `api.advertiseAddress` to the local node's IP address. + Now run the upgrade on each control plane node one at a time. ```