K8s Cluster Upgrade Control Plane
In this post, we will see how to upgrade K8s master and worker node. kubeadm supports upgrading Kubernetes clusters. We will be upgrading Kubernetes from version 1.28.1 to version 1.28.2. You should always backup important data before upgrading, and test upgrades before deploying them to production. The upgrade process follows the general procedure of: Upgrading the Kubernetes control plane with kubeadm (Kubernetes components and add-ons excluding the CNI) Manually upgrading the CNI network plugin, if applicable Upgrading the Kubernetes packages ( kubelet , kubeadm , kubectl ) on the control plane and worker nodes Upgrading the kubelet config on worker nodes with kubeadm. Login to the control plane node. To begin the upgrade, first kubeadm needs to be updated to 1.28.2 : sudo apt-get update sudo apt-get install -y --allow-change-held-packages kubeadm=1...