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
- Install the Volcano batch scheduler using Helm and verify all control-plane components are healthy
- Create a Volcano Queue with resource capacity limits and understand its role in gang scheduling
- Submit a multi-worker Volcano Job that demonstrates gang scheduling and minAvailable semantics
- Observe pod co-scheduling behaviour and verify job completion lifecycle events
How this lab works
- Start the lab: One click starts a real Kubernetes cluster on your computer (kind), with kubectl ready in a toolbox terminal.
- 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.
- Check your work: Check my work reads your live cluster and says, task by task, what passed and what to fix.
- Finish and keep going: 100 points, your progress saved, and the next lab to try.
What it runs on
- Cluster: A real Kubernetes cluster on your computer (kind)
- Kubernetes: 1.34.8
What you need
- A free LearnXops account
- The LearnXops desktop app for macOS, Windows or Linux
- Docker Desktop installed and running
- A kind cluster created in the Kubernetes Playground
Topics: volcano, gang-scheduling, mlops, batch-scheduling, distributed-training, kubernetes-scheduler, podgroup, queue, helm
Create a free account to start this lab.