> ## Documentation Index
> Fetch the complete documentation index at: https://docs.nebius.com/llms.txt
> Use this file to discover all available pages before exploring further.

# nebius mk8s node-group create

## Name

`nebius mk8s node-group create`

## Synopsis

```
nebius mk8s node-group create
  --auto-repair-conditions
  --autoscaling-initial-node-count
  --autoscaling-max-node-count
  --autoscaling-min-node-count
  --fixed-node-count
  --labels
  --name
  --parent-id [required]
  --resource-version
  --strategy-drain-timeout
  --strategy-max-surge-count
  --strategy-max-surge-percent
  --strategy-max-unavailable-count
  --strategy-max-unavailable-percent
  --template-boot-disk-block-size-bytes
  --template-boot-disk-disk-encryption-type
  --template-boot-disk-size-bytes
  --template-boot-disk-size-gibibytes
  --template-boot-disk-size-kibibytes
  --template-boot-disk-size-mebibytes
  --template-boot-disk-type
  --template-cloud-init-user-data
  --template-container-runtime-soci-pull-mode
  --template-filesystems
  --template-follows-spot-price
  --template-gpu-cluster-id
  --template-gpu-settings-dra
  --template-gpu-settings-drivers-preset
  --template-instance-metadata-labels
  --template-local-disks-config-kubelet-ephemeral
  --template-local-disks-config-none
  --template-local-disks-passthrough-group-requested
  --template-max-pods
  --template-metadata-labels
  --template-network-interfaces
  --template-nvlink-nvl-instance-group-id
  --template-on-demand
  --template-os
  --template-preemptible
  --template-reservation-policy-policy
  --template-reservation-policy-reservation-ids
  --template-resources-platform [required]
  --template-resources-preset [required]
  --template-service-account-id
  --template-spot-pricing-policy-id
  --template-taints
  --version
  --async
  --auto-approve
  --dry-run
  -i, --interactive
  --no-preflight-check
```

## Examples

**Create a fixed-size node group**

```
nebius mk8s node-group create \
  --parent-id $K8S_CLUSTER_ID \
  --name <node_group_name> \
  --fixed-node-count <number_of_nodes> \
  --template-resources-platform <platform_ID> \
  --template-resources-preset <preset_name> \
  --template-gpu-settings-drivers-preset <driver_preset>
```

**Create an autoscaling node group**

```
nebius mk8s node-group create \
  ... \
  --autoscaling-min-node-count <minimum_number_of_nodes> \
  --autoscaling-max-node-count <maximum_number_of_nodes>
```

**Create a preemptible node group**

```
nebius mk8s node-group create \
  ... \
  --template-preemptible
```

## Options

`--auto-repair-conditions` (json)

Conditions that determine whether a node should be auto repaired.

(structure)

**disabled** -> (bool)

When true, disables the default auto-repair condition rules.

Mutually exclusive with: *timeout*.

**status** -> (string)

Node condition status.

A value must be one of:

<ul>
  <li>
    `"condition_status_unspecified"`
  </li>

  <li>
    `"true"`
  </li>

  <li>
    `"false"`
  </li>

  <li>
    `"unknown"`
  </li>
</ul>

**timeout** -> (duration)*\[google.protobuf.Duration]*

The duration after which the node is automatically repaired if the condition remains in the specified status.

Mutually exclusive with: *disabled*.

**type** -> (string)*\[required]*

Node condition type.

JSON Schema:

```json theme={null}
[{                                                                 
  "disabled": false,                                               
  "status": "condition_status_unspecified"|"true"|"false"|"unknown",
  "type": ""                                                       
}]
```

`--autoscaling-initial-node-count` (int64)

Initial number of nodes in the autoscaled node group. Defaults to `min_node_count`.\

At creation, the value must be between `min_node_count` and `max_node_count`, inclusive.\


Updating or clearing this field after creation has no effect.\

This also applies when switching an existing node group from a fixed size to autoscaling.\

Autoscaling starts from the current node count, subject to `min_node_count` and `max_node_count`.

Mutually exclusive with: `--fixed-node-count`.

`--autoscaling-max-node-count` (int64)

Mutually exclusive with: `--fixed-node-count`.

`--autoscaling-min-node-count` (int64)

Mutually exclusive with: `--fixed-node-count`.

`--fixed-node-count` (int64)

Number of nodes in the group. Can be changed manually at any time, except for a node group with NVLink.

Mutually exclusive with: `--autoscaling-initial-node-count`, `--autoscaling-max-node-count`, `--autoscaling-min-node-count`.

`--labels` (string->string)

Labels associated with the resource.

`--name` (string)

Human-readable name for the resource.

`--parent-id` (string)* \[required]*

Identifier of the parent resource to which the resource belongs.

`--resource-version` (int64)

Version of the resource for safe concurrent modifications and consistent reads.\

