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.
pull/11096/head
yongsong you 2018-11-20 02:21:47 +08:00 committed by k8s-ci-robot
parent c405c01039
commit 9ceb6650d6
1 changed files with 2 additions and 0 deletions

View File

@ -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.
```