@Mumshad Mannambeth @Trung Tran I have a question in k8s upgrade. when i am chec . . .

vikas awasthy:
@Mumshad Mannambeth @Trung Tran I have a question in k8s upgrade. when i am checking latest k8s version to upgrade using kubadm upgrade plan command i am getting below output-

root@master-vm:/home/ubuntu# kubeadm upgrade plan
[upgrade/config] Making sure the configuration is correct:
[upgrade/config] Reading configuration from the cluster...
[upgrade/config] FYI: You can look at this config file with 'kubectl -n kube-system get cm kubeadm-config -o yaml'
[preflight] Running pre-flight checks.
[upgrade] Running cluster health checks
[upgrade] Fetching available versions to upgrade to
[upgrade/versions] Cluster version: v1.21.6
[upgrade/versions] kubeadm version: v1.21.5
I1029 13:22:58.082322   26232 version.go:254] remote version is much newer: v1.22.3; falling back to: stable-1.21
[upgrade/versions] Target version: v1.21.6
[upgrade/versions] Latest version in the v1.21 series: v1.21.6    

based on above output can i upgrade my k8s cluster from current 1.21.5 to 1.22.1 ?

Tej_Singh_Rana:
Hello, @vikas awasthy
Please upgrade your kubeadm tool to 1.22.x first then run this command again.