2The environment
A remote desktop with a terminal and a browser that opens the Kubernetes documentation (kubernetes.io/docs) and the few other sites the handbook allows. Your own notes are not available.
Each task is done on a designated host. The task's infobox gives the ssh command: run it first, do the task there, and exit back to the base system (hostname base) before the next task. Nested ssh is not supported, so never ssh from one task host to another. Node-level work often needs root:
ssh <host-from-the-task>
sudo -i # when the task needs root
exit # leave root
exit # back to base
The task hosts have kubectl with the k alias and completion, yq, curl and wget; base has none of them, so kubectl: command not found means you have not ssh'd yet. (From the Linux Foundation's important instructions for the CKA and CKAD, checked 20 Nov 2026.)
6Cluster tasks to have done many times
Back up and restore etcd. Take the certificate paths from the etcd Pod's manifest, never from memory:
sudo -i
grep -E 'cert-file|key-file|trusted-ca-file|listen-client-urls' /etc/kubernetes/manifests/etcd.yaml
ETCDCTL_API=3 etcdctl snapshot save /opt/etcd-backup.db \
--endpoints=https://127.0.0.1:2379 \
--cacert=/etc/kubernetes/pki/etcd/ca.crt \
--cert=/etc/kubernetes/pki/etcd/server.crt \
--key=/etc/kubernetes/pki/etcd/server.key
Upgrade with kubeadm. The control plane first, then each compute node; drain before and uncordon after:
kubeadm upgrade plan
kubeadm upgrade apply v1.x.y # on the control plane
kubectl drain <node> --ignore-daemonsets
kubeadm upgrade node # on each compute node
systemctl restart kubelet
kubectl uncordon <node>
The exact package commands depend on the version; the Kubernetes docs page "Upgrading kubeadm clusters" has them, and it is allowed.
A node that is NotReady. Start with the kubelet:
systemctl status kubelet
journalctl -u kubelet --no-pager | tail -50
A wrong path or flag in /var/lib/kubelet/config.yaml or the kubelet's drop-in file is a classic. Fix it, then systemctl daemon-reload && systemctl restart kubelet.
A broken control plane component. Its manifest is in /etc/kubernetes/manifests/; the kubelet restarts the static Pod when the file changes. If kubectl itself stops answering, read the container's logs with crictl ps -a and crictl logs <id>.
7Commands worth knowing by heart
k get nodes -o wide
k describe node <node> | grep -A5 Taints
k get events -A --sort-by=.lastTimestamp | tail
k auth can-i list pods --as=system:serviceaccount:<ns>:<sa>
k create role reader --verb=get,list --resource=pods $do
k create rolebinding reader --role=reader --serviceaccount=<ns>:<sa> $do
k get pv,pvc -A
k explain pod.spec.tolerations
8How to practice
Work through the Gazeek CKA labs on a real kubeadm cluster: Learn shows every command, Practice gives you the goal and a nudge, Prove gives you only the goal, as the exam does. Break things on purpose and fix them; the troubleshooting marks come from having seen the failure before. The Memory Gym's CKA sets keep the facts fresh between labs.