Upgrade cluster
Revision | Date | Description |
|---|---|---|
| 24.07.2024 | Init Changelog |
Introduction
This Article explains how to upgrade Kubernetes Cluster managed by MicroK8.
Requirements
Root access to all Cluster Nodes
Before you go
Instructions
To upgrade Kubernetes cluster follow steps below:
Get nodes list:
kubectl get nodesDrain one node:
kubectl drain <node> --ignore-daemonsets --delete-local-dataSSH on drained node:
ssh <node>Run node upgrade with command below and wait until it’s done:
sudo snap refresh microk8s --channel <version>/stableVerify node on node list (it should be in Ready status before going to next step):
kubectl get nodesUncordon node to allow schedule pods on it:
kubectl uncordon <node>
Last modified: 17 February 2025