Step-by-step guide to upgrading a multi-node MicroK8s cluster safely
Upgrading a MicroK8s cluster requires handling one node at a time to avoid downtime across the system. Each node must first be cordoned to block new pod scheduling, then drained to evict existing workloads before the upgrade begins. The MicroK8s snap is then refreshed to the next minor version channel using the snap refresh command, following Canonical's recommendation to upgrade one minor version at a time. After the upgrade, the node is uncordoned to resume pod scheduling, and the same process is repeated for remaining nodes. Once all nodes are updated, deployments can be rebalanced across the cluster by restarting rollouts to ensure pods are evenly distributed.
This is an AI-generated summary. ShortSingh links to the original source for the complete article.
Discussion (0)
Log in to join the discussion and vote.
Log in