Node fleet, mission 2 of 8
Reserved seating
intermediate, about 10 minutes, in the Kubernetes Simulator
Opens once you pass The right hardware.
The briefing
The batch team has paid for hackademy-worker2 (labelled pool=batch). They want it to themselves: nothing else should run there, and their jobs should run nowhere else.
A selector pulls pods towards a node; a taint pushes every other pod away. kubectl taint nodes NAME key=value:NoSchedule keeps off any pod without a matching toleration. NoSchedule only affects scheduling — pods already on the node stay until something replaces them.
What you'll do
- Taint hackademy-worker2 dedicated=batch:NoSchedule
- Run batch (2 replicas) on hackademy-worker2, tolerating the taint
- Move all 4 web pods off hackademy-worker2
- Bonus star: Check the node's taints with kubectl describe node
The mission checks the cluster, not your keystrokes: any fix that works, passes.
Read first
More Node fleet missions
- 1. The right hardware
- 2. Reserved seating
- 3. It doesn't fit
- 4. Kernel patch
- 5. One basket
- 6. All on one
- 7. Not on spot
- 8. Checkout first