> This page is for NVIDIA Kubernetes Engine.

> For clean Markdown of any page, append .md to the page URL.
> For a complete documentation index, see https://docs.nvidia.com/nvke/llms.txt.
> For AI client integration (Claude Code, Cursor, etc.), connect to the MCP server at https://docs.nvidia.com/nvke/_mcp/server.

# Create a node pool

POST https://nvke.acme.example/api/nodePools
Content-Type: application/json

Creates a worker node pool and starts provisioning. The pool takes the
cluster's Kubernetes version.

Returns 400 for, among others: parent cluster not found; a duplicate
pool name in the cluster; missing `nico.instanceTypeID`
or `nico.release`; not exactly one of
`subnetIDs` and `vpcPrefixIDs`; a pod CIDR too small for the requested
nodes.


Reference: https://docs.nvidia.com/nvke/rest-api-reference/node-pools/create-node-pool

## Authentication

- `Authorization` header (bearer token, required) — A JWT from an issuer the Operator has configured, carried as `Authorization: Bearer <token>`.

## Request

### Body (application/json)

This endpoint expects a CreateNodePoolRequest.

- `clusterID` (string, required) — Parent cluster.
- `name` (string, required) — Unique within the cluster. Immutable.
- `nodeNamePrefix` (string, required) — Prefix for generated node names: `<cluster name>-<nodeNamePrefix>-<suffix>`. The controller assigns suffix as a 4-digit decimal number (0000–9999). Generated names must fit within 63 characters (Kubernetes Node name limit). Maximum prefix length depends on cluster name length.
- `desiredNodeCount` (integer, required) — The desired number of nodes in the pool. For control-plane pools, aggregate capacity above 1 requires controlPlaneVIP on the cluster.
- `systemReservedMemory` (string, optional, default: 16Gi) — Memory reserved for system daemons. Nodes reserve 16Gi when omitted.
- `kubeReservedMemory` (string, optional) — Memory reserved for Kubernetes components. Default 2Gi.
- `machineAnnotations` (map from string to string, optional) — Annotations set on CAPI Machines only when they are created, including Machines created during scale-out or replacement. Fixed at node-pool creation. Not reconciled after provisioning. Keys under nke.nvidia.com, nke.io, nvke.nvidia.com, kubernetes.io, k8s.io, cluster.x-k8s.io and their subdomains require an explicit deployment allowlist entry for this metadata type.
- `machineLabels` (map from string to string, optional) — Labels set on CAPI Machines only when they are created, including Machines created during scale-out or replacement. Fixed at node-pool creation. Not reconciled after provisioning. Keys under nke.nvidia.com, nke.io, nvke.nvidia.com, kubernetes.io, k8s.io, cluster.x-k8s.io and their subdomains require an explicit deployment allowlist entry for this metadata type.
- `nodeLabels` (map from string to string, optional) — Labels applied to the pool's nodes at creation, as a map of keys to values. Keys under nvke.nvidia.com, nke.nvidia.com (legacy), nke.io (legacy), kubernetes.io, k8s.io and their subdomains are reserved, unless the deployment allows specific Kubernetes keys.
- `nodeTaints` (list of NodeTaint, optional) — Taints applied to the pool's nodes at creation. Not allowed on control-plane pools. Keys under nvke.nvidia.com, nke.nvidia.com (legacy), nke.io (legacy), kubernetes.io, k8s.io and their subdomains are reserved. Each key and effect pair may appear only once.
- `description` (string, optional) — Free-text description.
- `autoProvisionDisabled` (boolean, optional, default: false) — Disables automatic provisioning for the pool.
- `autoModeDisabled` (boolean, optional, default: false) — Disables auto-mode (automatic node recycling).
- `provisioningMonitorDisabled` (boolean, optional, default: false) — When true, nodes stuck in provisioning past the timeout are not recycled automatically.
- `recycleBudget` (integer, optional, default: 0) — Maximum number of nodes recycled at once.
- `nico` (NicoNodePoolProvider, optional) — NICo settings for a node pool. instanceTypeID and release are required, and exactly one of subnetIDs and vpcPrefixIDs is required.
- `launchLayer` (LaunchLayerNodePoolProvider, optional) — LaunchLayer settings for a node pool. instanceType is required, and at most one of hostOSProfile and vmProfile may be set.

