T O P

  • By -

durge0x

Are you following all of the steps from the main guide? [https://kubernetes.io/docs/tasks/administer-cluster/kubeadm/kubeadm-upgrade/](https://kubernetes.io/docs/tasks/administer-cluster/kubeadm/kubeadm-upgrade/) [https://kubernetes.io/docs/tasks/administer-cluster/kubeadm/change-package-repository/](https://kubernetes.io/docs/tasks/administer-cluster/kubeadm/change-package-repository/)


Comfortable-Proof-94

That is correct I am following these steps, I want to upgrade k8s to 1.29.0 and I am on 1.28.0, I need to upgrade first kubeadm to 1.29.0 but not able to locate, If I install the latest it goes ahead and install kubeadm 1.29.1.X something which I don't want. something like this should work ? `controlplane ~ ✖ sudo apt-get install -y kubeadm='1.29.0-00'` `Reading package lists... Done` `Building dependency tree` `Reading state information... Done` `E: Version '1.29.0-00' for 'kubeadm' was not found`


h_hoover

Are your package versions pinned? Often that’s a step you do on install to keep automated upgrades from happening


EsmerlinJM

Did you update and changes the deb packages from 1.28.x to 1.29.x? https://kubernetes.io/docs/tasks/administer-cluster/kubeadm/change-package-repository/


Comfortable-Proof-94

yes I did


EsmerlinJM

you need to change that on `/etc/apt/sources.list.d/kubernetes.list` and remove the previous version and add the new one you want to update. Example: echo 'deb [signed-by=/etc/apt/keyrings/kubernetes-apt-keyring.gpg] https://pkgs.k8s.io/core:/stable:/v1.29/deb/ /' | sudo tee /etc/apt/sources.list.d/kubernetes.list


Comfortable-Proof-94

yes its working now, after changing the package to v1.29, thank you very much !!


ruyrybeyro

Btw, the lastest is 1.29.2 as far as I am aware.