A series in fourteen parts
Everything you need to run something real, taught in order, against one project small enough to fit on a laptop and complete enough to break properly.
Most Kubernetes tutorials put nginx behind a Service and call it a day. That gets you through the first afternoon and then abandons you, because the questions that actually come up — why is this one a DaemonSet, where did my shared memory go, why won't this pod schedule, who keeps resurrecting the thing I deleted — never arise when the example has one container and nothing at stake.
So this series uses one project the whole way through. It starts in Part 1 as a single pod doing almost nothing, and finishes in Part 14 as a fleet run by a controller you wrote yourself. Nothing gets introduced before you've felt the problem it solves.
Transcribe a fleet of internet radio stations, live. One pod per station pulls the audio down. A shared decoder on each machine turns compressed audio into raw samples. A speech model turns samples into words. The words go to a queue, into a database, and onto a small web page you can watch scroll past.
It was chosen for a boring but important reason: audio is about a hundred times smaller than video. Thirty stations run comfortably inside a pretend cluster on a laptop, while keeping the exact shape a serious fleet has — many identical workers, a couple of shared services they all depend on, and a control plane deciding who exists. The speech model is tiny and runs on a CPU, so every GPU section has a fallback you can actually try.
Four tiers, in dependency order — each one assumes the ones above it and nothing else.
apply saying “created” tells you nothing about whether anything is running.maxSurge actually costs you.The same seven moves each time. Knowing the shape in advance means you can skip to the bit you came for.
| Move | What it is |
|---|---|
| The symptom | Something has gone wrong, or is about to. Usually something that happened to me. |
| The idea | The concept in plain words, with a diagram you step through one claim at a time. |
| Anatomy | The relevant commands pulled apart piece by piece, so you can build your own instead of copying mine. |
| Build it | The smallest thing that works. Runnable, not illustrative. |
| Break it | Reproduce the failure deliberately. This is the part people actually remember. |
| What follows | The consequences, including the ones that are inconvenient. |
| Cheat sheet | Eight or nine lines worth keeping. |