## Response

### 201

Node pool created; provisioning has started

- `id` (string, required) — Node pool ID.
- `clusterID` (string, required) — Parent cluster.
- `name` (string, required) — Node pool name. Unique within the cluster. Immutable.
- `nodeNamePrefix` (string, required) — Node names are `<cluster>-<prefix>-<NNNN>` (four-digit suffix), at most 63 characters in total.
- `kubernetesVersion` (string, required) — Desired Kubernetes version for the pool's nodes. Inherits the cluster's version on create.
- `nodeLabels` (map from string to string, required) — Labels applied to the pool's nodes, as a map of keys to values. Set at creation.
- `nodeTaints` (list of NodeTaint, required) — Taints applied to the pool's nodes. Set at creation.
- `conditions` (NodePoolConditions, required) — Lifecycle conditions: provisioning, provisioned, deleting.
- `desiredNodeCount` (integer, required) — Number of nodes.
- `autoProvisionDisabled` (boolean, required) — Disables automatic provisioning for the pool.
- `currentNodeSetID` (string, required, nullable) — The active NodeSet.
- `autoModeDisabled` (boolean, required) — Disables auto-mode (automatic node recycling).
- `provisioningMonitorDisabled` (boolean, required, default: false) — When true, nodes stuck in provisioning past the timeout are not recycled automatically.
- `recycleBudget` (integer, required) — Maximum number of nodes recycled at once.
- `systemReservedMemory` (string, optional, default: 16Gi) — Memory reserved for system daemons. Nodes reserve 16Gi when omitted.
- `kubeReservedMemory` (string, optional) — Memory reserved for Kubernetes components. Empty when the 2Gi default applies.
- `machineAnnotations` (map from string to string, optional) — Annotations set on CAPI Machines only when they are created, including Machines created during scale-out or replacement. Fixed at node-pool creation. Not reconciled after provisioning. Keys under nke.nvidia.com, nke.io, nvke.nvidia.com, kubernetes.io, k8s.io, cluster.x-k8s.io and their subdomains require an explicit deployment allowlist entry for this metadata type.
- `machineLabels` (map from string to string, optional) — Labels set on CAPI Machines only when they are created, including Machines created during scale-out or replacement. Fixed at node-pool creation. Not reconciled after provisioning. Keys under nke.nvidia.com, nke.io, nvke.nvidia.com, kubernetes.io, k8s.io, cluster.x-k8s.io and their subdomains require an explicit deployment allowlist entry for this metadata type.
- `description` (string, optional) — Free-text description.
- `maxSurge` (integer, optional, default: 0) — Nodes allowed above desiredNodeCount during a rollout. 0 means sequential: each node is torn down before its replacement is provisioned.
- `nico` (NicoNodePoolProvider, optional) — NICo settings for the pool.
- `launchLayer` (LaunchLayerNodePoolProvider, optional) — LaunchLayer settings for the pool.

## Errors

### 400 Bad Request Error

The request failed validation

- `message` (string, required) — What went wrong.

### 401 Unauthorized Error

No valid bearer token was presented.

- `message` (string, required) — What went wrong.

### 403 Forbidden Error

The token verified, but its subject matches no admission rule.

- `message` (string, required) — What went wrong.

### 409 Conflict Error

The parent cluster is being deleted

- `message` (string, required) — What went wrong.

## Types

### NodeTaint

A Kubernetes taint applied to nodes in a pool.

- `key` (string, required) — Taint key.
- `effect` (enum, required) — Kubernetes taint effect.
  - Allowed values: `NoSchedule`, `PreferNoSchedule`, `NoExecute`
- `value` (string, optional) — Taint value. Empty is valid.

### NicoNodePoolProvider

NICo settings for a node pool. instanceTypeID and release are required, and exactly one of subnetIDs and vpcPrefixIDs is required.

