# Can I upgrade directly from 1.22 to 1.24 kubeadm cluster?

**URL:** <https://discuss.kubernetes.io/t/can-i-upgrade-directly-from-1-22-to-1-24-kubeadm-cluster/27693>\
**Category:** General Discussions\
**Created:** [April 1, 2024, 6:58am UTC](https://discuss.kubernetes.io/t/can-i-upgrade-directly-from-1-22-to-1-24-kubeadm-cluster/27693 "2024-04-01T06:58:57Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![dragana996](https://sea2.discourse-cdn.com/flex016/user_avatar/discuss.kubernetes.io/dragana996/32/14649_2.png) [@dragana996](https://discuss.kubernetes.io/u/dragana996)\
**Post date:** [April 1, 2024, 6:58am UTC](https://discuss.kubernetes.io/t/can-i-upgrade-directly-from-1-22-to-1-24-kubeadm-cluster/27693/1 "2024-04-01T06:58:57Z")

</div>

I have production and test clusters that are running Kubernetes 1.22, and I received a task to upgrade them to 1.24, now I see that the repository with versions older than 1.24 is removed. Can I skip the 1.23 version?

[root@master-node ~]# kubeadm upgrade plan v1.24.0  
[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’  
[upgrade/config] FATAL: this version of kubeadm only supports deploying clusters with the control plane version \>= 1.23.0. Current version: v1.22.0  
To see the stack trace of this error execute with --v=5 or higher

According to this skew policy it says one minor version between the controller, scheduler and the api server.

### kube-controller-manager, kube-scheduler, and cloud-controller-manager

`kube-controller-manager`, `kube-scheduler`, and `cloud-controller-manager` must not be newer than the `kube-apiserver` instances they communicate with. They are expected to match the `kube-apiserver` minor version, but may be up to one minor version older (to allow live upgrades).

Can someone give me advice how to upgrade this clusters?

---

<div class="post-metadata">

**Author:** ![fox-md](https://sea2.discourse-cdn.com/flex016/user_avatar/discuss.kubernetes.io/fox-md/32/10613_2.png) [@fox-md](https://discuss.kubernetes.io/u/fox-md)\
**Post date:** [April 1, 2024, 4:58pm UTC](https://discuss.kubernetes.io/t/can-i-upgrade-directly-from-1-22-to-1-24-kubeadm-cluster/27693/2 "2024-04-01T16:58:05Z")

</div>

Hi,  
AFAIK you can upgrade kube-proxy and kubelet to +2 version. However you cannot perform desired upgrade flow. You need to upgrade to 1.23 first.

---

<div class="post-metadata">

**Author:** ![dragana996](https://sea2.discourse-cdn.com/flex016/user_avatar/discuss.kubernetes.io/dragana996/32/14649_2.png) [@dragana996](https://discuss.kubernetes.io/u/dragana996)\
**Post date:** [April 3, 2024, 6:25am UTC](https://discuss.kubernetes.io/t/can-i-upgrade-directly-from-1-22-to-1-24-kubeadm-cluster/27693/3 "2024-04-03T06:25:54Z")

</div>

Is there a way I can upgrade to 1.23, as I now this version is removed from the repository?

---

<div class="post-metadata">

**Author:** ![mrbobbytables](https://sea2.discourse-cdn.com/flex016/user_avatar/discuss.kubernetes.io/mrbobbytables/32/7_2.png) [@mrbobbytables](https://discuss.kubernetes.io/u/mrbobbytables)\
**Post date:** [April 3, 2024, 10:36am UTC](https://discuss.kubernetes.io/t/can-i-upgrade-directly-from-1-22-to-1-24-kubeadm-cluster/27693/4 "2024-04-03T10:36:54Z")

</div>

you can still upgrade, all the binaries are available- just the legacy packages are gone. see the instructions on installing without a package manager:

> **[Installing kubeadm](https://kubernetes.io/docs/setup/production-environment/tools/kubeadm/install-kubeadm/)**
>
> This page shows how to install the kubeadm toolbox. For information on how to create a cluster with kubeadm once you have performed this installation process, see the Creating a cluster with kubeadm page.
> This installation guide is for Kubernetes...
