Node fleet, mission 8 of 8

Checkout first

advanced, about 15 minutes, in the Kubernetes Simulator

Start mission

Opens once you pass Not on spot.

The briefing

From Leo Martins, customer support at Larchwood (a fictional company)

Customers are writing in: "checkout spins forever", "is your site down?". It started when the nightly reports kicked off. My guess is a server crashed?

The reports (batch) have to finish today too, so please don't just switch them off. checkout.yaml and batch.yaml are in the working directory.

What you'll do

  • checkout: 1 ready replica
  • checkout runs at a higher priority than batch
  • batch keeps its spec: 4 replicas asking for 5 CPUs each
  • Bonus star: Delete no pod by hand: let the scheduler choose what gives way

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

Concepts

  • Priority and preemption

    A PriorityClass gives pods a number; priorityClassName in a pod spec picks one. When a pod can't fit, the scheduler may evict lower-priority pods on a node to make room — preemption. The evicted pods go back to Pending like any other. Two classes are built in for system pods.

    Read the Kubernetes docs

More Node fleet missions

  1. 1. The right hardware
  2. 2. Reserved seating
  3. 3. It doesn't fit
  4. 4. Kernel patch
  5. 5. One basket
  6. 6. All on one
  7. 7. Not on spot
  8. 8. Checkout first
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