Positive and monotonically increases on each resource spec change (but *not* on each change of the\

resource's container(s) or status).\

Service allows zero value or current.

`--strategy-drain-timeout` (duration: 2h30m10s)

Maximum amount of time that the service will spend attempting to gracefully drain a node\

(evicting its pods) before falling back to pod deletion.\

A value of 0 means no timeout: the node can be drained for an unlimited time.\

Important consequence of that is if PodDisruptionBudget doesn't allow evicting a pod,\

then NodeGroup update with node re-creation will hang on that pod eviction.\

Note that this is different from `kubectl drain --timeout`, which gives up and returns an error.\


On 2026-08-01, defaults to 0.\

IMPORTANT: starting from Q3 2026 new default is 10m;\

for new clusters it will default to 10m,\

node groups in existing clusters will be gradually migrated during Q3 to the default of 10m as well.\

To get the actual value for your node group, please see 'strategy' in its status.

`--strategy-max-surge-count` (int64)

Mutually exclusive with: `--strategy-max-surge-percent`.

`--strategy-max-surge-percent` (int64)

Mutually exclusive with: `--strategy-max-surge-count`.

`--strategy-max-unavailable-count` (int64)

Mutually exclusive with: `--strategy-max-unavailable-percent`.

`--strategy-max-unavailable-percent` (int64)

Mutually exclusive with: `--strategy-max-unavailable-count`.

`--template-boot-disk-block-size-bytes` (int64)

`--template-boot-disk-disk-encryption-type` (string)

A value must be one of:

<ul>
  <li>
    `disk_encryption_unspecified`
  </li>

  <li>
    `disk_encryption_managed`
  </li>
</ul>

`--template-boot-disk-size-bytes` (int64)

Mutually exclusive with: `--template-boot-disk-size-gibibytes`, `--template-boot-disk-size-kibibytes`, `--template-boot-disk-size-mebibytes`.

`--template-boot-disk-size-gibibytes` (int64)

Mutually exclusive with: `--template-boot-disk-size-bytes`, `--template-boot-disk-size-kibibytes`, `--template-boot-disk-size-mebibytes`.

`--template-boot-disk-size-kibibytes` (int64)

Mutually exclusive with: `--template-boot-disk-size-bytes`, `--template-boot-disk-size-gibibytes`, `--template-boot-disk-size-mebibytes`.

`--template-boot-disk-size-mebibytes` (int64)

Mutually exclusive with: `--template-boot-disk-size-bytes`, `--template-boot-disk-size-gibibytes`, `--template-boot-disk-size-kibibytes`.

`--template-boot-disk-type` (string)

A value must be one of:

<ul>
  <li>
    `unspecified`
  </li>

  <li>
    `network_ssd`
  </li>

  <li>
    `network_hdd`
  </li>

  <li>
    `network_ssd_io_m3`
  </li>

  <li>
    `network_ssd_non_replicated`
  </li>
</ul>

`--template-cloud-init-user-data` (string)

Cloud-init user-data\

Should contain at least one SSH key.

`--template-container-runtime-soci-pull-mode` (string)

Uses SOCI Snapshotter to pull images.

A value must be one of:

<ul>
  <li>
    `soci_pull_mode_unspecified`
  </li>

  <li>
    `lazy`
  </li>

  <li>
    `parallel`
  </li>
</ul>

`--template-filesystems` (json)

Static attachments of Compute Filesystem.\

Can be used as a workaround, until CSI for Compute Disk and Filesystem will be available.

(structure)

**attach\_mode** -> (string)*\[required]*

A value must be one of:

<ul>
  <li>
    `"unspecified"`
  </li>

  <li>
    `"read_only"`
  </li>

  <li>
    `"read_write"`
  </li>
</ul>

**existing\_filesystem** -> (structure)

**id** -> (string)*\[required]*

**mount\_tag** -> (string)*\[required]*

Specifies the user-defined identifier, allowing to use it as a device in mount command.

JSON Schema:

```json theme={null}
[{                                                     
  "attach_mode": "unspecified"|"read_only"|"read_write",
  "existing_filesystem": {
    "id": ""              
  },
  "mount_tag": ""                                      
}]
```

`--template-follows-spot-price` (bool)

The preemptible VM accepts the current spot price.

Mutually exclusive with: `--template-on-demand`, `--template-spot-pricing-policy-id`.

`--template-gpu-cluster-id` (string)

`--template-gpu-settings-dra` (bool)

Enables Dynamic Resource Allocation for this GPU node group.\

For nodes whose image contains preinstalled NVIDIA drivers, disables the legacy NVIDIA device plugin.\

For GPU nodes attached to a Compute GPU cluster, advertises RDMA capability through the managed DRANet DaemonSet.

`--template-gpu-settings-drivers-preset` (string)

Identifier of the predefined set of drivers included in the ComputeImage deployed on ComputeInstances that are part of the NodeGroup.\

Supported presets depend on the platform and Kubernetes version.\

To get the up-to-date list of supported presets for a given Kubernetes version and platform, run:\

nebius mk8s node-group get-compatibility-matrix --cluster-kubernetes-version VERSION --platform PLATFORM\

Leave empty for GPU nodes that do not have preinstalled drivers, including DRA-enabled node groups.

`--template-instance-metadata-labels` (string->string)

Labels propagated into Compute Instance metadata.\

Provider-managed labels take precedence over user-provided instance labels.

`--template-local-disks-config-kubelet-ephemeral` (bool)

Kubelet\_ephemeral: combine all local disks into a single storage volume and use it as kubelet's local ephemeral storage on the node\

See also [https://kubernetes.io/docs/concepts/storage/ephemeral-storage/](https://kubernetes.io/docs/concepts/storage/ephemeral-storage/)\


The default when LocalDisksSpecConfig is not set.

Mutually exclusive with: `--template-local-disks-config-none`.

`--template-local-disks-config-none` (bool)

None: "do nothing" - local disks will be provisioned as on a regular compute instance.

Mutually exclusive with: `--template-local-disks-config-kubelet-ephemeral`.

`--template-local-disks-passthrough-group-requested` (bool)

Passthrough local disks from the underlying host.\


Devices are expected to appear in the guest as NVMe devices (nvme0, nvme1, ...),\

but the exact number depends on the preset.\

Enabled only when this field is explicitly set.

`--template-max-pods` (int64)

The maximum number of Pods per node for your cluster. If omitted, MK8S assigns the default value of 110. When you\

configure the maximum number of Pods per node for the cluster, MK8S uses this value to allocate a CIDR range for every node\

in group. The node CIDR prefix is calculated as `32 - ceil(log2(2 * max_pods))`, i.e. the smallest IPv4 subnet whose total address\

count is at least `2 * max_pods`. Not all IPs are usable for workload Pods because some of them are consumed by system Pods.

`--template-metadata-labels` (string->string)

Kubernetes Node labels.\


Keys and values must follow Kubernetes label syntax:\

[https://kubernetes.io/docs/concepts/overview/working-with-objects/labels/](https://kubernetes.io/docs/concepts/overview/working-with-objects/labels/)\


For now change will not be propagated to existing nodes, so will be applied only to Kubernetes Nodes created after the field change.\

That behavior may change later.\

So, for now you will need to manually set them to existing nodes, if that is needed.\


System labels containing "kubernetes.io" and "k8s.io" will be ignored.\

Field change will NOT trigger NodeGroup roll out.

`--template-network-interfaces` (json)

(structure)

**public\_ip\_address** -> (structure)*\[meaningful\_empty\_value]*

Parameters for Public IPv4 address associated with the interface.\

Set to empty value, to enable it.

**security\_groups** -> (structure)

User provided VPC Security Groups which will be assigned to all nodes of this NodeGroup.

**id** -> (string)

**subnet\_id** -> (string)*\[non\_empty\_default]*

Nebius VPC Subnet ID that will be attached to a node cloud instance network interface.\

By default Cluster control plane subnet\_id used.\

Subnet should be located in the same network with control plane.

JSON Schema:

```json theme={null}
[{                      
  "public_ip_address": {
  },
  "security_groups": [{
    "id": ""           
  }],
  "subnet_id": ""       
}]
```

`--template-nvlink-nvl-instance-group-id` (string)

Existing NVLInstanceGroup ID to use.

`--template-on-demand` (bool)

A regular, non-preemptible VM.

Mutually exclusive with: `--template-follows-spot-price`, `--template-spot-pricing-policy-id`.

`--template-os` (string)

OS version that will be used to create the boot disk of Compute Instances in the NodeGroup.\

Supported OS depend on the platform and Kubernetes version.\

To get the up-to-date list of supported OS for a given Kubernetes version and platform, run:\

nebius mk8s node-group get-compatibility-matrix --cluster-kubernetes-version VERSION --platform PLATFORM.

`--template-preemptible` (bool)

Configures whether the nodes in the group are preemptible.\

Set to empty value to enable preemptible nodes.

`--template-reservation-policy-policy` (string)

A value must be one of:

<ul>
  <li>
    `auto`
  </li>

  <li>
    `forbid`
  </li>

  <li>
    `strict`
  </li>
</ul>

`--template-reservation-policy-reservation-ids` (string array)

Capacity block groups, order matters.

`--template-resources-platform` (string)* \[required]*

`--template-resources-preset` (string)* \[required]*

`--template-service-account-id` (string)

The Nebius service account whose credentials will be available on the nodes of the group.\

With these credentials, it is possible to make `nebius` CLI or public API requests from the nodes\

without the need for extra authentication.\

This service account is also used to make requests to container registry.\


`resource.serviceaccount.issueAccessToken` permission is required to use this field.

`--template-spot-pricing-policy-id` (string)

PricingPolicy ID used as the maximum agreed price for the preemptible VM.

Mutually exclusive with: `--template-follows-spot-price`, `--template-on-demand`.

`--template-taints` (json)

Kubernetes Node taints.\

For now change will not be propagated to existing nodes, so will be applied only to Kubernetes Nodes created after the field change.\

That behaviour may change later.\

So, for now you will need to manually set them to existing nodes, if that is needed.\

Field change will NOT trigger NodeGroup roll out.

(structure)

**effect** -> (string)*\[required]*

A value must be one of:

<ul>
  <li>
    `"effect_unspecified"`
  </li>

  <li>
    `"no_execute"`
  </li>

  <li>
    `"no_schedule"`
  </li>

  <li>
    `"prefer_no_schedule"`
  </li>
</ul>

**key** -> (string)*\[required]*

**value** -> (string)*\[required]*

JSON Schema:

```json theme={null}
[{                                                                              
  "effect": "effect_unspecified"|"no_execute"|"no_schedule"|"prefer_no_schedule",
  "key": "",                                                                    
  "value": ""                                                                   
}]
```

`--version` (string)

Desired Kubernetes version and optional node image version for the node group.\

Use `<major>.<minor>[-nebius-node.<image>]`, for example, "1.36" or "1.36-nebius-node.80".\

If this field is omitted, the Kubernetes version defaults to the cluster control plane version.\

If the image version suffix is omitted, the latest compatible node image version is selected on NodeGroup creation.\

To upgrade to the latest node image version later, use `NodeGroupService.Upgrade`.

`--async` (bool)

If set, returns operation id. Otherwise, waits for the operation to complete and returns its resource.

`--auto-approve` (bool)

Approve the operation when the preflight check requires user approval.

Mutually exclusive with: `--no-preflight-check`, `--dry-run`.

`--dry-run` (bool)

Run only the server-side preflight check. Do not change the resource.

Mutually exclusive with: `--no-preflight-check`, `--auto-approve`.

`-i, --interactive` (bool)

If set, suggests to insert field values in interactive mode.

`--no-preflight-check` (bool)

Skip the server-side preflight check.

Mutually exclusive with: `--dry-run`, `--auto-approve`.

## Global Options

`-h, --help` (bool)

Show this message.

`-p, --profile` (string)

Set a profile for interacting with the cloud.

`--format` (string)

Output format. Supported values: yaml|json|jsonpath|table|text.

`-f, --file` (string)

Input file. For 'update' commands automatically set --full=true.

`-c, --config` (string)

Provide path to config file.

`--debug` (bool)

Write debug logs to stderr. Commands save debug logs in the config directory under logs/, except help and shell completion.

`-I, --impersonate-service-account-id` (string)

Impersonate into the service account and use its token for a command.

`--color` (bool)

Enable colored output.

`--no-browser` (bool)

Do not open browser automatically on auth.

`--insecure` (bool)

Disable transport security.

`--auth-timeout` (duration: 2h30m10s)

Set the timeout for the request including authentication process, default is 15m0s.

`--per-retry-timeout` (duration: 2h30m10s)

Set the timeout for each retry attempt, default is 20s.

`--retries` (uint)

Set the number of retry attempts, 1 is disable retries, default is 3.

`--timeout` (duration: 2h30m10s)

Set the timeout for the main request, default is 1m0s.

`--no-check-update` (bool)

Suppress check for updates.

`--no-progress` (bool)

Suppress progress indicators and spinners.

**Input argument JSON Schema**

> [tab] Full
>
> ```json theme={null}
> {              
>   "metadata": {                // [required]
>     "labels": {                // [map]
>                                // Labels associated with the resource.
>       string: string                  
>     },
>     "name": string,            // Human-readable name for the resource.
>     "parent_id": string,       // [required]
>                                // Identifier of the parent resource to which the resource belongs.
>     "resource_version": int64  // Version of the resource for safe concurrent modifications and consistent reads.
>                                // Positive and monotonically increases on each resource spec change (but *not* on each change of the
>                                // resource's container(s) or status).
>                                // Service allows zero value or current.
>   },
>   "spec": {                    // [required]
>     "auto_repair": {   // Parameters for nodes auto repair.
>       "conditions": [{         // Conditions that determine whether a node should be auto repaired.
>         "disabled": bool,      // Cannot be set together with: timeout
>                                // When true, disables the default auto-repair condition rules.
>         "status": enum(                   // Node condition status.
>           "CONDITION_STATUS_UNSPECIFIED",
>           "TRUE",                        
>           "FALSE",                       
>           "UNKNOWN"                      
>         ),
>         "timeout": "2h30m10s", // [google.protobuf.Duration]
>                                // Cannot be set together with: disabled
>                                // The duration after which the node is automatically repaired if the condition remains in the specified status.
>         "type": string         // [required]
>                                // Node condition type.
>       }]
>     },
>     "autoscaling": {               // Cannot be set together with: fixed_node_count
>                                    // Enables [Kubernetes Cluster Autoscaler](https://github.com/kubernetes/autoscaler/tree/master/cluster-autoscaler)
>                                    // for that NodeGroup, and defines autoscaling parameters.
>       "initial_node_count": int64, // [optional]
>                                    // Initial number of nodes in the autoscaled node group. Defaults to `min_node_count`.
>                                    // At creation, the value must be between `min_node_count` and `max_node_count`, inclusive.
>                                    // 
>                                    // Updating or clearing this field after creation has no effect.
>                                    // This also applies when switching an existing node group from a fixed size to autoscaling.
>                                    // Autoscaling starts from the current node count, subject to `min_node_count` and `max_node_count`.
>       "max_node_count": int64,    
>       "min_node_count": int64     
>     },
>     "fixed_node_count": int64, // Cannot be set together with: autoscaling
>                                // Number of nodes in the group. Can be changed manually at any time, except for a node group with NVLink.
>     "strategy": {                  // Defines deployment - roll-out, or nodes re-creation during configuration change.
>                                    // Allows to setup compromise in roll-out speed, extra resources consumption and workloads disruption.
>       "drain_timeout": "2h30m10s", // [google.protobuf.Duration]
>                                    // Maximum amount of time that the service will spend attempting to gracefully drain a node
>                                    // (evicting its pods) before falling back to pod deletion.
>                                    // A value of 0 means no timeout: the node can be drained for an unlimited time.
>                                    // Important consequence of that is if PodDisruptionBudget doesn't allow evicting a pod,
>                                    // then NodeGroup update with node re-creation will hang on that pod eviction.
>                                    // Note that this is different from `kubectl drain --timeout`, which gives up and returns an error.
>                                    // 
>                                    // On 2026-08-01, defaults to 0.
>                                    // IMPORTANT: starting from Q3 2026 new default is 10m;
>                                    // for new clusters it will default to 10m,
>                                    // node groups in existing clusters will be gradually migrated during Q3 to the default of 10m as well.
>                                    // To get the actual value for your node group, please see 'strategy' in its status.
>       "max_surge": {      // The maximum number of additional nodes that can be provisioned above the desired number of nodes during the update process.
>                           // 
>                           // This value can be specified either as an absolute number (for example 3) or as a percentage of the desired
>                           // number of nodes (for example 5%).
>                           // 
>                           // When specified as a percentage, the actual number is calculated by rounding up to the nearest whole number.
>                           // This value cannot be 0 if `max_unavailable` is also set to 0.
>                           // 
>                           // On 2026-08-01, defaults to 1.
>                           // IMPORTANT: starting from Q3 2026 new default is 0;
>                           // for new clusters it will default to 0,
>                           // node groups in existing clusters will be gradually migrated during Q3 to the default of 0 as well.
>                           // To get the actual value for your node group, please see 'strategy' in its status.
>                           // 
>                           // Example: If set to 25%, the node group can scale up by an additional 25% during the update,
>                           // allowing new nodes to be added before old nodes are removed, which helps minimize workload disruption.
>                           // 
>                           // NOTE:
>                           // 
>                           // it is user responsibility to ensure that there are enough quota for provision nodes above the desired number.
>                           // Available quota effectively limits `max_surge`.
>                           // In case of not enough quota even for one extra node, update operation will hung because of quota exhausted error.
>                           // Such error will be visible in Operation.progress_data.
>         "count": int64,   // Cannot be set together with: percent
>         "percent": int64  // Cannot be set together with: count
>       },
>       "max_unavailable": { // The maximum number of nodes that can be simultaneously unavailable during the update process.
>                            // 
>                            // This value can be specified either as an absolute number (for example 3) or as a percentage of the desired
>                            // number of nodes (for example 5%).
>                            // 
>                            // When specified as a percentage, the actual number is calculated by rounding down to the nearest whole number.
>                            // This value cannot be 0 if `max_surge` is also set to 0.
>                            // 
>                            // On 2026-08-01, defaults to 0.
>                            // IMPORTANT: starting from Q3 2026 new default is 1;
>                            // for new clusters it will default to 1,
>                            // node groups in existing clusters will be gradually migrated during Q3 to the default of 1 as well.
>                            // To get the actual value for your node group, please see 'strategy' in its status.
>                            // 
>                            // Example: If set to 20%, up to 20% of the nodes can be taken offline at once during the update,
>                            // ensuring that at least 80% of the desired nodes remain operational.
>         "count": int64,    // Cannot be set together with: percent
>         "percent": int64   // Cannot be set together with: count
>       }
>     },
>     "template": {                     // [required]
>                                       // Parameters for Kubernetes Node object and Nebius Compute Instance
>                                       // If not written opposite a NodeTemplate field update will cause NodeGroup roll-out according NodeGroupDeploymentStrategy.
>       "boot_disk": {               // [non_empty_default]
>                                    // Parameters of a Node Nebius Compute Instance boot disk.
>         "block_size_bytes": int64,
>         "disk_encryption": {
>           "type": enum(                   
>             "DISK_ENCRYPTION_UNSPECIFIED",
>             "DISK_ENCRYPTION_MANAGED"     
>           )
>         },
>         "size_bytes": int64,       // Cannot be set together with: size_kibibytes, size_mebibytes, size_gibibytes
>         "size_gibibytes": int64,   // Cannot be set together with: size_bytes, size_kibibytes, size_mebibytes
>         "size_kibibytes": int64,   // Cannot be set together with: size_bytes, size_mebibytes, size_gibibytes
>         "size_mebibytes": int64,   // Cannot be set together with: size_bytes, size_kibibytes, size_gibibytes
>         "type": enum(                   // [non_empty_default]
>           "UNSPECIFIED",               
>           "NETWORK_SSD",               
>           "NETWORK_HDD",               
>           "NETWORK_SSD_IO_M3",         
>           "NETWORK_SSD_NON_REPLICATED" 
>         )
>       },
>       "cloud_init_user_data": string, // [sensitive]
>                                       // Cloud-init user-data
>                                       // Should contain at least one SSH key.
>       "container_runtime": {    // Configures container runtime for the node group.
>         "soci_pull_mode": enum(         // Uses SOCI Snapshotter to pull images.
>           "SOCI_PULL_MODE_UNSPECIFIED", // Uses the default containerd pull.
>           "LAZY",                       // Uses SOCI Snapshotter to fetch image layers on demand.
>           "PARALLEL"                    // Uses SOCI Snapshotter to download and unpack image layers in parallel.
>         )
>       },
>       "filesystems": [{          // Static attachments of Compute Filesystem.
>                                  // Can be used as a workaround, until CSI for Compute Disk and Filesystem will be available.
>         "attach_mode": enum( // [required]
>           "UNSPECIFIED",    
>           "READ_ONLY",      
>           "READ_WRITE"      
>         ),
>         "existing_filesystem": {
>           "id": string           // [required]
>         },
>         "mount_tag": string      // [required]
>                                  // Specifies the user-defined identifier, allowing to use it as a device in mount command.
>       }],
>       "follows_spot_price": { // [meaningful_empty_value]
>                               // Cannot be set together with: on_demand, spot_pricing_policy
>                               // The preemptible VM accepts the current spot price.
>       },
>       "gpu_cluster": { // Nebius Compute GPUCluster ID that will be attached to node.
>         "id": string  
>       },
>       "gpu_settings": {           // GPU-related settings.
>         "dra": bool,              // [non_empty_default]
>                                   // Enables Dynamic Resource Allocation for this GPU node group.
>                                   // For nodes whose image contains preinstalled NVIDIA drivers, disables the legacy NVIDIA device plugin.
>                                   // For GPU nodes attached to a Compute GPU cluster, advertises RDMA capability through the managed DRANet DaemonSet.
>         "drivers_preset": string  // Identifier of the predefined set of drivers included in the ComputeImage deployed on ComputeInstances that are part of the NodeGroup.
>                                   // Supported presets depend on the platform and Kubernetes version.
>                                   // To get the up-to-date list of supported presets for a given Kubernetes version and platform, run:
>                                   // nebius mk8s node-group get-compatibility-matrix --cluster-kubernetes-version VERSION --platform PLATFORM
>                                   // Leave empty for GPU nodes that do not have preinstalled drivers, including DRA-enabled node groups.
>       },
>       "instance_metadata": { // Metadata propagated to the Compute Instances in the NodeGroup.
>         "labels": {          // [map]
>                              // Labels propagated into Compute Instance metadata.
>                              // Provider-managed labels take precedence over user-provided instance labels.
>           string: string            
>         }
>       },
>       "local_disks": {         // Local_disks enables the provisioning of fast local drives.
>                                // This type of storage is strictly ephemeral: on node restart, all data is erased, similar to RAM.
>         "config": {                  // [non_empty_default]
>                                      // Config defines actions that managed Kubernetes service performs on mounted local disks
>                                      // to provide them inside Kubernetes cluster with a convenient interface.
>                                      // 
>                                      // When omitted, a default value is generated.
>           "kubelet_ephemeral": bool, // Cannot be set together with: none
>                                      // Kubelet_ephemeral: combine all local disks into a single storage volume and use it as kubelet's local ephemeral storage on the node
>                                      // See also https://kubernetes.io/docs/concepts/storage/ephemeral-storage/
>                                      // 
>                                      // The default when LocalDisksSpecConfig is not set.
>           "none": bool               // Cannot be set together with: kubelet_ephemeral
>                                      // None: "do nothing" - local disks will be provisioned as on a regular compute instance.
>         },
>         "passthrough_group": { // Requests passthrough local disks from the host.
>                                // Topology of the provided disks is preserved during stop and start
>                                // for every instance of a specific platform and preset in the region.
>           "requested": bool    // Passthrough local disks from the underlying host.
>                                // 
>                                // Devices are expected to appear in the guest as NVMe devices (nvme0, nvme1, ...),
>                                // but the exact number depends on the preset.
>                                // Enabled only when this field is explicitly set.
>         }
>       },
>       "max_pods": int64,              // The maximum number of Pods per node for your cluster. If omitted, MK8S assigns the default value of 110. When you
>                                       // configure the maximum number of Pods per node for the cluster, MK8S uses this value to allocate a CIDR range for every node
>                                       // in group. The node CIDR prefix is calculated as `32 - ceil(log2(2 * max_pods))`, i.e. the smallest IPv4 subnet whose total address
>                                       // count is at least `2 * max_pods`. Not all IPs are usable for workload Pods because some of them are consumed by system Pods.
>       "metadata": {
>         "labels": {        // [map]
>                            // Kubernetes Node labels.
>                            // 
>                            // Keys and values must follow Kubernetes label syntax:
>                            // https://kubernetes.io/docs/concepts/overview/working-with-objects/labels/
>                            // 
>                            // For now change will not be propagated to existing nodes, so will be applied only to Kubernetes Nodes created after the field change.
>                            // That behavior may change later.
>                            // So, for now you will need to manually set them to existing nodes, if that is needed.
>                            // 
>                            // System labels containing "kubernetes.io" and "k8s.io" will be ignored.
>                            // Field change will NOT trigger NodeGroup roll out.
>           string: string          
>         }
>       },
>       "network_interfaces": [{ // [non_empty_default]
>         "public_ip_address": { // [meaningful_empty_value]
>                                // Parameters for Public IPv4 address associated with the interface.
>                                // Set to empty value, to enable it.
>         },
>         "security_groups": [{ // User provided VPC Security Groups which will be assigned to all nodes of this NodeGroup.
>           "id": string       
>         }],
>         "subnet_id": string    // [non_empty_default]
>                                // Nebius VPC Subnet ID that will be attached to a node cloud instance network interface.
>                                // By default Cluster control plane subnet_id used.
>                                // Subnet should be located in the same network with control plane.
>       }],
>       "nvlink": {                        // NVLinkSpec configures NVLink settings for the NodeGroup.
>         "nvl_instance_group_id": string  // [immutable]
>                                          // Existing NVLInstanceGroup ID to use.
>       },
>       "on_demand": { // [meaningful_empty_value]
>                      // Cannot be set together with: follows_spot_price, spot_pricing_policy
>                      // A regular, non-preemptible VM.
>       },
>       "os": string,                   // OS version that will be used to create the boot disk of Compute Instances in the NodeGroup.
>                                       // Supported OS depend on the platform and Kubernetes version.
>                                       // To get the up-to-date list of supported OS for a given Kubernetes version and platform, run:
>                                       // nebius mk8s node-group get-compatibility-matrix --cluster-kubernetes-version VERSION --platform PLATFORM.
>       "preemptible": { // [meaningful_empty_value]
>                        // Configures whether the nodes in the group are preemptible.
>                        // Set to empty value to enable preemptible nodes.
>       },
>       "reservation_policy": {        // Reservation_policy is an interface of the "capacity block" (or "capacity block group") mechanism of Nebius Compute.
>         "policy": enum(
>           "AUTO",       // 1) Will try to launch instance in any reservation_ids if provided.
>                         // 2) Will try to launch instance in any of the available capacity block.
>                         // 3) Will try to launch instance in PAYG if 1 & 2 are not satisfied.
>           "FORBID",     // The instance is launched only using on-demand (PAYG) capacity.
>                         // No attempt is made to find or use a Capacity Block.
>                         // It's an error to provide reservation_ids with policy = FORBID.
>           "STRICT"      // 1) Will try to launch the instance in Capacity Blocks from reservation_ids if provided.
>                         // 2) If reservation_ids are not provided will try to launch instance in suitable & available Capacity Block.
>                         // 3) Fail otherwise.
>         ),
>         "reservation_ids": [string]  // Capacity block groups, order matters.
>       },
>       "resources": {        // [required]
>                             // Resources that will have Nebius Compute Instance where Node kubelet will run.
>         "platform": string, // [required]
>         "preset": string   
>       },
>       "service_account_id": string,   // The Nebius service account whose credentials will be available on the nodes of the group.
>                                       // With these credentials, it is possible to make `nebius` CLI or public API requests from the nodes
>                                       // without the need for extra authentication.
>                                       // This service account is also used to make requests to container registry.
>                                       // 
>                                       // `resource.serviceaccount.issueAccessToken` permission is required to use this field.
>       "spot_pricing_policy": { // Cannot be set together with: on_demand, follows_spot_price
>                                // The preemptible VM accepts the current spot price unless it exceeds the maximum price specified by the selected
>                                // pricing policy. When the spot price exceeds that maximum price, the VM is preempted.
>         "id": string           // [required]
>                                // PricingPolicy ID used as the maximum agreed price for the preemptible VM.
>       },
>       "taints": [{       // Kubernetes Node taints.
>                          // For now change will not be propagated to existing nodes, so will be applied only to Kubernetes Nodes created after the field change.
>                          // That behaviour may change later.
>                          // So, for now you will need to manually set them to existing nodes, if that is needed.
>                          // Field change will NOT trigger NodeGroup roll out.
>         "effect": enum(         // [required]
>           "EFFECT_UNSPECIFIED",
>           "NO_EXECUTE",        
>           "NO_SCHEDULE",       
>           "PREFER_NO_SCHEDULE" 
>         ),
>         "key": string,   // [required]
>         "value": string  // [required]
>       }]
>     },
>     "version": string          // Desired Kubernetes version and optional node image version for the node group.
>                                // Use `<major>.<minor>[-nebius-node.<image>]`, for example, "1.36" or "1.36-nebius-node.80".
>                                // If this field is omitted, the Kubernetes version defaults to the cluster control plane version.
>                                // If the image version suffix is omitted, the latest compatible node image version is selected on NodeGroup creation.
>                                // To upgrade to the latest node image version later, use `NodeGroupService.Upgrade`.
>   }
> }
> ```

> [tab] CopyPaste Friendly
>
> ```json theme={null}
> nebius mk8s node-group create '
> {              
>   "metadata": {           
>     "labels": {           
>       "": ""                  
>     },
>     "name": "",           
>     "parent_id": "",      
>     "resource_version": 0 
>   },
>   "spec": {               
>     "auto_repair": {  
>       "conditions": [{                                                   
>         "disabled": false,                                               
>         "status": "condition_status_unspecified"|"true"|"false"|"unknown",
>         "type": ""                                                       
>       }]
>     },
>     "autoscaling": {          
>       "initial_node_count": 0,
>       "max_node_count": 0,    
>       "min_node_count": 0     
>     },
>     "strategy": {                 
>       "drain_timeout": "2h30m10s",
>       "max_surge": { 
>         "count": 0   
>       },
>       "max_unavailable": {
>         "count": 0        
>       }
>     },
>     "template": {                
>       "boot_disk": {                                                                                      
>         "block_size_bytes": 0,                                                                            
>         "disk_encryption": {                                             
>           "type": "disk_encryption_unspecified"|"disk_encryption_managed"
>         },
>         "size_bytes": 0,                                                                                  
>         "type": "unspecified"|"network_ssd"|"network_hdd"|"network_ssd_io_m3"|"network_ssd_non_replicated"
>       },
>       "cloud_init_user_data": "",
>       "container_runtime": {                                            
>         "soci_pull_mode": "soci_pull_mode_unspecified"|"lazy"|"parallel"
>       },
>       "filesystems": [{                                      
>         "attach_mode": "unspecified"|"read_only"|"read_write",
>         "existing_filesystem": {
>           "id": ""              
>         },
>         "mount_tag": ""                                      
>       }],
>       "follows_spot_price": {
>       },
>       "gpu_cluster": {
>         "id": ""      
>       },
>       "gpu_settings": {      
>         "dra": false,        
>         "drivers_preset": "" 
>       },
>       "instance_metadata": {
>         "labels": {         
>           "": ""                
>         }
>       },
>       "local_disks": {        
>         "config": {                  
>           "kubelet_ephemeral": false 
>         },
>         "passthrough_group": {
>           "requested": false  
>         }
>       },
>       "max_pods": 0,             
>       "metadata": {
>         "labels": {   
>           "": ""          
>         }
>       },
>       "network_interfaces": [{
>         "public_ip_address": {
>         },
>         "security_groups": [{
>           "id": ""           
>         }],
>         "subnet_id": ""       
>       }],
>       "nvlink": {                   
>         "nvl_instance_group_id": "" 
>       },
>       "os": "",                  
>       "preemptible": {
>       },
>       "reservation_policy": {             
>         "policy": "auto"|"forbid"|"strict",
>         "reservation_ids": [""]           
>       },
>       "resources": {   
>         "platform": "",
>         "preset": ""   
>       },
>       "service_account_id": "",  
>       "taints": [{                                                                    
>         "effect": "effect_unspecified"|"no_execute"|"no_schedule"|"prefer_no_schedule",
>         "key": "",                                                                    
>         "value": ""                                                                   
>       }]
>     },
>     "version": ""         
>   }
> }
> '
> ```

*Auto generated on 23-Nov-2026*
