v1
latestSwagger 2.02026-08-04232286653.5 KBKubernetes Node Pools
Creates a Kubernetes node pool in the project and returns the async operation.
post/projects/{project_id}/kubernetes/nodepools
Path parameters
project_idstring required
ID of the project to create the node pool in.
Request body
Example request
{
"cluster_id": "09ae8411-0fbb-411c-898c-2b8f19622ae1",
"count": 4,
"ephemeral_storage_for_containerd": true,
"name": "my-kubernetes-node-pool",
"node_labels": {
"label": "my_node"
},
"node_pool_version": "1.30",
"node_taints": [
{
"effect": "NoSchedule",
"key": "gpu-type",
"value": "h100"
}
],
"nvlink_domain_id": "550e8400-e29b-41d4-a716-446655440000",
"placement_policy": "spread",
"product_name": "a100.2x",
"public_ip_type": "dynamic",
"reservation_specification": {
"id": "804bf3a2-81f2-4d78-9a9e-dc6a55ed33d8",
"selection_strategy": "lowest_cost"
},
"ssh_public_key": "ssh-rsa AAAAB3NzaC1yc2EAAAADAQABAAABAQCspdG97nTS/h4PEPq2QD2RYVK1jxFXLFZuSDMI8",
"subnet_id": "09ae8411-0fbb-411c-898c-2b8f19622ae1",
"transport_partition_id": "b1f86d1b-42d2-490d-adb0-cc1029abf653"
}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"
}
}