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 02 · DevOps · Kubernetes · about 14 min to read

Play it as a journeyTutor comes with a plan

A crate that must not move: stateful Kubernetes

Config, Secrets & Storage
Config, Secrets & Storage · Open board

The warehouse disk that stays after the ship that used it has sailed. This lesson follows that disk through its whole life: how it is made, who owns it, how it is copied, and how it is deleted.

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

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

In this lesson

  • A database pod restarts at 2 a.m., and the question is what comes back
  • A claim is a request, and a StorageClass decides what you get
  • The CSI driver: who actually makes the disk
  • Reclaim policy: what happens to the disk when the claim is deleted
  • A volume snapshot: a point-in-time copy of the disk
  • Putting it together for a database
  • Dynamic provisioning and the control loop
  • Access modes
  • Failure edges
  • Real systems
  • Snapshot, backup and restore are different things
  • The model code

Terms it explains: PersistentVolumeClaim, PersistentVolume, StorageClass, CSI driver, binding, reclaim policy, volume snapshot, Common mistakes, ConfigMap.

Lab

A backup every night, and someone drops the main table at 11:59 pm. What is the cheapest way to lose under a minute of writes instead of a day?

Pick what you would add, then switch between both tabs and watch Data lost and Storage bill.

Open The restore drill

Review DevOps