Module 02 · DevOps · Kubernetes · about 16 min to read
Continue where you left off ×
From One Crate to a Fleet (why Kubernetes)
From One Crate to a Fleet · Open board
The moment a single crate on one cart becomes a fleet too big for anyone to walk the docks and check by hand, and someone has to stand watch instead.
Before you start. Compose’s whole world was one docker-compose.yml, one command, one machine: docker compose up starts every container you listed and then it’s finished, done, out of the picture. Everything below asks what happens once that world is too many machines, and too many failures, for one command or one person to run by hand.
The idea in 30 seconds
Kubernetes runs a control loop, not a command: observe what’s running, compare it to what you declared, act to close the gap, forever.
The habit came from Google’s Borg (started around 2003), built because no team could restart failures across tens of thousands of machines by hand.
Three Google engineers open-sourced the idea in June 2014 and named it Kubernetes, Greek for “the helmsman.”
Self-healing, scaling and rollouts are the same loop, closing a different kind of gap each time.
The control plane: api-server, scheduler, controllers, etcd: is a handful of ordinary programs, not magic, and you can list all seven of them on a laptop cluster.
Kubernetes reconciles state, not events, so a lost message costs a delay, never a wrong answer. That’s called level-triggered.
Read the story
Lesson 8 of 70 in DevOps
The rest of this lesson is part of a plan.
A plan opens every lesson, board, video, lab and paper on chalk. Yearly is $39/year .
See plans Already a member? Sign in
Or start free : a free account opens lessons 2 and 3 of every track.
In this lesson 2003: a fleet too big to watch by hand 2014: three engineers set it loose The idea: stop giving orders, declare a destination instead The brain is seven processes, not magic The word that carries the whole design: level-triggered Level-triggered vs edge-triggered, run Watch the loop close a gap, with a stopwatch How a controller actually reads state The one field that tells you the loop has caught up What “declare, don’t command” changes Where the loop’s promise stops …and the parts of it that need no cluster at all Terms it explains: Kubernetes, desired state, control loop, observe, compare, act, reconciling, pod, control plane, api-server, scheduler, controllers, etcd, Project Seven, edge-triggered, level-triggered, watch, idempotence, Running isn't healthy, cluster.
Review DevOps
Mark as read Saved in this browser, and to your account when you sign in.