Operating System and Node Maintenance
We begin by discussing operating system upgrades and the considerations involved when a node is lost from the cluster, either unintentionally or due to deliberate removal for patching or upgrading purposes. Understanding these procedures is critical to ensuring minimal disruption to your Kubernetes environment.
Cluster Upgrade Process
Before upgrading your cluster, it’s important to have a solid grasp of Kubernetes releases, versioning, and best practices for selecting the appropriate upgrade pathway. Once you understand the upgrade procedure, you’ll get hands-on experience performing an end-to-end upgrade on a live cluster running applications.Before proceeding with an upgrade, always run a pre-flight check using the
kubeadm upgrade plan command. This command helps you verify the cluster’s health and fetch available upgrade versions.After upgrading the control plane with
kubeadm upgrade apply, make sure to manually upgrade components like kubelet, as highlighted in the output above.