Issue in upgrade of kubeadm cluster

Hi team,
Facing issue in CKA Labs for upgrading kubeadm cluster from v1.19.0 to v1.20.0
when running the command ```
sudo kubeadm upgrade apply v1.20.0
its gets stucked up after the step [addons] Applied essential addon: CoreDNS and not moving ahead to completion as [upgrade/successful] SUCCESS!

Please suggest here to proceed.

Hi @vissapragada2016

It’s working fine - I just tried it

At section 9 (assuming you successfully completed section8):

apt install kubeadm=1.20.0-00 -y --allow-change-held-packages
kubeadm upgrade plan v1.20.0
kubeadm upgrade apply v1.20.0
apt install kubelet=1.20.0-00 kubectl=1.20.0-00 -y --allow-change-held-packages
apt-mark hold kubeadm kubectl kubelet
kubectl uncordon controlplane
kubectl get node -o wide

Result

NAME           STATUS   ROLES                  AGE   VERSION   INTERNAL-IP   EXTERNAL-IP   OS-IMAGE             KERNEL-VERSION   CONTAINER-RUNTIME
controlplane   Ready    control-plane,master   41m   v1.20.0   10.8.160.9    <none>        Ubuntu 18.04.5 LTS   5.4.0-1080-gcp   docker://19.3.0
node01         Ready    <none>                 40m   v1.19.0   10.8.160.12   <none>        Ubuntu 18.04.5 LTS   5.4.0-1080-gcp   docker://19.3.0

To note: --allow-change-held-packages saves the step of doing
apt-mark unhold ...
Might save a few seconds in exam and is a perfectly legitimate way of doing it.