Press a bit to see its lessons.
K-8 cordless cluster drill
kdrill.5xx.tech
Breaks Kubernetes on your laptop, on purpose.
168 lessons: broken clusters to fix with your own kubectl, and a language model to build from zero. Free and open source. Runs on your laptop: no cloud account, no GPU, no bill.
168bits
included
Shown larger than actual size. Battery is your laptop's RAM.
Every lesson is a small cluster that is broken or unfinished, plus a goal. You fix it with your own kubectl. Nothing is multiple choice: kdrill verify checks the cluster and says exactly what is still wrong.
Recorded terminal session. kdrill verify passes five checks and fails one: all 3 replicas Running and ready, expected 3, got 2, with a hint to describe the Pending pod. After the fix, all six checks pass and verify exits 0.
Real kdrill verify output from k8s-scheduling/01, before and after the fix.
One lesson, taken apart. Parts are not sold separately.
kdrill hint gives a little more away each time. kdrill solution has the reference answer.kdrill reset puts the lesson back the way it started. Break it as often as you like.Nine courses, 168 lessons. The more lessons, the bigger the bit. Press one to lift it out of the case.
Press a bit to see its lessons.
| Power source | Your laptop |
|---|---|
| Memory | 8 GB (give Docker 4) |
| Cluster | One k3d (k3s) cluster called kdrill |
| Cloud bill | $0.00 |
| GPUs required | 0 (simulated: as many as you like) |
| Fake nodes | KWOK. Dozens of “H100 nodes” cost a few MB of RAM |
| Real traffic | Real containers for the Envoy and Istio courses |
| Real model | SmolLM2-135M on llama.cpp, CPU only, about 57 tokens/s |
| Training run | A 354k-parameter GPT in PyTorch, 1 to 3 minutes |
| Cluster required | Not for llm-from-zero: plain Python in a container |
| Gradients | Written by hand, before PyTorch does it for you |
| Lessons | 168 |
| Courses | 9, 2 more planned |
| Pager | Not included |
| Verify | Exits 0 when you are done |
Will break your cluster. kdrill reset puts it back.
Do not point at production.
Requires Docker (Docker Desktop, OrbStack or Colima), k3d, kubectl, Go and helm. Sold separately, for free.
git clone https://github.com/mousavian/kdrillcd kdrill && make buildbin/kdrill doctorChecks docker, memory, k3d, kubectl.bin/kdrill cluster upOne k3d cluster called “kdrill”.bin/kdrill start k8s-scheduling/01Your first broken cluster.kubectl get podskdrill verifykdrill hintkdrill solutionkdrill resetkdrill next