nebius/soperator
Run Slurm in Kubernetes
What it is
Soperator is an open-source tool that runs Slurm — a widely used scheduler for AI training and high-performance computing — on top of Kubernetes. Instead of setting up each Slurm component by hand, you describe the cluster you want in a single configuration file (a SlurmCluster resource), and Soperator builds and maintains it for you.
Who it's for
Platform teams and engineers who need to provide Slurm to users without manually managing every part of the cluster, and teams moving from bare-metal Slurm to Kubernetes.
Problems it solves
- Slow setup and hard maintenance — Deploying, resizing, upgrading, and reconfiguring Slurm clusters normally takes a lot of manual work. Soperator lets you declare the whole cluster in one resource, and all nodes share a single root filesystem (called the jail), so software stays consistent across nodes.
- Training jobs fail due to hardware issues — A single bad GPU or node can interrupt long-running jobs. Soperator runs health checks that detect GPU, network, storage, and system problems, then automatically drains and replaces failed nodes. The control plane also recovers after failures and restarts.
- GPUs sit idle — Fixed-size clusters waste capacity. Soperator creates workers on demand, scales them down when unused, and uses InfiniBand-aware placement to use GPU capacity more efficiently.
Key features
- Single resource management — Controllers, login nodes, workers, accounting, and storage are all defined in one
SlurmClusterresource; the operator keeps the cluster aligned with that spec. - Portable — Runs on AWS, GCP, Azure, Nebius, OCI, bare metal, and air-gapped environments, as long as the Kubernetes cluster meets the requirements.
- Preinstalled training stack — Images include NVIDIA drivers, CUDA, NCCL,
nccl-tests, and common training dependencies. - Identity and accounting — Supports SSSD for centralized users/groups (LDAP/AD/FreeIPA), Tailscale for SSH, and Slurm accounting for job metrics.
- Observability — Integrates with Prometheus, Grafana, and Loki for metrics, dashboards, and logs.
- Health checks — Passive checks monitor control-plane and node signals (like NVMe disk health);
ActiveCheckresources run scheduled GPU, system, storage, and network probes. - Automatic recovery — Failed nodes are drained and replaced; controllers, the accounting database, and login nodes return to their declared state after failures and restarts.
- Efficient GPU use — Ephemeral workers, autoscaling, InfiniBand topology awareness, and standard Slurm scheduling (gang scheduling, fair-share, preemption, reservations, dependencies).
- Familiar Slurm behavior —
sbatch,srun,sinfo, accounting, reservations, dependencies, and preemption work as Slurm users expect.
How it works
- You declare a
SlurmClusterresource describing the cluster layout. - Soperator turns that spec into Kubernetes objects (Deployments, StatefulSets, PVCs, Services, ConfigMaps, Slurm configuration) and keeps them in sync.
- A shared PVC is mounted into each login and worker node as its root filesystem, so changes to binaries, libraries, and config files appear cluster-wide immediately.
- Health checks continuously watch the cluster; failed nodes are drained and replaced automatically.
- Users interact with Slurm normally.
Deployment options
- Self-deploy on any Kubernetes — For teams running their own K8s on any cloud or on-premises.
- Managed Service for Soperator by Nebius — A managed cluster on Nebius, started in a few clicks from the web console.
- Soperator Pro on Nebius — Nebius engineers install, tune, and support the cluster.
Requirements
- Linux node images: Ubuntu 24.04
- Slurm: 26.05.4-nebius-3 (a Nebius fork build with patches)
- CUDA: >13.0
- NCCL: ≥2.28
- Kubernetes: ≥1.35
- Helm: ≥3.14
- NVIDIA GPU Operator: latest stable
- CNI: Cilium (kube-proxy replacement) recommended
Current limitations (per the docs) include single-partition clusters and GPU-only or CPU-only cluster constraints.
Roadmap (planned, not yet available)
- Improved health checks for earlier detection
- Automatic acceptance tests
- Support for GB300-based GPU platforms
- Local disk support for high-speed node-local storage
- NCCL profiling dashboards
- Capacity sharing between training and inference
- Multi-cluster, multi-cloud scheduling
License
Apache 2.0. Software Soperator installs into your cluster may carry other licenses.
Project status
Built by Nebius and the Soperator community. The README presents it as an active open-source project with docs, releases, issues, and discussions.
Related
- Project
- Project
- Project
- Project
- Project