Kubernetes Administrator (CKA)
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.
What you will be able to do
- Install, upgrade and back up a kubeadm cluster including etcd
- Deploy and schedule workloads with resources, affinity, taints and autoscaling
- Configure Services, Ingress, Gateway API, DNS and NetworkPolicies
- Provision persistent storage with PVs, PVCs and StorageClasses
- Troubleshoot broken apps, nodes and control plane components under time pressure
Roadmap
Bar length shows each module's share of study time.
- 111h4 topics
Prerequisites & exam setup
The Linux, container and kubectl fluency the exam assumes.
Show topicsNot startedKnow the domains, weights, environment and which docs you may open during the exam.
- Read the CKA curriculum and weights
- Learn the exam environment rules
- Bookmark allowed Kubernetes docs pages
Manage services with systemctl and inspect containers with crictl.
- Manage services with systemctl
- Read logs with journalctl
- Inspect containers with crictl
- Explain the container runtime interface
Generate YAML with --dry-run=client -o yaml and edit it quickly in vim.
- Create resources imperatively with kubectl
- Generate YAML with --dry-run=client -o yaml
- Look up fields with kubectl explain
- Set aliases and edit YAML fast in vim
Run a disposable kind cluster and a kubeadm cluster on VMs for practice.
- Create a multi-node kind cluster
- Provision VMs for a kubeadm cluster
- Reset and rebuild clusters quickly
- 224h7 topics
Cluster architecture, installation & configuration
Build and maintain the cluster itself.
Show topicsNot startedExplain what the API server, etcd, scheduler, controller manager and kubelet each do.
- Explain the API server and etcd
- Explain the scheduler and controller manager
- Explain kubelet and kube-proxy
- Find component manifests on a node
Bootstrap a control plane, join workers and install a CNI plugin from memory.
- Prepare nodes and install kubeadm, kubelet, kubectl
- Run kubeadm init on the control plane
- Install a CNI plugin
- Join worker nodes
- Repeat the install from memory
Upgrade control plane and worker nodes one minor version with drain and uncordon.
- Read the upgrade docs procedure
- Upgrade kubeadm and the control plane
- Drain, upgrade and uncordon workers
- Verify node versions after upgrade
Snapshot etcd and restore the cluster from that snapshot.
- Find etcd certificates and endpoints
- Take a snapshot with etcdctl
- Restore etcd from the snapshot
- Verify the cluster after restore
Grant a user or service account exactly the permissions it needs and verify with auth can-i.
- Create Roles and RoleBindings
- Create ClusterRoles and ClusterRoleBindings
- Bind a role to a service account
- Verify access with kubectl auth can-i
- Create a kubeconfig for a new user
Describe stacked vs external etcd topologies and their trade-offs.
- Compare stacked and external etcd
- Explain load balancing the API servers
- Discuss quorum and failure tolerance
Install components with Helm or Kustomize and work with custom resources.
- Install a chart with Helm
- Override chart values
- Apply overlays with Kustomize
- Create and use a CRD
- Explain the operator pattern
Module resources:Kubernetes docs ↗ - 317h6 topics
Workloads & scheduling
Run applications the way the scheduler expects.
Show topicsNot startedRoll out, pause, scale and roll back a Deployment.
- Create a Deployment
- Scale replicas up and down
- Do a rolling update and pause it
- Roll back a bad release
- Tune maxSurge and maxUnavailable
Inject configuration as env vars and mounted files.
- Create ConfigMaps and Secrets
- Inject them as environment variables
- Mount them as files
Set resource requests and limits and enforce namespace quotas.
- Set requests and limits on containers
- Create a ResourceQuota
- Set defaults with a LimitRange
- Explain QoS classes
Autoscale a Deployment on CPU usage.
- Install metrics-server
- Create an HPA on CPU
- Generate load and watch scaling
Place or keep Pods off specific nodes on purpose.
- Use nodeSelector with node labels
- Write node affinity rules
- Use pod affinity and anti-affinity
- Taint nodes and add tolerations
Choose the right workload type and debug static Pods on a node.
- Run a DaemonSet on every node
- Create and debug static Pods
- Run Jobs and CronJobs
- Add init and sidecar containers
Module resources:Workloads ↗ - 415h5 topics
Services & networking
How Pods find and talk to each other and the outside world.
Show topicsNot startedExplain the Kubernetes network model and confirm the CNI is healthy.
- Explain the Kubernetes network model
- Trace Pod-to-Pod traffic
- Check CNI Pods and configuration
- Find Pod CIDR settings
Expose workloads and debug Services with no endpoints.
- Expose Pods with ClusterIP
- Expose with NodePort and LoadBalancer
- Inspect endpoints and EndpointSlices
- Fix Services with no endpoints
Route HTTP traffic by host and path with Ingress and HTTPRoute.
- Install an Ingress controller
- Route by host and path with Ingress
- Add TLS to an Ingress
- Create a Gateway and HTTPRoute
Write default-deny and allow rules and test them between Pods.
- Write a default-deny policy
- Allow traffic by pod and namespace labels
- Control egress traffic
- Test policies between Pods
Debug DNS resolution failures inside the cluster.
- Explain Service DNS names
- Inspect the CoreDNS ConfigMap
- Debug resolution from a test Pod
- 57h3 topics
Storage
Data that outlives Pods.
Show topicsNot startedShare data between containers and mount config into Pods.
- Share data with emptyDir
- Mount host files with hostPath
- Combine sources with projected volumes
Bind a PVC to a PV and fix claims stuck in Pending.
- Create a PersistentVolume
- Bind it with a PersistentVolumeClaim
- Compare access modes and reclaim policies
- Fix a PVC stuck in Pending
Provision volumes dynamically and set a default StorageClass.
- Create a StorageClass
- Provision a volume dynamically
- Set the default StorageClass
Module resources:Persistent volumes ↗ - 616h5 topics
Troubleshooting
30% of the exam: find what's broken and fix it fast.
Show topicsNot startedDiagnose a failing Pod from events, logs and describe output in minutes.
- Read Pod events with describe
- Read current and previous container logs
- Fix CrashLoopBackOff causes
- Fix ImagePullBackOff and Pending Pods
Fix a broken API server, scheduler or controller manager via static Pod manifests.
- Locate static Pod manifests
- Diagnose a broken API server
- Fix the scheduler or controller manager
- Read component logs with crictl
Bring a NotReady node back by checking kubelet, runtime and certificates.
- Check node conditions
- Inspect kubelet status and logs
- Check the container runtime
- Fix kubelet configuration and certificates
Trace a failed request from Service to endpoints to Pod to DNS.
- Verify Service selectors and endpoints
- Test connectivity from a debug Pod
- Check kube-proxy and DNS
- Trace a request end to end
Use kubectl logs, top and events to find resource-starved workloads.
- Read logs across containers
- Check usage with kubectl top
- Sort and filter cluster events
Module resources:Monitoring, logging & debugging ↗ - 714h3 topics
Mock exams
Practise under real exam conditions until it feels routine.
Show topicsNot startedComplete common tasks (RBAC, etcd, NetworkPolicy, upgrade) in under 6 minutes each.
- Drill RBAC tasks
- Drill etcd backup and restore
- Drill NetworkPolicy tasks
- Drill a cluster upgrade
- Get each task under six minutes
Finish two full simulator sessions and review every solution.
- Complete the first simulator session
- Review every solution in detail
- Redo missed tasks from scratch
- Complete the second simulator session
- Note recurring weak spots
Walk into the exam with a setup routine and a skip-and-return strategy.
- Finalise docs bookmarks
- Practise a terminal setup routine
- Plan skip-and-return time strategy
Module resources:killer.sh ↗