Hi team, i would like to ask for your opinions, are the following steps i gathered valid to upgrade to version 1.18?
Thanks!
Upgrade the master components to exact version v1.18.0
1) Drain Master node kubectl drain master --ignore-daemonsets
- Upgrade kubeadm tool (if not already),
apt install kubeadm=1.18.0-00- master components,
kubeadm upgrade apply v1.18.0- Upgrade the kubelet.
apt install kubelet=1.18.0-00- Uncordon MASTER
kubectl uncordon master
Upgrade the worker nodes to exact version v1.18.0
- Drain Worker node
kubectl drain node01 --ignore-daemonsets- Run linux commands ssh on node01!
a) apt install kubeadm=1.18.0-00
b) apt install kubelet=1.18.0-00
c) kubeadm upgrade node
d) exit ssh!- Make worker node Schedulable again
kubectl uncordon node01