- `subnetIDs` (list of string, optional) — Subnets, for sites without native networking.
- `vpcPrefixIDs` (list of string, optional) — VPC prefixes, for sites with native networking.
- `instanceTypeID` (string, optional) — NICo instance type. Fixed at creation.
- `infinibandPartitionID` (string, optional) — InfiniBand partition. Fixed at creation.
- `nvLinkLogicalPartitionID` (string, optional) — NVLink logical partition. Fixed at creation.
- `sshKeyGroupIDs` (list of string, optional) — SSH key groups for node access. Fixed at creation.
- `release` (string, optional) — Name of a release the Operator has supplied to the management plane.
- `diskSelectionStrategy` (enum, optional) — Which disk the OS is installed on. Default smallest.
  - Allowed values: `smallest`, `largest`

### LaunchLayerNodePoolProvider

LaunchLayer settings for a node pool. instanceType is required, and at most one of hostOSProfile and vmProfile may be set.

- `instanceType` (string, required) — Requests capacity of a given shape, for example "vm200".
- `hostOSProfile` (string, optional) — Bare-metal profile, as "\<name>" or "\<name>:\<version>". Mutually exclusive with vmProfile.
- `vmProfile` (string, optional) — Virtual profile, as "\<name>" or "\<name>:\<version>". Mutually exclusive with hostOSProfile.
- `fulfillmentStrategy` (enum, optional) — Controls how the Compute Allocation Operator places the request.
  - Allowed values: `BEST_EFFORT`, `ALL_OR_NOTHING`, `WAIT_FOR_RESOURCE`
- `securityGroupRefs` (LaunchLayerSecurityGroupRefs, optional) — Names of the owning cluster's managed security groups to attach, per network interface. Mutually exclusive with securityGroups (existing group IDs) per interface — CAPLL supports both but NVKE always creates groups through the cluster, so NVKE only exposes refs.

### NodePoolConditions

Lifecycle conditions of a node pool. Each is a Condition.

- `provisioning` (Condition, required) — The node pool is provisioning.
- `provisioned` (Condition, required) — The node pool is provisioned.
- `deleting` (Condition, required) — The node pool is being deleted.

### LaunchLayerSecurityGroupRefs

Names of the owning cluster's managed security groups to attach, per network interface. Mutually exclusive with securityGroups (existing group IDs) per interface — CAPLL supports both but NVKE always creates groups through the cluster, so NVKE only exposes refs.

- `primaryNetworkInterface` (list of string, optional) — Managed security group names to attach to the primary network interface.
- `gpuNetworkInterface` (list of string, optional) — Managed security group names to attach to the GPU network interface.

### Condition

A status, when it last changed, and a message.

- `status` (enum, required) — Condition status.
  - Allowed values: `True`, `False`, `Unknown`
- `lastTransitionTime` (datetime, required) — When the status last changed.
- `message` (string, required) — Human-readable detail. May be empty.

## Examples

**Request**

```json
{
  "clusterID": "9b1d4e2a-3c5f-4a7b-8e9d-0f1a2b3c4d5e",
  "name": "gpu-workers-b300",
  "nodeNamePrefix": "wb",
  "desiredNodeCount": 4,
  "systemReservedMemory": "32Gi",
  "kubeReservedMemory": "4Gi",
  "nodeLabels": {
    "nvidia.com/gpu.product": "B300"
  },
  "nodeTaints": [
    {
      "key": "nvidia.com/dedicated",
      "effect": "NoSchedule",
      "value": "team-b"
    }
  ],
  "description": "Reserved for team-b training jobs",
  "recycleBudget": 1,
  "nico": {
    "vpcPrefixIDs": [
      "2d4f6b8a-0c2e-4a4f-b6d8-f0c2e4a6b8d0"
    ],
    "instanceTypeID": "9e8d7c6b-5a4f-4e3d-8c2b-1a0f9e8d7c6b",
    "sshKeyGroupIDs": [
      "3e5a7c9b-1d3f-4b5a-c7e9-a1d3f5b7c9e1"
    ],
    "release": "example-ubuntu-24.04-amd64",
    "diskSelectionStrategy": "largest"
  }
}
```

