Kubernetes Administrator (CKA)
Run, fix and pass the hands-on CKA exam.
Prepare for the Certified Kubernetes Administrator exam by building and breaking real clusters with kubeadm. Covers every curriculum domain with heavy emphasis on troubleshooting and kubectl speed.
01Prerequisites & exam setup
The Linux, container and kubectl fluency the exam assumes.
- Exam format, curriculum & allowed docsThe CKA is a 2-hour, hands-on exam where you solve tasks on live Kubernetes clusters from a command line. Troubleshooting carries the most weight, and you may use the official Kubernetes documentation during the exam. Knowing the domains and the environment rules removes surprises on exam day.9 min
- Linux, systemd & container runtime refresherKubernetes nodes are Linux machines where systemd runs the kubelet and the container runtime. The kubelet talks to runtimes like containerd through the Container Runtime Interface. On the exam you use systemctl, journalctl and crictl to fix nodes when kubectl cannot help.8 min
- kubectl fluency: imperative commands, dry-run, explainSpeed with kubectl is the biggest time saver on the CKA. Imperative commands create simple objects instantly, and --dry-run=client -o yaml generates a manifest you can edit for anything more complex. kubectl explain shows field names without leaving the terminal.8 min
- Lab setup: kind and a multi-node VM clusterYou need two kinds of practice clusters. kind runs Kubernetes nodes as containers, so you can create and destroy multi-node clusters in a minute. A kubeadm cluster on VMs gives real nodes with systemd, kubelet and static Pods, which the exam's install and troubleshooting tasks require.7 min
02Cluster architecture, installation & configuration
Build and maintain the cluster itself.
- Control plane & node componentsThe control plane stores and decides cluster state, and worker nodes run Pods. The API server is the only component that talks to etcd, and every other component watches the API server. In kubeadm clusters the control plane runs as static Pods defined in /etc/kubernetes/manifests.8 min
- Install a cluster with kubeadmkubeadm bootstraps a cluster: init sets up the control plane and join adds nodes. Before that, every node needs a container runtime, kernel networking settings, and matching kubeadm, kubelet and kubectl packages. Pods stay Pending and nodes NotReady until you install a CNI plugin.8 min
- Cluster upgradeskubeadm clusters upgrade one minor version at a time, control plane first, then workers. On each node you upgrade kubeadm, apply the upgrade, then drain, upgrade kubelet and kubectl, restart kubelet and uncordon. The official docs page lists every command and is allowed in the exam.9 min
- etcd backup & restoreetcd holds all cluster state, so a snapshot is a full cluster backup. You save a snapshot with etcdctl using the etcd certificates, and restore it into a new data directory. Then you point the etcd static Pod at that directory and the cluster returns to the snapshot state.8 min
- RBAC, service accounts & kubeconfigRBAC grants permissions by binding roles to subjects. A Role or ClusterRole lists allowed verbs on resources, and a RoleBinding or ClusterRoleBinding attaches it to users, groups or service accounts. Permissions are purely additive, and kubectl auth can-i verifies the result.8 min
- Highly available control plane conceptsA highly available control plane runs several API servers behind a load balancer and an etcd cluster with an odd number of members. etcd can be stacked on the control plane nodes or run on separate hosts. etcd needs a majority, or quorum, to accept writes.8 min
- Helm, Kustomize, CRDs & operatorsHelm packages applications as charts with templated manifests and configurable values. Kustomize customizes plain YAML with overlays and is built into kubectl. CRDs add new resource types, and operators are controllers that manage those custom resources automatically.8 min
03Workloads & scheduling
Run applications the way the scheduler expects.
- Deployments, rollouts & rollbacksA Deployment manages ReplicaSets, which keep a set number of identical Pods running. Changing the Pod template triggers a rolling update that replaces Pods gradually. Each change is a revision, so you can pause, resume or roll back.9 min
- ConfigMaps & SecretsConfigMaps hold non-sensitive configuration and Secrets hold sensitive values like passwords and tokens. Both can be injected as environment variables or mounted as files. Secret values are only base64 encoded by default, so protect them with RBAC and encryption at rest.10 min
- Requests, limits, quotas & LimitRangesRequests reserve CPU and memory for scheduling, and limits cap what a container may use. Exceeding a CPU limit causes throttling, while exceeding a memory limit gets the container OOM-killed. ResourceQuotas cap totals per namespace and LimitRanges set per-container defaults and bounds.9 min
- HPA & metrics-serverThe HorizontalPodAutoscaler changes a workload's replica count to keep a metric near a target, most often CPU utilization. It reads metrics from metrics-server, which collects usage from kubelets. CPU-based scaling only works when containers set CPU requests.9 min
- Node selectors, affinity, taints & tolerationsThe scheduler filters nodes that can run a Pod, scores the rest and binds the Pod to the best one. nodeSelector and affinity attract Pods to nodes, while taints repel Pods that lack a matching toleration. Combining them lets you dedicate nodes to specific workloads.9 min
- DaemonSets, static Pods, Jobs & init/sidecar containersDifferent controllers run Pods in different ways. DaemonSets run one Pod per node, static Pods are run directly by a kubelet from a local file, and Jobs and CronJobs run tasks to completion. Init containers run before app containers, and native sidecars keep running alongside them.10 min
04Services & networking
How Pods find and talk to each other and the outside world.
- Pod networking & CNIKubernetes gives every Pod its own IP, and every Pod can reach every other Pod without NAT. The cluster does not implement this itself; a CNI plugin such as Calico, Cilium or Flannel wires up Pod interfaces and routes. If the CNI is broken, Pods stay ContainerCreating and nodes go NotReady.9 min
- Services: ClusterIP, NodePort, LoadBalancerA Service gives a stable virtual IP and DNS name to a changing set of Pods chosen by a label selector. ClusterIP is internal only, NodePort opens a port on every node, and LoadBalancer asks the cloud for an external load balancer. kube-proxy programs node rules that forward Service traffic to ready endpoints.10 min
- Ingress & Gateway APIIngress routes external HTTP and HTTPS traffic to Services by host and path, but only works with an Ingress controller installed. Gateway API is the newer, role-oriented successor with GatewayClass, Gateway and HTTPRoute objects. Both terminate TLS and forward to ordinary Services.9 min
- NetworkPoliciesNetworkPolicies are Pod-level firewalls enforced by the CNI plugin. Once a policy selects a Pod for a direction, only traffic explicitly allowed by some policy is permitted. A common pattern is default deny for the namespace, then narrow allow rules by Pod and namespace labels.10 min
- CoreDNS & service discoveryCoreDNS is the cluster DNS server that turns Service names into cluster IPs. Every Pod's resolv.conf points at the kube-dns Service and includes search domains for its namespace. Its configuration is the Corefile stored in the coredns ConfigMap in kube-system.9 min
05Storage
Data that outlives Pods.
- Volumes: emptyDir, hostPath, projectedVolumes give containers storage that outlives a container restart. emptyDir is scratch space shared by containers in one Pod, hostPath mounts a directory from the node, and projected volumes combine Secrets, ConfigMaps, downward API data and service account tokens into one mount.9 min
- PersistentVolumes, claims, access modes & reclaim policiesA PersistentVolume is a piece of storage in the cluster, and a PersistentVolumeClaim is a request for storage by a user. The control plane binds a claim to a PV that matches its size, access mode and storage class. The reclaim policy decides what happens to the PV after the claim is deleted.10 min
- StorageClasses & dynamic provisioningA StorageClass describes a kind of storage and the provisioner that creates it. When a PVC names a class, the provisioner creates a matching PV automatically. One class can be marked default so PVCs without a class still get storage.9 min
06Troubleshooting
30% of the exam: find what's broken and fix it fast.
- Failing Pods: CrashLoopBackOff, ImagePullBackOff, PendingMost failing Pods reveal the cause in their status, events and logs. CrashLoopBackOff means the container keeps exiting, ImagePullBackOff means the image cannot be pulled, and Pending means the scheduler cannot place the Pod. Read describe output from the bottom up, starting with Events.10 min
- Broken control plane componentsIn kubeadm clusters, the API server, scheduler, controller manager and etcd are static Pods. A typo in their manifests breaks the component, and if it is the API server, kubectl stops working. You then debug on the node with crictl, container logs and the manifests directly.10 min
- NotReady nodes & kubelet issuesA node goes NotReady when its kubelet stops posting healthy status to the API server. The usual causes are a stopped or misconfigured kubelet, a broken container runtime, expired certificates or a missing CNI. You fix it on the node with systemctl, journalctl and the kubelet config files.9 min
- Service & network troubleshootingWhen a request fails, trace it hop by hop: DNS name, Service, endpoints, Pod port and the app itself. Most failures are a selector mismatch, a wrong targetPort, a NetworkPolicy, or broken kube-proxy or CoreDNS. A temporary debug Pod lets you test each hop from inside the cluster.10 min
- Logs, metrics & resource usagekubectl gives three quick views of a running cluster: logs show what containers print, top shows live CPU and memory from metrics-server, and events show what the control plane did and why. Combining them finds resource-starved or misbehaving workloads fast.9 min
07Mock exams
Practise under real exam conditions until it feels routine.
- Timed task drills by domainDrills turn common exam tasks into muscle memory. Repeat RBAC, etcd backup, NetworkPolicy and upgrade tasks against a timer until each takes under six minutes. Speed comes from knowing the command and the docs page, not from typing faster.11 min
- Exam simulator sessionsExam registration includes two killer.sh simulator sessions that are harder than the real exam. Each session stays available for 36 hours, so you can finish, review every solution and redo missed tasks. Treat the score as a learning tool, not a prediction.10 min
- Final review: bookmarks, aliases & time strategyThe final review sets up a calm, repeatable exam start. Practice a short terminal setup, know where key docs pages live, and plan to skip long tasks and return. Small habits like switching context first save many points.10 min