K8s Cluster Upgrade Control Plane
kubeadm
supports upgrading Kubernetes clusters.
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.28.2-00
Restart the kubelet.
Review the plan and apply.
Comments
Post a Comment