Skip to main content
← Lab

gangdeadlock

confirmedKubernetesCluster & infrastructureJuly 8, 2026

the question

Can two competing multi-pod GPU gangs deadlock the default Kubernetes scheduler?

what came out

Yes. The scheduling atom is one Pod, so two gangs in a 2/2 split strand all 4 GPUs with 0 gangs runnable, and the default scheduler neither prevents nor breaks it. One atomic multi-GPU pod per job is structurally immune. Measured on minikube with a simulated GPU extended resource.

method & receipts

  • Result: confirmed
  • Pre-registered: the prediction was written down and committed before the run.
  • Reproducible: one script re-runs the whole thing from scratch.
  • Adversarial self-review: my own skeptic's pass over each claim, kept in the repo.
  • Machine-readable claims: every reported number, in a checkable file.
  • Tested: a correctness/benchmark suite ships alongside the code.

→ read the code and re-run it

github.com/v-code01/gangdeadlock