Configure Slurm partitions
This guide walks through adding, editing, and deleting partitions on an existing Slurm cluster. Partitions are job queues that map to a pool of compute nodes with a specific instance type and autoscaling range.
Prerequisites
- A Slurm cluster in ready status
Add a partition
- Click Clusters in the left sidebar, then click the Slurm tab.
- Click the cluster name to open the detail page.
- Click the Partitions tab.
- Click
Add Partition. - Fill in the partition configuration:
- Partition Name -- a short identifier (for example,
gpuorhigh-mem) - Compute Node -- click
Select Compute Nodeto browse instance types by vCPU, GPU, and price (AWS) or select a profile (non-AWS) - Maximum node count -- the upper bound for autoscaling
- Partition Name -- a short identifier (for example,
- Click
Add Partitionto save.
The new partition appears in the Partitions tab. Nodes are provisioned on demand when jobs target this partition.
Edit a partition
- On the Partitions tab, click the edit icon on the partition row.
- Change the instance type or maximum node count as needed.
- Click
Save.
Start with a low maximum node count and increase as you understand your workload patterns. Each additional node incurs compute costs when jobs are queued.
Set the default partition
Toggle the Default flag on a partition row. Jobs submitted without an explicit --partition flag route to the default partition. Only one partition can be default at a time.
Delete a partition
- Click the delete icon on the partition row.
- Confirm the deletion.
Deleting a partition cancels any jobs currently queued or running on that partition. Drain the partition first if you have active workloads.
Autoscaling behaviour
Slurm autoscales each partition independently. When jobs queue, nodes are provisioned up to the maximum count. When the queue drains, idle nodes are terminated after a cooldown period.
For partition field definitions and Slurm configuration details, see the Partitions reference.