**Response**

```json
{
  "id": "string",
  "clusterID": "string",
  "name": "string",
  "nodeNamePrefix": "string",
  "kubernetesVersion": "string",
  "nodeLabels": {},
  "nodeTaints": [
    {
      "key": "string",
      "effect": "NoSchedule",
      "value": "string"
    }
  ],
  "conditions": {
    "provisioning": {
      "status": "True",
      "lastTransitionTime": "2024-01-15T09:30:00Z",
      "message": "string"
    },
    "provisioned": {
      "status": "True",
      "lastTransitionTime": "2024-01-15T09:30:00Z",
      "message": "string"
    },
    "deleting": {
      "status": "True",
      "lastTransitionTime": "2024-01-15T09:30:00Z",
      "message": "string"
    }
  },
  "desiredNodeCount": 1,
  "autoProvisionDisabled": true,
  "currentNodeSetID": "string",
  "autoModeDisabled": true,
  "provisioningMonitorDisabled": false,
  "recycleBudget": 1,
  "systemReservedMemory": "16Gi",
  "kubeReservedMemory": "string",
  "machineAnnotations": {},
  "machineLabels": {},
  "description": "string",
  "maxSurge": 0,
  "nico": {
    "subnetIDs": [
      "string"
    ],
    "vpcPrefixIDs": [
      "string"
    ],
    "instanceTypeID": "string",
    "infinibandPartitionID": "string",
    "nvLinkLogicalPartitionID": "string",
    "sshKeyGroupIDs": [
      "string"
    ],
    "release": "example-ubuntu-24.04-amd64",
    "diskSelectionStrategy": "smallest"
  },
  "launchLayer": {
    "instanceType": "string",
    "hostOSProfile": "string",
    "vmProfile": "string",
    "fulfillmentStrategy": "BEST_EFFORT",
    "securityGroupRefs": {
      "primaryNetworkInterface": [
        "string"
      ],
      "gpuNetworkInterface": [
        "string"
      ]
    }
  }
}
```

**SDK Code**

```python Node pools_createNodePool_example
import requests

url = "https://nvke.acme.example/api/nodePools"

payload = {
    "clusterID": "9b1d4e2a-3c5f-4a7b-8e9d-0f1a2b3c4d5e",
    "name": "gpu-workers-b300",
    "nodeNamePrefix": "wb",
    "desiredNodeCount": 4,
    "systemReservedMemory": "32Gi",
    "kubeReservedMemory": "4Gi",
    "nodeLabels": { "nvidia.com/gpu.product": "B300" },
    "nodeTaints": [
        {
            "key": "nvidia.com/dedicated",
            "effect": "NoSchedule",
            "value": "team-b"
        }
    ],
    "description": "Reserved for team-b training jobs",
    "recycleBudget": 1,
    "nico": {
        "vpcPrefixIDs": ["2d4f6b8a-0c2e-4a4f-b6d8-f0c2e4a6b8d0"],
        "instanceTypeID": "9e8d7c6b-5a4f-4e3d-8c2b-1a0f9e8d7c6b",
        "sshKeyGroupIDs": ["3e5a7c9b-1d3f-4b5a-c7e9-a1d3f5b7c9e1"],
        "release": "example-ubuntu-24.04-amd64",
        "diskSelectionStrategy": "largest"
    }
}
headers = {
    "Authorization": "Bearer <token>",
    "Content-Type": "application/json"
}

response = requests.post(url, json=payload, headers=headers)

print(response.json())
```

