v1

latestSwagger 2.02026-08-04232286653.5 KB
Slurm Nodesets

Create a new slurm nodeset owned by the logged in user.

A successful response from this resource will contain the async operation.

post/projects/{project_id}/slurm/{slurm_cluster_id}/nodesets

Path parameters

project_idstring required
slurm_cluster_idstring required

Request body

countinteger required

Count of nodes in the nodeset.

namestring required

Name of the nodeset.

subnet_idstring

ID of the subnet.

transport_partition_idstring

ID of the transport partition.

typestring required

VM type of the nodeset.

vm_ssh_public_keystring

VM SSH public key.

Example request

{
  "count": 4,
  "name": "my-slurm-nodeset",
  "subnet_id": "09ae8411-0fbb-411c-898c-2b8f19622ae1",
  "transport_partition_id": "b1f86d1b-42d2-490d-adb0-cc1029abf653",
  "type": "a100.2x",
  "vm_ssh_public_key": "ssh-rsa AAAA..."
}

Response

Example response

{
  "operation": {
    "completed_at": "2021-12-03T19:59:34Z",
    "metadata": "{}",
    "operation_id": "F6EF489C-086E-458D-B812-7962964A28C9",
    "result": "{}",
    "started_at": "2021-12-03T19:58:34Z",
    "state": "IN_PROGRESS"
  }
}