Multiplayer game server, mission 6 of 7
Saves that survive
advanced, about 10 minutes, in the Kubernetes Simulator
Opens once you pass Stranded.
The briefing
From Dana Kowalski, on-call lead at Larchwood (a fictional company)
Tonight's maintenance replaces the arena StatefulSet, and the runbook says to delete its claims too, to start clean. The last time we did that, every match save went with them.
Before anyone touches it: make sure no save can be lost however tonight goes. Don't run the maintenance yourself — just make it safe.
What you'll do
- Every arena save volume is kept if its claim is deleted
- …and arena still running all three servers on them
- Bonus star: Delete nothing on the way
The mission checks the cluster, not your keystrokes: any fix that works, passes.
Concepts
Reclaim policy
What happens to a PersistentVolume when its claim is deleted.
Read the Kubernetes docsDelete, the default for dynamically provisioned volumes such as kind'sstandardclass, removes the volume and its data.Retainkeeps both: the volume becomesReleasedand waits for someone to decide. It's a field on the volume, so it can be changed while the volume is in use.
More Multiplayer game server missions
- 1. Every server has a name
- 2. Saves that survive
- 3. One server first
- 4. Don't empty the arena
- 5. Stranded
- 6. Saves that survive
- 7. Claim it back