```javascript Node pools_createNodePool_example
const url = 'https://nvke.acme.example/api/nodePools';
const options = {
  method: 'POST',
  headers: {Authorization: 'Bearer <token>', 'Content-Type': 'application/json'},
  body: '{"clusterID":"9b1d4e2a-3c5f-4a7b-8e9d-0f1a2b3c4d5e","name":"gpu-workers-b300","nodeNamePrefix":"wb","desiredNodeCount":4,"systemReservedMemory":"32Gi","kubeReservedMemory":"4Gi","nodeLabels":{"nvidia.com/gpu.product":"B300"},"nodeTaints":[{"key":"nvidia.com/dedicated","effect":"NoSchedule","value":"team-b"}],"description":"Reserved for team-b training jobs","recycleBudget":1,"nico":{"vpcPrefixIDs":["2d4f6b8a-0c2e-4a4f-b6d8-f0c2e4a6b8d0"],"instanceTypeID":"9e8d7c6b-5a4f-4e3d-8c2b-1a0f9e8d7c6b","sshKeyGroupIDs":["3e5a7c9b-1d3f-4b5a-c7e9-a1d3f5b7c9e1"],"release":"example-ubuntu-24.04-amd64","diskSelectionStrategy":"largest"}}'
};

try {
  const response = await fetch(url, options);
  const data = await response.json();
  console.log(data);
} catch (error) {
  console.error(error);
}
```

```go Node pools_createNodePool_example
package main

import (
	"fmt"
	"strings"
	"net/http"
	"io"
)

func main() {

	url := "https://nvke.acme.example/api/nodePools"

	payload := strings.NewReader("{\n  \"clusterID\": \"9b1d4e2a-3c5f-4a7b-8e9d-0f1a2b3c4d5e\",\n  \"name\": \"gpu-workers-b300\",\n  \"nodeNamePrefix\": \"wb\",\n  \"desiredNodeCount\": 4,\n  \"systemReservedMemory\": \"32Gi\",\n  \"kubeReservedMemory\": \"4Gi\",\n  \"nodeLabels\": {\n    \"nvidia.com/gpu.product\": \"B300\"\n  },\n  \"nodeTaints\": [\n    {\n      \"key\": \"nvidia.com/dedicated\",\n      \"effect\": \"NoSchedule\",\n      \"value\": \"team-b\"\n    }\n  ],\n  \"description\": \"Reserved for team-b training jobs\",\n  \"recycleBudget\": 1,\n  \"nico\": {\n    \"vpcPrefixIDs\": [\n      \"2d4f6b8a-0c2e-4a4f-b6d8-f0c2e4a6b8d0\"\n    ],\n    \"instanceTypeID\": \"9e8d7c6b-5a4f-4e3d-8c2b-1a0f9e8d7c6b\",\n    \"sshKeyGroupIDs\": [\n      \"3e5a7c9b-1d3f-4b5a-c7e9-a1d3f5b7c9e1\"\n    ],\n    \"release\": \"example-ubuntu-24.04-amd64\",\n    \"diskSelectionStrategy\": \"largest\"\n  }\n}")

	req, _ := http.NewRequest("POST", url, payload)

	req.Header.Add("Authorization", "Bearer <token>")
	req.Header.Add("Content-Type", "application/json")

	res, _ := http.DefaultClient.Do(req)

	defer res.Body.Close()
	body, _ := io.ReadAll(res.Body)

	fmt.Println(res)
	fmt.Println(string(body))

}
```

```ruby Node pools_createNodePool_example
require 'uri'
require 'net/http'

url = URI("https://nvke.acme.example/api/nodePools")

http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true

request = Net::HTTP::Post.new(url)
request["Authorization"] = 'Bearer <token>'
request["Content-Type"] = 'application/json'
request.body = "{\n  \"clusterID\": \"9b1d4e2a-3c5f-4a7b-8e9d-0f1a2b3c4d5e\",\n  \"name\": \"gpu-workers-b300\",\n  \"nodeNamePrefix\": \"wb\",\n  \"desiredNodeCount\": 4,\n  \"systemReservedMemory\": \"32Gi\",\n  \"kubeReservedMemory\": \"4Gi\",\n  \"nodeLabels\": {\n    \"nvidia.com/gpu.product\": \"B300\"\n  },\n  \"nodeTaints\": [\n    {\n      \"key\": \"nvidia.com/dedicated\",\n      \"effect\": \"NoSchedule\",\n      \"value\": \"team-b\"\n    }\n  ],\n  \"description\": \"Reserved for team-b training jobs\",\n  \"recycleBudget\": 1,\n  \"nico\": {\n    \"vpcPrefixIDs\": [\n      \"2d4f6b8a-0c2e-4a4f-b6d8-f0c2e4a6b8d0\"\n    ],\n    \"instanceTypeID\": \"9e8d7c6b-5a4f-4e3d-8c2b-1a0f9e8d7c6b\",\n    \"sshKeyGroupIDs\": [\n      \"3e5a7c9b-1d3f-4b5a-c7e9-a1d3f5b7c9e1\"\n    ],\n    \"release\": \"example-ubuntu-24.04-amd64\",\n    \"diskSelectionStrategy\": \"largest\"\n  }\n}"

response = http.request(request)
puts response.read_body
```

