Multiplayer game server, mission 2 of 7

Saves that survive

advanced, about 12 minutes, in the Kubernetes Simulator

The briefing

Players are furious: every time a server restarts, its matches vanish. arena-server saves to /data — which today is just the container's own filesystem, gone with the container (kubectl logs arena-0 says as much).

A StatefulSet can give every pod its own PersistentVolumeClaim from volumeClaimTemplates: arena-0 gets saves-arena-0, and a replacement arena-0 gets the same claim back. One catch: the claim templates can't be added to a StatefulSet that already exists.

What you'll do

  • Give every arena server its own volume at /data
  • Replace a server and see it load its saves back
  • Bonus star: See where a claim lives with kubectl describe pvc

The mission checks the cluster, not your keystrokes: any fix that works, passes.

Read first

More Multiplayer game server missions

  1. 1. Every server has a name
  2. 2. Saves that survive
  3. 3. One server first
  4. 4. Don't empty the arena
  5. 5. Stranded
  6. 6. Saves that survive
  7. 7. Claim it back
Every Kubernetes Simulator mission

AboutGuidesCompare

PrivacyCookiesTerms

Hackademy is a trading name of Mather Software Ltd, registered in England and Wales, company number 17443861. ICO registration ZC256628.

Contact: support@mathersoftware.com© 2026 Mather Software Ltd