Multiplayer game server, mission 4 of 7
Don't empty the arena
advanced, about 12 minutes, in the Kubernetes Simulator
Opens once you pass One server first.
The briefing
hackademy-worker needs a kernel patch, so everything on it has to move. kubectl drain cordons the node and evicts its pods — and without a limit it evicts them all at once, which here would take two of the three servers down together.
A PodDisruptionBudget sets that limit. With minAvailable: 2, the eviction API refuses to evict an arena server while fewer than three are up, and drain keeps retrying until the replacement is ready.
What you'll do
- A PodDisruptionBudget keeping at least 2 arena servers up
- Drain hackademy-worker
- All 3 servers back up
- Bonus star: Never fewer than 2 servers up
The mission checks the cluster, not your keystrokes: any fix that works, passes.
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