latestOpenAPI 3.1.02026-08-23100133183.1 KB
0d66c7340876
Clusters
Deploy cluster
Deploy a new cluster.
Before deploying add at least one SSH key to enable access to your cluster.
Cluster types can be listed using the GET /v1/cluster-types endpoint. Image types can be listed using the GET /v1/images/cluster endpoint.
post/v1/clusters
Headers
user-agentstring required
cf-connecting-ipstring required
Request body
Example request
{
"cluster_type": "16H200",
"image": "ubuntu-22.04-cuda-12.4-cluster",
"startup_script_id": "1ce9bb88-9fac-4ade-87be-8e3f3eb030fc",
"hostname": "dark-vm-shrinks-fin-01",
"description": "ubuntu-22-04-cuda-12-4-16b200-fin-01",
"tags": [
{
"key": "environment",
"value": "production"
},
{
"key": "benchmark"
}
],
"location_code": "FIN-01",
"contract": "PAY_AS_YOU_GO",
"shared_volume": {
"name": "SFS-pmAna3o2",
"size": 30000
},
"existing_volumes": []
}Response
Cluster deployed
Example response
{
"id": "a5ca0753-53e5-4d8c-bf34-a09b0f213c51"
}