โ† Kubernetes Administrator (CKA) Exam Practice learning path
Kubernetes Administrator (CKA) Exam Practice ยท Module 8 of 10

Cluster maintenance

Upgrades, backups and certificates.

๐Ÿ“– Key ideas

  1. kubeadm creates and upgrades clusters: kubeadm init, join and upgrade.
  2. Upgrade order: control plane first, then worker nodes one by one (drain, upgrade kubelet and kubectl, uncordon).
  3. Back up etcd with etcdctl snapshot save; restore with etcdutl/etcdctl snapshot restore.
  4. Certificates have expiry dates; kubeadm certs check-expiration shows them.
  5. 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