Gang-Schedule ML Jobs with the Volcano Scheduler

Advanced · 45 minutes · 5 tasks, checked automatically · 100 points

In this advanced MLOps lab, you will install the Volcano batch scheduler on a local kind cluster and use it to gang-schedule distributed machine-learning training jobs. Gang scheduling guarantees that all pods of a job start simultaneously — a critical requirement for distributed ML frameworks like PyTorch DDP, MPI, and TensorFlow that deadlock if only some workers launch. You will install Volcano via its official Helm chart, create a Volcano Queue, submit a multi-worker TrainingJob using the Volcano Job CRD, observe gang-scheduling behaviour, and verify fault-tolerance through minAvailable semantics.

What you’ll learn

How this lab works

  1. Start the lab: One click starts a real Kubernetes cluster on your computer (kind), with kubectl ready in a toolbox terminal.
  2. Work through 5 tasks: Each task says what to build or fix. You do it yourself, in a real terminal, with hints when you get stuck.
  3. Check your work: Check my work reads your live cluster and says, task by task, what passed and what to fix.
  4. Finish and keep going: 100 points, your progress saved, and the next lab to try.

What it runs on

What you need

Topics: volcano, gang-scheduling, mlops, batch-scheduling, distributed-training, kubernetes-scheduler, podgroup, queue, helm

Create a free account to start this lab.

Keep going