Skip to main content

How to use this course

You will be able to: follow a stage from its briefing to its walkthrough, and know what "done" means.

The idea​

  • Apollo Airlines is deployed again at every stage, each time on a better platform.
  • Each stage exists because the previous one hit a limit you can see: data lost on restart, five NodePorts, no way to tell why booking is slow.
  • So every stage answers the same three questions:
    1. What was wrong with the last stage?
    2. What do we change, and with which tool?
    3. Why is that better, and what is still missing?

Each stage has three parts​

PartWhat it doesTime
Mission briefingThe problem this stage solves and the chapters to read2 min
ChaptersOne concept each, taught from the problem upwards: analogy, mechanism, Apollo example, misconceptions10–20 min each
Stage walkthroughDeploy the stage from the Apollo11 repo, step by step, with what each step does, why it's done that way, and how it differs from the previous stage30–60 min

How a walkthrough reads​

  • Where we left off: the pains carried over from the last stage.
  • What changes in this stage: a before/after table, row by row.
  • What's in the folder: every file in stages/<stage>/, and what it replaces.
  • Walkthrough: numbered steps. Each has:
    • the command,
    • a trimmed excerpt of the real YAML or code, with comments,
    • What happens, Why this way, Compared with the previous stage.
  • When something looks wrong: symptom → likely cause → first command.
  • What this stage does not solve yet: the limits that motivate the next stage.
  • The journey so far: one table that grows by a column every stage.

You don't write YAML. The complete manifests, charts and scripts are in the Apollo11 repo. The walkthrough tells you which file to open and what to notice.

Routes​

RouteDoOutcome
Hands-on (recommended)Briefing → chapters → run the walkthroughYou've seen every layer run, and know why it's there
Reading onlyBriefing → chapters → read the walkthroughYou know the concepts and the trade-offs
ReferenceCommand reference, troubleshooting, glossaryLook-ups

A stage is done when you can​

  • Bring it up with the stage's script, and show a real request working, not just kubectl get.
  • Say, for each new object, what it does and what it replaced.
  • Answer the "You should now be able to explain" bullets at the end of the walkthrough without looking.

Reading the cluster: the evidence ladder​

When something doesn't look like the walkthrough, go down this ladder in order:

RungCommandAnswers
1 Snapshotkubectl get <obj> -o wideWhat exists, on which node, with which IP?
2 Eventskubectl get events --sort-by=.lastTimestampWhat did the cluster try?
3 Spec / conditionskubectl describe <obj>Where did it stop?
4 Logskubectl logs <pod>What did the app see?
5 Endpointcurl / port-forwardDoes the passenger's request work?

When a command fails​

  • NotFound → wrong stage, namespace or context. Don't create objects to silence it.
  • connection refused → wrong address, or the listener isn't ready yet.
  • Pending or a timeout → read the events. Don't just apply again.
  • Each walkthrough has a "When something looks wrong" table, and the troubleshooting page has more.

Next: Terminal, Git and YAML.