Hello Team , i my Previous exam, i got a question to upgrade k8s using kubeadm, . . .

Harpreet Singh:
Hello Team , i my Previous exam, i got a question to upgrade k8s using kubeadm, but no all components. they specifically asked not to update etcd and kubedns
i am still not able to find any option, in which we can upgrade only selective components while applying kubeadm apply ,
Let me know if any one has worked on this and has a an answer. not able to find on documentation.

Vasu P:
Hi Harpreet,
You can use --etcd-upgrade option while upgrading.

Guray:
@Vasu P you mean, just --etcd-upgrade=false, so no need flag for kubedns, right?

Vasu P:
I believe kubedns is no more, we use coredns which will be deployed as a deployment. I think Kubeadm will not upgrade it.