Upgrading a cluster using older version of kubeadm
Hi, I have a kubic cluster set up with kubeadm. It is running 1.21.3 and I would like to upgrade it to 1.21.4 . Since the kubeadm version is 1.22.1 (too new) kubeadm upgrade apply v1.21.4 fails Kubeadm version v1.22.1 can only be used to upgrade to Kubernetes version 1.22 I have tried installing an older kubeadm but that seems cause dependency issues: $ transactional-update pkg install kubernetes1.21-kubeadm (snip) Problem: the installed kubernetes1.22-kubeadm-1.22.1-1.1.x86_64 conflicts with 'kubernetes-kubeadm-provider' provided by the to be installed kubernetes1.21-kubeadm-1.21.4-1.1.x86_64 Solution 1: Following actions will be done: deinstallation of kubernetes1.22-kubeadm-1.22.1-1.1.x86_64 deinstallation of kubernetes-kubeadm-1.22.1-20.2.x86_64 deinstallation of kubicd-0.12-1.1.x86_64 deinstallation of patterns-containers-kubeadm-5.0-24.3.x86_64 deinstallation of patterns-containers-kubic_admin-5.0-24.3.x86_64 deinstallation of patterns-containers-kubic_worker-5.0-24.3.x86_64 Solution 2: do not install kubernetes1.21-kubeadm-1.21.4-1.1.x86_64 Is this scenario supported or do I have to always bite the bullet and upgrade to the latest and greatest version? This can become problematic if various applications are not yet ready to upgrade. Thanks, Robert
participants (1)
-
Robert Munteanu