Kubernetes

Certified Kubernetes Administrator

Free course · Updated for Kubernetes v1.37

Pass the CKA exam by actually doing it

The Certified Kubernetes Administrator exam is a terminal and a clock. So is this course: short lessons, then real tasks on your own cluster, checked by a script the way the exam checks them.

  • 44 lessons
  • 141 graded tasks
  • 3 timed mock exams
  • 28+ h of hands-on study

Your exam readiness

Tasks you passed, weighted like the exam

0%

  • Troubleshooting · 30% of exam0/23
  • Architecture · 25% of exam0/30
  • Networking · 20% of exam0/14
  • Workloads · 15% of exam0/24
  • Storage · 10% of exam0/10
0/44 lessons · 0/101 tasksSaved in this browser

How every lesson works

Reading is the warm-up. The tasks are where you learn, and where your readiness score comes from.

  1. Step 1

    Read a short lesson

    Focused on the exam: what the grader checks, which doc page to open, where people lose time.

  2. Step 2

    Set up the scenario

    One command builds the task on your lab, broken where the task needs it broken.

  3. Step 3

    Solve it yourself

    In your terminal with kubectl and the docs, the same tools you get on exam day.

  4. Step 4

    Check your work

    A script grades the end state like the real grader. Each pass raises your readiness.

The exam at a glance

Performance-based and proctored online. No multiple choice: each question names a host to ssh into, and the grader checks what you leave behind.

2 hours

to finish

15–20 tasks

hands-on tasks

66%

to pass

1 retake

included · valid 2 years

YOUR SCREEN · PSI SECURE BROWSERProctorwebcam + screen, whole examRemote Linux desktopterminal · VSCodiumFirefox: docs onlykubernetes.io · helm · gateway-api2 h · 15–20 tasks66% to pass · v1.37timer never pausesBASE HOSTbaseno tools hereinfobox says:ssh <host>exit when doneTASK HOSTS · ONE PER QUESTIONtask host Akubectl · k aliastask host Banother clustertask host …named per questionclusternodes · sshgraderreads end state, not your commandsresults by email within 24 h · one retake

Weight of each domain

  • 30%Troubleshooting
  • 25%Cluster Architecture, Installation & Configuration
  • 20%Services & Networking
  • 15%Workloads & Scheduling
  • 10%Storage

Allowed during the exam: kubernetes.io/docs, kubernetes.io/blog, helm.sh/docs and gateway-api.sigs.k8s.io, in the Firefox window inside the exam desktop. Results arrive by email within 24 hours. Official exam page

Set up your lab in one command

A real three-node cluster on your laptop, with everything the tasks need. Free, and you can reset it in a few minutes.

  1. 1

    Install Docker, kind and kubectl

    The lab lesson has steps for macOS, Linux and Windows.

  2. 2

    Build the lab

    curl -fsSL https://codewithmuh.com/labs/cka/lab-up.sh | bash
  3. 3

    Check it is healthy

    curl -fsSL https://codewithmuh.com/labs/cka/lab-check.sh | bash
  4. Read any script before you run it; they are short and live at /labs/cka/. To start over between mock exams, run lab-reset.sh the same way.
KIND CLUSTER “CKA” · DOCKER ON YOUR LAPTOPcka-control-planekube-apiserveretcdkube-schedulercontroller-managercka-workerkubelet · containerdkube-proxy · calico-nodeyour podsnamespaces per lessoncka-worker2kubelet · containerdkube-proxy · calico-nodeyour podsnamespaces per lessonINSTALLED BY LAB-UP.SHCalicoNetworkPolicy enforcesmetrics-serverkubectl top worksingress-nginxlocalhost:8080Gateway API CRDsobjects validatedocker exec -it cka-control-plane bash ≈ ssh node (exam)

Curriculum

Seven modules mapped to the official CNCF curriculum. Every competency on the exam has at least one lesson and one graded task.

0Start hereHow the exam is graded, how to build the lab this course runs on, and the kubectl habits that save minutes on every task.4 lessons8 tasksabout 2 h
1Cluster architecture, installation & configuration25% of examControl plane anatomy, kubeadm clusters and their lifecycle, etcd backups, RBAC, Helm, Kustomize, CRDs and the extension interfaces.11 lessons24 tasksabout 7 h
2Workloads & scheduling15% of examPods and multi-container patterns, Deployments and rollouts, configuration, resources, scheduling constraints, controllers, probes, autoscaling and admission.9 lessons22 tasksabout 6 h
3Services & networking20% of examThe pod network model and CNI, every Service type, CoreDNS, Ingress, the Gateway API and NetworkPolicies that actually enforce.6 lessons14 tasksabout 4 h
4Storage10% of examVolume types, PersistentVolumes and claims, access modes and reclaim policies, StorageClasses and dynamic provisioning.4 lessons10 tasksabout 2 h
5Troubleshooting30% of examThe largest domain. A repeatable method, then broken applications, control planes, nodes, services and DNS, logs, metrics and debug containers.8 lessons23 tasksabout 5 h
6Exam preparationA lightning lab, two full-length mock exams, the cheat sheet and the final checklist.2 lessonsabout 1 h

Questions

Is it really free?

Yes. Every lesson, task and mock exam is free, and so is the lab. You only pay the Linux Foundation for the exam itself.

Do I need a cloud account?

No. The lab is a kind cluster that runs in Docker on your laptop with about 4 GB of free memory. Only the cluster upgrade lessons need real VMs, and those lessons show you how to create them.

How is this different from a video course?

You spend most of your time in a terminal instead of watching. Every lesson ends in exam-style tasks, and a script checks your result the way the real grader does. You always know what you can do, not just what you have seen.

How do I know I am ready?

Your readiness score counts the tasks you passed, weighted by each domain's share of the exam. Aim for 80% or more, then pass two timed mock exams in a row.

What score do I need to pass the CKA exam?

66%. The exam gives you 2 hours for 15–20 tasks, each weighted, on real clusters. Results arrive by email within 24 hours, and the exam includes 1 retake if you do not pass the first time.

How long is the CKA certification valid?

2 years from the day you pass. After you buy the exam you have 12 months to schedule and take it, retake included.

Which Kubernetes version does it cover?

The exam currently runs Kubernetes v1.37, and the course follows the current CNCF curriculum, including the Gateway API, Helm and Kustomize.

Independent course by Muhammad Rashid. Not affiliated with or endorsed by the Linux Foundation or the CNCF. CKA, Certified Kubernetes Administrator, Kubernetes and the Kubernetes logo are their trademarks.