Index

Free, with Google

Keep going, free.

A free account opens lessons 2 and 3 of every track, 33 more lessons, and keeps your progress and review cards on every device.

Start free with Google

A chalk plan

Open everything on chalk.

Every lesson, board, video, lab and paper, and the full review decks. Yearly is $39/year.

See plansStart free instead

Module 12 · From Scratch · Kubernetes · with code: Go · about 18 min to read

Play it as a journeyTutor comes with a plan

Build Your Own Kubernetes, From Scratch

The Map
The Map · Open board

Nine boards, each one thing this build adds, in the order that adding them actually happened.

Before you start. This series builds a small copy of Kubernetes: a program you tell what you want running, and which then keeps that true on its own, without you noticing when something breaks. Real Kubernetes does the same job, at the scale of a whole company’s machines. Five things this track already built come back here. A database series gave you a safe place to store facts. A log series gave you a way to stream every change as it happens. An HTTP-server series gave you a way for one program to ask another to do something over the network. A job-scheduler series gave you a loop that keeps retrying a job until it actually happens. It also gave you a way for several copies of one program to agree which single copy makes the decisions. A cache series gave you one event loop that keeps its state in memory and lets old entries expire. You do not need to have read any of those. This lesson explains what it uses from them.

Boards

Lesson 85 of 117 in From Scratch

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 plansAlready a member? Sign in

Or start free: a free account opens lessons 2 and 3 of every track.

In this lesson

  • The 3 a.m. restart, and the day that ended it
  • One instruction, standing forever
  • The duty manager who never stops checking
  • One board everyone reads, nobody guesses at
  • A clerk per job, not one person doing everything
  • Which room, exactly?
  • Making it real, on the one floor that matters
  • One phone number, whichever room answers
  • The nine lessons
  • Go, as you go (new-to-Go markers)

Terms it explains: Borg paper (Google, 2015), kubebuilder book.

Review From Scratch