```java Node pools_createNodePool_example
import com.mashape.unirest.http.HttpResponse;
import com.mashape.unirest.http.Unirest;

HttpResponse<String> response = Unirest.post("https://nvke.acme.example/api/nodePools")
  .header("Authorization", "Bearer <token>")
  .header("Content-Type", "application/json")
  .body("{\n  \"clusterID\": \"9b1d4e2a-3c5f-4a7b-8e9d-0f1a2b3c4d5e\",\n  \"name\": \"gpu-workers-b300\",\n  \"nodeNamePrefix\": \"wb\",\n  \"desiredNodeCount\": 4,\n  \"systemReservedMemory\": \"32Gi\",\n  \"kubeReservedMemory\": \"4Gi\",\n  \"nodeLabels\": {\n    \"nvidia.com/gpu.product\": \"B300\"\n  },\n  \"nodeTaints\": [\n    {\n      \"key\": \"nvidia.com/dedicated\",\n      \"effect\": \"NoSchedule\",\n      \"value\": \"team-b\"\n    }\n  ],\n  \"description\": \"Reserved for team-b training jobs\",\n  \"recycleBudget\": 1,\n  \"nico\": {\n    \"vpcPrefixIDs\": [\n      \"2d4f6b8a-0c2e-4a4f-b6d8-f0c2e4a6b8d0\"\n    ],\n    \"instanceTypeID\": \"9e8d7c6b-5a4f-4e3d-8c2b-1a0f9e8d7c6b\",\n    \"sshKeyGroupIDs\": [\n      \"3e5a7c9b-1d3f-4b5a-c7e9-a1d3f5b7c9e1\"\n    ],\n    \"release\": \"example-ubuntu-24.04-amd64\",\n    \"diskSelectionStrategy\": \"largest\"\n  }\n}")
  .asString();
```

```php Node pools_createNodePool_example
<?php
require_once('vendor/autoload.php');

$client = new \GuzzleHttp\Client();

$response = $client->request('POST', 'https://nvke.acme.example/api/nodePools', [
  'body' => '{
  "clusterID": "9b1d4e2a-3c5f-4a7b-8e9d-0f1a2b3c4d5e",
  "name": "gpu-workers-b300",
  "nodeNamePrefix": "wb",
  "desiredNodeCount": 4,
  "systemReservedMemory": "32Gi",
  "kubeReservedMemory": "4Gi",
  "nodeLabels": {
    "nvidia.com/gpu.product": "B300"
  },
  "nodeTaints": [
    {
      "key": "nvidia.com/dedicated",
      "effect": "NoSchedule",
      "value": "team-b"
    }
  ],
  "description": "Reserved for team-b training jobs",
  "recycleBudget": 1,
  "nico": {
    "vpcPrefixIDs": [
      "2d4f6b8a-0c2e-4a4f-b6d8-f0c2e4a6b8d0"
    ],
    "instanceTypeID": "9e8d7c6b-5a4f-4e3d-8c2b-1a0f9e8d7c6b",
    "sshKeyGroupIDs": [
      "3e5a7c9b-1d3f-4b5a-c7e9-a1d3f5b7c9e1"
    ],
    "release": "example-ubuntu-24.04-amd64",
    "diskSelectionStrategy": "largest"
  }
}',
  'headers' => [
    'Authorization' => 'Bearer <token>',
    'Content-Type' => 'application/json',
  ],
]);

echo $response->getBody();
```

