Kubectl version skew+/-1

Asking for help? Comment out what you need so we can get more information to help you!

Cluster information:

Kubernetes version: 1.20
Cloud being used: NIL
Installation method: Vmbased installation
Host OS: Ubuntu focal
CNI and version: calico 3.20
CRI and version: Docker version/containerd.io 1.6.25

You can format your yaml by highlighting it and pressing Ctrl-Shift-C, it will make your output easier to read.

When i try to upgrade the kubernetes cluster version from 1.20 to later version am successful in upgrading to (1.20 to 1.21 ) but still the kubectl version of server is still pointing to 1.20 . how to solve this? Any suggestions would be appreciated.