โ Kubernetes Administrator (CKA) Exam Practice learning pathKubernetes Administrator (CKA) Exam Practice ยท Module 8 of 10
Cluster maintenance
Upgrades, backups and certificates.
๐ Key ideas
- kubeadm creates and upgrades clusters: kubeadm init, join and upgrade.
- Upgrade order: control plane first, then worker nodes one by one (drain, upgrade kubelet and kubectl, uncordon).
- Back up etcd with etcdctl snapshot save; restore with etcdutl/etcdctl snapshot restore.
- Certificates have expiry dates; kubeadm certs check-expiration shows them.
- Static pods (manifests in /etc/kubernetes/manifests) run control plane components on kubeadm clusters.
๐ก Real-life example: Like servicing buses one at a time so the route keeps running.
kubeadmTool to bootstrap and upgrade clusters
etcd snapshotBackup of cluster state
Static podPod managed directly by kubelet from a manifest file
Rolling node upgradeUpgrading nodes one at a time