```csharp Node pools_createNodePool_example
using RestSharp;

var client = new RestClient("https://nvke.acme.example/api/nodePools");
var request = new RestRequest(Method.POST);
request.AddHeader("Authorization", "Bearer <token>");
request.AddHeader("Content-Type", "application/json");
request.AddParameter("application/json", "{\n  \"clusterID\": \"9b1d4e2a-3c5f-4a7b-8e9d-0f1a2b3c4d5e\",\n  \"name\": \"gpu-workers-b300\",\n  \"nodeNamePrefix\": \"wb\",\n  \"desiredNodeCount\": 4,\n  \"systemReservedMemory\": \"32Gi\",\n  \"kubeReservedMemory\": \"4Gi\",\n  \"nodeLabels\": {\n    \"nvidia.com/gpu.product\": \"B300\"\n  },\n  \"nodeTaints\": [\n    {\n      \"key\": \"nvidia.com/dedicated\",\n      \"effect\": \"NoSchedule\",\n      \"value\": \"team-b\"\n    }\n  ],\n  \"description\": \"Reserved for team-b training jobs\",\n  \"recycleBudget\": 1,\n  \"nico\": {\n    \"vpcPrefixIDs\": [\n      \"2d4f6b8a-0c2e-4a4f-b6d8-f0c2e4a6b8d0\"\n    ],\n    \"instanceTypeID\": \"9e8d7c6b-5a4f-4e3d-8c2b-1a0f9e8d7c6b\",\n    \"sshKeyGroupIDs\": [\n      \"3e5a7c9b-1d3f-4b5a-c7e9-a1d3f5b7c9e1\"\n    ],\n    \"release\": \"example-ubuntu-24.04-amd64\",\n    \"diskSelectionStrategy\": \"largest\"\n  }\n}", ParameterType.RequestBody);
IRestResponse response = client.Execute(request);
```

```swift Node pools_createNodePool_example
import Foundation

let headers = [
  "Authorization": "Bearer <token>",
  "Content-Type": "application/json"
]
let parameters = [
  "clusterID": "9b1d4e2a-3c5f-4a7b-8e9d-0f1a2b3c4d5e",
  "name": "gpu-workers-b300",
  "nodeNamePrefix": "wb",
  "desiredNodeCount": 4,
  "systemReservedMemory": "32Gi",
  "kubeReservedMemory": "4Gi",
  "nodeLabels": ["nvidia.com/gpu.product": "B300"],
  "nodeTaints": [
    [
      "key": "nvidia.com/dedicated",
      "effect": "NoSchedule",
      "value": "team-b"
    ]
  ],
  "description": "Reserved for team-b training jobs",
  "recycleBudget": 1,
  "nico": [
    "vpcPrefixIDs": ["2d4f6b8a-0c2e-4a4f-b6d8-f0c2e4a6b8d0"],
    "instanceTypeID": "9e8d7c6b-5a4f-4e3d-8c2b-1a0f9e8d7c6b",
    "sshKeyGroupIDs": ["3e5a7c9b-1d3f-4b5a-c7e9-a1d3f5b7c9e1"],
    "release": "example-ubuntu-24.04-amd64",
    "diskSelectionStrategy": "largest"
  ]
] as [String : Any]

let postData = JSONSerialization.data(withJSONObject: parameters, options: [])

let request = NSMutableURLRequest(url: NSURL(string: "https://nvke.acme.example/api/nodePools")! as URL,
                                        cachePolicy: .useProtocolCachePolicy,
                                    timeoutInterval: 10.0)
request.httpMethod = "POST"
request.allHTTPHeaderFields = headers
request.httpBody = postData as Data

let session = URLSession.shared
let dataTask = session.dataTask(with: request as URLRequest, completionHandler: { (data, response, error) -> Void in
  if (error != nil) {
    print(error as Any)
  } else {
    let httpResponse = response as? HTTPURLResponse
    print(httpResponse)
  }
})

dataTask.resume()
```