> ## 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.

# Create



## OpenAPI

````yaml https://api.nebius.cloud/openapi.json post /mk8s/v1/node-groups
openapi: 3.0.3
info:
  title: Nebius API
  version: version not set
servers:
  - url: https://api.nebius.cloud
security:
  - bearerAuth: []
tags:
  - name: nebius.ai.v1.DevlabService
  - name: nebius.ai.v1.EndpointService
  - name: nebius.ai.v1.HardwareService
  - name: nebius.ai.v1.JobService
  - name: nebius.applications.v1alpha1.K8sReleaseService
  - name: nebius.applications.v1alpha1.VmAppTemplateService
  - name: nebius.audit.v2.AuditEventExportService
  - name: nebius.audit.v2.AuditEventService
  - name: nebius.billing.v1.CalculatorService
  - name: nebius.billing.v1.PricingPolicyService
  - name: nebius.billing.v1alpha1.CalculatorService
  - name: nebius.billing.v1alpha1.OneTimeExportService
  - name: nebius.billing.v1alpha1.SpotPriceService
  - name: nebius.capacity.v1.CapacityAllowanceService
  - name: nebius.capacity.v1.CapacityBlockGroupService
  - name: nebius.capacity.v1.CapacityIntervalService
  - name: nebius.capacity.v1.ResourceAdviceService
  - name: nebius.compute.v1.DiskService
  - name: nebius.compute.v1.DiskSnapshotService
  - name: nebius.compute.v1.FilesystemService
  - name: nebius.compute.v1.GpuClusterService
  - name: nebius.compute.v1.ImageService
  - name: nebius.compute.v1.InstanceService
  - name: nebius.compute.v1.MaintenanceService
  - name: nebius.compute.v1.NVLInstanceGroupService
  - name: nebius.compute.v1.NodeService
  - name: nebius.compute.v1.PlatformService
  - name: nebius.dns.v1.RecordService
  - name: nebius.dns.v1.ZoneService
  - name: nebius.iam.v1.AccessKeyService
  - name: nebius.iam.v1.AccessPermitService
  - name: nebius.iam.v1.AuthPublicKeyService
  - name: nebius.iam.v1.FederatedCredentialsService
  - name: nebius.iam.v1.FederationCertificateService
  - name: nebius.iam.v1.FederationService
  - name: nebius.iam.v1.GroupMembershipService
  - name: nebius.iam.v1.GroupService
  - name: nebius.iam.v1.InvitationService
  - name: nebius.iam.v1.ProfileService
  - name: nebius.iam.v1.ProjectService
  - name: nebius.iam.v1.ServiceAccountService
  - name: nebius.iam.v1.SessionManagementService
  - name: nebius.iam.v1.StaticKeyService
  - name: nebius.iam.v1.TenantService
  - name: nebius.iam.v1.TenantUserAccountService
  - name: nebius.iam.v1.TenantUserAccountWithAttributesService
  - name: nebius.iam.v2.AccessKeyService
  - name: nebius.iam.v2.ProjectService
  - name: nebius.iam.v2.TenantService
  - name: nebius.kms.v1.AsymmetricCryptoService
  - name: nebius.kms.v1.AsymmetricKeyService
  - name: nebius.kms.v1.SymmetricCryptoService
  - name: nebius.kms.v1.SymmetricKeyService
  - name: nebius.logging.agentmanager.v1.VersionService
  - name: nebius.logging.v1.LogExportService
  - name: nebius.maintenance.v1alpha1.MaintenanceService
  - name: nebius.mk8s.v1.ClusterService
  - name: nebius.mk8s.v1.NodeGroupService
  - name: nebius.mk8s.v1alpha1.ClusterService
  - name: nebius.mk8s.v1alpha1.NodeGroupService
  - name: nebius.msp.mlflow.v1alpha1.ClusterService
  - name: nebius.msp.postgresql.v1alpha1.BackupService
  - name: nebius.msp.postgresql.v1alpha1.ClusterService
  - name: nebius.mysterybox.v1.PayloadService
  - name: nebius.mysterybox.v1.SecretService
  - name: nebius.mysterybox.v1.SecretVersionService
  - name: nebius.quotas.v1.QuotaAllowanceService
  - name: nebius.registry.v1.ArtifactService
  - name: nebius.registry.v1.RegistryService
  - name: nebius.storage.v1.BucketService
  - name: nebius.storage.v1.InventoryService
  - name: nebius.storage.v1.TransferService
  - name: nebius.storage.v1alpha1.TransferService
  - name: nebius.tunnel.v1.TunnelService
  - name: nebius.vpc.v1.AllocationService
  - name: nebius.vpc.v1.NetworkService
  - name: nebius.vpc.v1.PoolService
  - name: nebius.vpc.v1.RouteService
  - name: nebius.vpc.v1.RouteTableService
  - name: nebius.vpc.v1.SecurityGroupService
  - name: nebius.vpc.v1.SecurityRuleService
  - name: nebius.vpc.v1.SubnetService
  - name: nebius.vpc.v1.TargetGroupService
  - name: nebius.vpc.v1alpha1.AllocationService
  - name: nebius.vpc.v1alpha1.NetworkService
  - name: nebius.vpc.v1alpha1.PoolService
  - name: nebius.vpc.v1alpha1.ScopeService
  - name: nebius.vpc.v1alpha1.SubnetService
paths:
  /mk8s/v1/node-groups:
    post:
      tags:
        - nebius.mk8s.v1.NodeGroupService
      summary: Create
      operationId: NodeGroupService_Create
      requestBody:
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/nebius.mk8s.v1.CreateNodeGroupRequest'
        required: true
        x-originalParamName: body
      responses:
        '200':
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/nebius.common.v1.Operation'
          description: A successful response.
components:
  schemas:
    nebius.mk8s.v1.CreateNodeGroupRequest:
      properties:
        metadata:
          $ref: '#/components/schemas/nebius.common.v1.ResourceMetadata'
        spec:
          $ref: '#/components/schemas/nebius.mk8s.v1.NodeGroupSpec'
      required:
        - metadata
        - spec
      type: object
    nebius.common.v1.Operation:
      properties:
        createdAt:
          description: Creation timestamp.
          format: date-time
          type: string
        createdBy:
          description: ID of the user or service account who initiated the operation.
          type: string
        description:
          description: Human-readable description of the operation. 0-256 characters long.
          type: string
        finishedAt:
          description: The time when the operation has finished.
          format: date-time
          type: string
        id:
          description: ID of the operation.
          type: string
        progressData:
          allOf:
            - $ref: '#/components/schemas/google.protobuf.Any'
          description: >-
            Extra information about this operation's progress. MAY be absent
            while the operation is running, MUST be absent after the operation
            has

            completed.


            Type of message that's stored inside [progress_data] is
            service-dependent.
        progressTracker:
          allOf:
            - $ref: '#/components/schemas/nebius.common.v1.ProgressTracker'
          description: >-
            Information about this operation's progress, if this operation
            tracks its progress.

            If the operation tracks its progress, `progress_tracker` MUST be
            present both while

            the operation is running and after it has been completed.
        request:
          allOf:
            - $ref: '#/components/schemas/google.protobuf.Any'
          description: The request that generated this operation.
        requestHeaders:
          additionalProperties:
            $ref: '#/components/schemas/nebius.common.v1.Operation.RequestHeader'
          description: >-
            The request headers that are essential for the request that
            generated the operation.

            For instance, `x-resetmask`. Without these headers the request might
            have been processed

            differently if repeated.

            All the header names *must* be converted to lower case.

            Validator is based on:

            https://httpwg.org/specs/rfc9110.html#considerations.for.new.field.names
          type: object
        resourceId:
          description: >-
            ID of the resource that this operation creates, updates, deletes or
            otherwise changes.


            If the operation affects multiple resources or does not affect any
            API resources at all

            (e.g. a routine maintenance operation visible to the user), the
            [resource_id] must be empty.
          type: string
        status:
          allOf:
            - $ref: '#/components/schemas/google.rpc.Status'
          description: >-
            The status of this operation. Set when this operation is completed.

            See
            https://github.com/grpc/grpc/blob/master/src/proto/grpc/status/status.proto.


            [status.code] is
            https://github.com/googleapis/googleapis/blob/master/google/rpc/code.proto:

            - If [status.code] == OK, the operation has completed successfully.

            - If [status.code] != OK, the operation has failed or has been
            cancelled.
              - [status.message] will contain a user-readable and actionable error message.
              - [status.details] will contain additional diagnostic information in the form of [ServiceError] from nebius/common/v1/error.proto
            - [status.code] must belong to an Operation-compatible subset of
            GRPC codes:
              OK, CANCELLED, PERMISSION_DENIED, RESOURCE_EXHAUSTED, FAILED_PRECONDITION, ABORTED, INTERNAL
      type: object
    nebius.common.v1.ResourceMetadata:
      description: Common resource metadata.
      properties:
        createdAt:
          description: Timestamp indicating when the resource was created.
          format: date-time
          readOnly: true
          type: string
        id:
          description: Identifier for the resource, unique for its resource type.
          type: string
        labels:
          additionalProperties:
            type: string
          description: Labels associated with the resource.
          type: object
        name:
          description: Human-readable name for the resource.
          type: string
        parentId:
          description: Identifier of the parent resource to which the resource belongs.
          type: string
        resourceVersion:
          description: >-
            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.
          format: int64
          type: string
        updatedAt:
          description: Timestamp indicating when the resource was last updated.
          format: date-time
          readOnly: true
          type: string
      required:
        - parentId
      type: object
    nebius.mk8s.v1.NodeGroupSpec:
      properties:
        autoRepair:
          allOf:
            - $ref: '#/components/schemas/nebius.mk8s.v1.NodeGroupAutoRepairSpec'
          description: Parameters for nodes auto repair.
        autoscaling:
          allOf:
            - $ref: '#/components/schemas/nebius.mk8s.v1.NodeGroupAutoscalingSpec'
          description: >-
            Enables [Kubernetes Cluster
            Autoscaler](https://github.com/kubernetes/autoscaler/tree/master/cluster-autoscaler)

            for that NodeGroup, and defines autoscaling parameters.
        fixedNodeCount:
          description: >-
            Number of nodes in the group. Can be changed manually at any time,
            except for a node group with NVLink.
          format: int64
          type: string
        strategy:
          allOf:
            - $ref: '#/components/schemas/nebius.mk8s.v1.NodeGroupDeploymentStrategy'
          description: >-
            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.
        template:
          allOf:
            - $ref: '#/components/schemas/nebius.mk8s.v1.NodeTemplate'
          description: >-
            Parameters for Kubernetes Node object and Nebius Compute Instance

            If not written opposite a NodeTemplate field update will cause
            NodeGroup roll-out according NodeGroupDeploymentStrategy.
        version:
          description: >-
            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`.
          type: string
      required:
        - template
      type: object
    google.protobuf.Any:
      additionalProperties: true
      description: >-
        `Any` contains an arbitrary serialized protocol buffer message along
        with a

        URL that describes the type of the serialized message.


        Protobuf library provides support to pack/unpack Any values in the form

        of utility functions or additional generated methods of the Any type.


        Example 1: Pack and unpack a message in C++.

            Foo foo = ...;
            Any any;
            any.PackFrom(foo);
            ...
            if (any.UnpackTo(&foo)) {
              ...
            }

        Example 2: Pack and unpack a message in Java.

            Foo foo = ...;
            Any any = Any.pack(foo);
            ...
            if (any.is(Foo.class)) {
              foo = any.unpack(Foo.class);
            }
            // or ...
            if (any.isSameTypeAs(Foo.getDefaultInstance())) {
              foo = any.unpack(Foo.getDefaultInstance());
            }

         Example 3: Pack and unpack a message in Python.

            foo = Foo(...)
            any = Any()
            any.Pack(foo)
            ...
            if any.Is(Foo.DESCRIPTOR):
              any.Unpack(foo)
              ...

         Example 4: Pack and unpack a message in Go

             foo := &pb.Foo{...}
             any, err := anypb.New(foo)
             if err != nil {
               ...
             }
             ...
             foo := &pb.Foo{}
             if err := any.UnmarshalTo(foo); err != nil {
               ...
             }

        The pack methods provided by protobuf library will by default use

        'type.googleapis.com/full.type.name' as the type URL and the unpack

        methods only use the fully qualified type name after the last '/'

        in the type URL, for example "foo.bar.com/x/y.z" will yield type

        name "y.z".


        JSON

        ====

        The JSON representation of an `Any` value uses the regular

        representation of the deserialized, embedded message, with an

        additional field `@type` which contains the type URL. Example:

            package google.profile;
            message Person {
              string first_name = 1;
              string last_name = 2;
            }

            {
              "@type": "type.googleapis.com/google.profile.Person",
              "firstName": <string>,
              "lastName": <string>
            }

        If the embedded message type is well-known and has a custom JSON

        representation, that representation will be embedded adding a field

        `value` which holds the custom JSON in addition to the `@type`

        field. Example (for message [google.protobuf.Duration][]):

            {
              "@type": "type.googleapis.com/google.protobuf.Duration",
              "value": "1.212s"
            }
      properties:
        '@type':
          description: >-
            A URL/resource name that uniquely identifies the type of the
            serialized

            protocol buffer message. This string must contain at least

            one "/" character. The last segment of the URL's path must represent

            the fully qualified name of the type (as in

            `path/google.protobuf.Duration`). The name should be in a canonical
            form

            (e.g., leading "." is not accepted).


            In practice, teams usually precompile into the binary all types that
            they

            expect it to use in the context of Any. However, for URLs which use
            the

            scheme `http`, `https`, or no scheme, one can optionally set up a
            type

            server that maps type URLs to message definitions as follows:


            * If no scheme is provided, `https` is assumed.

            * An HTTP GET on the URL must yield a [google.protobuf.Type][]
              value in binary format, or produce an error.
            * Applications are allowed to cache lookup results based on the
              URL, or have them precompiled into a binary to avoid any
              lookup. Therefore, binary compatibility needs to be preserved
              on changes to types. (Use versioned type names to manage
              breaking changes.)

            Note: this functionality is not currently available in the official

            protobuf release, and it is not used for type URLs beginning with

            type.googleapis.com. As of May 2023, there are no widely used type
            server

            implementations and no plans to implement one.


            Schemes other than `http`, `https` (or the empty scheme) might be

            used with implementation specific semantics.
          type: string
      type: object
    nebius.common.v1.ProgressTracker:
      description: >-
        Information for tracking the progress of a task (e.g., an API operation
        or background maintenance action).

        This serves as a UI contract and may be directly reflected in CLI,
        Console, and other tools.
      properties:
        description:
          description: >-
            Human-readable description of the currently executing task, e.g.,
            "Downloading dat-groot-llm.tar.xz".

            Relates to the overall task, not individual steps.

            SHOULD match the Operation's `description` field when this
            ProgressTracker tracks an API Operation's progress.

            MAY provide more detailed overall information.


            MUST be suitable for display to public users.

            Even if the task is internal, this description may be shown to end
            users in overall task step descriptions.


            For individual step descriptions, use `Step.description`.
          type: string
        estimatedFinishedAt:
          description: |-
            Estimated completion timestamp for the task.
            MUST be absent if the task is completed (i.e., finished_at is set).
            MAY be absent if the estimate is unknown.
            MAY be updated as the progress estimate changes.
          format: date-time
          type: string
        finishedAt:
          description: >-
            Completion timestamp of the task.

            MUST be absent for running tasks; MUST be present for completed
            tasks.

            MUST match the operation's finished_at timestamp when tracking an
            API Operation's progress.
          format: date-time
          type: string
        startedAt:
          description: >-
            Timestamp when the overall task started.

            MUST match the operation's created_at timestamp when tracking an API
            Operation's progress.
          format: date-time
          type: string
        steps:
          description: >-
            Detailed information about the task steps that are currently running
            or have been finished.

            - For a completed task, the step list MUST either be empty or
            contain finished steps only.

            - For a running task, the step list MAY be empty if the task
            consists of a single step or no detailed information is available.
              A non-empty step list MUST include all currently running steps and MAY include some or all finished steps.
            - Service SHOULD provide both running and finished steps if the task
            has around 10-20 steps, and provide only running steps otherwise.
              Service MUST consistently choose either the "running steps only" or the "running + finished steps" behavior.
            - The UI, CLI etc. MAY choose not to display all steps provided by
            the service.
          items:
            $ref: '#/components/schemas/nebius.common.v1.ProgressTracker.Step'
          type: array
        workDone:
          allOf:
            - $ref: '#/components/schemas/nebius.common.v1.ProgressTracker.WorkDone'
          description: |-
            Overall work progress details.
            MAY be absent if unknown.
      type: object
    nebius.common.v1.Operation.RequestHeader:
      description: >-
        Request header is a container for all the values of a particular header
        of a request because there is no such thing as

        `map<string, repeated string>`
      properties:
        values:
          description: The values of a particular header from a request
          items:
            type: string
          type: array
      type: object
    google.rpc.Status:
      description: >-
        The `Status` type defines a logical error model that is suitable for

        different programming environments, including REST APIs and RPC APIs. It
        is

        used by [gRPC](https://github.com/grpc). Each `Status` message contains

        three pieces of data: error code, error message, and error details.


        You can find out more about this error model and how to work with it in
        the

        [API Design Guide](https://cloud.google.com/apis/design/errors).
      properties:
        code:
          description: |-
            The status code, which should be an enum value of
            [google.rpc.Code][google.rpc.Code].
          format: int32
          type: integer
        details:
          description: >-
            A list of messages that carry the error details.  There is a common
            set of

            message types for APIs to use.
          items:
            $ref: '#/components/schemas/google.protobuf.Any'
          type: array
        message:
          description: >-
            A developer-facing error message, which should be in English. Any

            user-facing error message should be localized and sent in the

            [google.rpc.Status.details][google.rpc.Status.details] field, or
            localized

            by the client.
          type: string
      type: object
    nebius.mk8s.v1.NodeGroupAutoRepairSpec:
      properties:
        conditions:
          description: Conditions that determine whether a node should be auto repaired.
          items:
            $ref: '#/components/schemas/nebius.mk8s.v1.NodeAutoRepairCondition'
          type: array
      type: object
    nebius.mk8s.v1.NodeGroupAutoscalingSpec:
      properties:
        initialNodeCount:
          description: >-
            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`.
          format: int64
          type: string
        maxNodeCount:
          format: int64
          type: string
        minNodeCount:
          format: int64
          type: string
      type: object
    nebius.mk8s.v1.NodeGroupDeploymentStrategy:
      properties:
        drainTimeout:
          description: >-
            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.
          type: string
        maxSurge:
          allOf:
            - $ref: '#/components/schemas/nebius.mk8s.v1.PercentOrCount'
          description: >-
            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.
        maxUnavailable:
          allOf:
            - $ref: '#/components/schemas/nebius.mk8s.v1.PercentOrCount'
          description: >-
            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.
      type: object
    nebius.mk8s.v1.NodeTemplate:
      properties:
        bootDisk:
          allOf:
            - $ref: '#/components/schemas/nebius.mk8s.v1.DiskSpec'
          description: Parameters of a Node Nebius Compute Instance boot disk.
        cloudInitUserData:
          description: |-
            cloud-init user-data
            Should contain at least one SSH key.
          type: string
        containerRuntime:
          allOf:
            - $ref: '#/components/schemas/nebius.mk8s.v1.ContainerRuntime'
          description: Configures container runtime for the node group.
        filesystems:
          description: >-
            Static attachments of Compute Filesystem.

            Can be used as a workaround, until CSI for Compute Disk and
            Filesystem will be available.
          items:
            $ref: '#/components/schemas/nebius.mk8s.v1.AttachedFilesystemSpec'
          type: array
        followsSpotPrice:
          allOf:
            - $ref: '#/components/schemas/nebius.mk8s.v1.FollowsSpotPriceSpec'
          description: The preemptible VM accepts the current spot price.
        gpuCluster:
          allOf:
            - $ref: '#/components/schemas/nebius.mk8s.v1.GpuClusterSpec'
          description: Nebius Compute GPUCluster ID that will be attached to node.
        gpuSettings:
          allOf:
            - $ref: '#/components/schemas/nebius.mk8s.v1.GpuSettings'
          description: GPU-related settings.
        instanceMetadata:
          allOf:
            - $ref: '#/components/schemas/nebius.mk8s.v1.InstanceMetadataTemplate'
          description: Metadata propagated to the Compute Instances in the NodeGroup.
        localDisks:
          allOf:
            - $ref: '#/components/schemas/nebius.mk8s.v1.LocalDisksSpec'
          description: >-
            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.
        maxPods:
          description: >-
            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.
          format: int64
          type: string
        metadata:
          $ref: '#/components/schemas/nebius.mk8s.v1.NodeMetadataTemplate'
        networkInterfaces:
          items:
            $ref: '#/components/schemas/nebius.mk8s.v1.NetworkInterfaceTemplate'
          type: array
        nvlink:
          allOf:
            - $ref: '#/components/schemas/nebius.mk8s.v1.NVLinkSpec'
          description: NVLinkSpec configures NVLink settings for the NodeGroup.
        onDemand:
          allOf:
            - $ref: '#/components/schemas/nebius.mk8s.v1.OnDemandSpec'
          description: A regular, non-preemptible VM.
        os:
          description: >-
            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
          type: string
        preemptible:
          allOf:
            - $ref: '#/components/schemas/nebius.mk8s.v1.PreemptibleSpec'
          description: |-
            Configures whether the nodes in the group are preemptible.
            Set to empty value to enable preemptible nodes.
        reservationPolicy:
          allOf:
            - $ref: '#/components/schemas/nebius.mk8s.v1.ReservationPolicy'
          description: >-
            reservation_policy is an interface of the "capacity block" (or
            "capacity block group") mechanism of Nebius Compute.
        resources:
          allOf:
            - $ref: '#/components/schemas/nebius.mk8s.v1.ResourcesSpec'
          description: >-
            Resources that will have Nebius Compute Instance where Node kubelet
            will run.
        serviceAccountId:
          description: >-
            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.
          type: string
        spotPricingPolicy:
          allOf:
            - $ref: '#/components/schemas/nebius.mk8s.v1.SpotPricingPolicySpec'
          description: >-
            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.
        taints:
          description: >-
            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.
          items:
            $ref: '#/components/schemas/nebius.mk8s.v1.NodeTaint'
          type: array
      required:
        - resources
      type: object
    nebius.common.v1.ProgressTracker.Step:
      description: |-
        Represents a basic step in the task.
        Fields are binary-compatible with ProgressTracker for easier processing.
      properties:
        description:
          description: >-
            Human-readable description of the step, e.g., "Connecting to
            localhost:8080".

            MUST be suitable for display to public users.

            Private descriptions must be filtered server-side based on the use
            case.
          type: string
        finishedAt:
          description: >-
            Timestamp when the step finished.

            MUST be absent for running steps; MUST be present for completed
            steps.
          format: date-time
          type: string
        startedAt:
          description: Timestamp when the step started.
          format: date-time
          type: string
        workDone:
          allOf:
            - $ref: '#/components/schemas/nebius.common.v1.ProgressTracker.WorkDone'
          description: |-
            Details on the work to be done for this step and progress made.
            MAY be absent if unknown.
      type: object
    nebius.common.v1.ProgressTracker.WorkDone:
      description: >-
        Information about the work done by the task or its step, expressed in
        ticks (abstract work units).

        Each tick may represent a real measurement (e.g., VMs created, KiB
        uploaded), number of substeps or a percentage of work completed.
      properties:
        doneTickCount:
          description: >-
            Number of ticks completed so far. MUST be between 0 and
            total_tick_count, inclusive.

            MUST equal total_tick_count if the task or step is finished.
          format: int64
          type: string
        totalTickCount:
          description: >-
            Total number of ticks (work units) to be completed. MUST be greater
            than 0.
          format: int64
          type: string
      type: object
    nebius.mk8s.v1.NodeAutoRepairCondition:
      properties:
        disabled:
          description: When true, disables the default auto-repair condition rules.
          type: boolean
        status:
          allOf:
            - $ref: '#/components/schemas/nebius.mk8s.v1.ConditionStatus'
          description: Node condition status.
        timeout:
          description: >-
            The duration after which the node is automatically repaired if the
            condition remains in the specified status.
          type: string
        type:
          description: Node condition type.
          type: string
      required:
        - type
      type: object
    nebius.mk8s.v1.PercentOrCount:
      properties:
        count:
          format: int64
          type: string
        percent:
          format: int64
          type: string
      type: object
    nebius.mk8s.v1.DiskSpec:
      properties:
        blockSizeBytes:
          format: int64
          type: string
        diskEncryption:
          $ref: '#/components/schemas/nebius.mk8s.v1.DiskEncryption'
        sizeBytes:
          format: int64
          type: string
        sizeGibibytes:
          format: int64
          type: string
        sizeKibibytes:
          format: int64
          type: string
        sizeMebibytes:
          format: int64
          type: string
        type:
          $ref: '#/components/schemas/nebius.mk8s.v1.DiskSpec.DiskType'
      type: object
    nebius.mk8s.v1.ContainerRuntime:
      description: Configures container runtime for the node group.
      properties:
        sociPullMode:
          allOf:
            - $ref: >-
                #/components/schemas/nebius.mk8s.v1.ContainerRuntime.SOCIPullMode
          description: Uses SOCI Snapshotter to pull images.
      type: object
    nebius.mk8s.v1.AttachedFilesystemSpec:
      properties:
        attachMode:
          $ref: >-
            #/components/schemas/nebius.mk8s.v1.AttachedFilesystemSpec.AttachMode
        existingFilesystem:
          $ref: '#/components/schemas/nebius.mk8s.v1.ExistingFilesystem'
        mountTag:
          description: >-
            Specifies the user-defined identifier, allowing to use it as a
            device in mount command.
          type: string
      required:
        - attachMode
        - mountTag
      type: object
    nebius.mk8s.v1.FollowsSpotPriceSpec:
      type: object
    nebius.mk8s.v1.GpuClusterSpec:
      properties:
        id:
          type: string
      type: object
    nebius.mk8s.v1.GpuSettings:
      description: GPU-related settings.
      properties:
        dra:
          description: >-
            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.
          type: boolean
        driversPreset:
          description: >-
            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.
          type: string
      type: object
    nebius.mk8s.v1.InstanceMetadataTemplate:
      properties:
        labels:
          additionalProperties:
            type: string
          description: >-
            Labels propagated into Compute Instance metadata.

            Provider-managed labels take precedence over user-provided instance
            labels.
          type: object
      type: object
    nebius.mk8s.v1.LocalDisksSpec:
      properties:
        config:
          allOf:
            - $ref: '#/components/schemas/nebius.mk8s.v1.LocalDisksSpecConfig'
          description: >-
            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.
        passthroughGroup:
          allOf:
            - $ref: '#/components/schemas/nebius.mk8s.v1.PassthroughGroupRequest'
          description: |-
            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.
      type: object
    nebius.mk8s.v1.NodeMetadataTemplate:
      properties:
        labels:
          additionalProperties:
            type: string
          description: >-
            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.
          type: object
      type: object
    nebius.mk8s.v1.NetworkInterfaceTemplate:
      properties:
        publicIpAddress:
          allOf:
            - $ref: '#/components/schemas/nebius.mk8s.v1.PublicIPAddress'
          description: |-
            Parameters for Public IPv4 address associated with the interface.
            Set to empty value, to enable it.
        securityGroups:
          description: >-
            User provided VPC Security Groups which will be assigned to all
            nodes of this NodeGroup.
          items:
            $ref: '#/components/schemas/nebius.mk8s.v1.SecurityGroup'
          type: array
        subnetId:
          description: >-
            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.
          type: string
      type: object
    nebius.mk8s.v1.NVLinkSpec:
      properties:
        nvlInstanceGroupId:
          description: Existing NVLInstanceGroup ID to use.
          type: string
      type: object
    nebius.mk8s.v1.OnDemandSpec:
      type: object
    nebius.mk8s.v1.PreemptibleSpec:
      type: object
    nebius.mk8s.v1.ReservationPolicy:
      description: >-
        ReservationPolicy is copied as-is from NebiusAPI
        `compute/v1/instance.proto`.
      properties:
        policy:
          $ref: '#/components/schemas/nebius.mk8s.v1.ReservationPolicy.Policy'
        reservationIds:
          description: Capacity block groups, order matters
          items:
            type: string
          type: array
      type: object
    nebius.mk8s.v1.ResourcesSpec:
      properties:
        platform:
          type: string
        preset:
          type: string
      required:
        - platform
      type: object
    nebius.mk8s.v1.SpotPricingPolicySpec:
      properties:
        id:
          description: >-
            PricingPolicy ID used as the maximum agreed price for the
            preemptible VM.
          type: string
      required:
        - id
      type: object
    nebius.mk8s.v1.NodeTaint:
      description: >-
        See
        https://kubernetes.io/docs/concepts/scheduling-eviction/taint-and-toleration/
      properties:
        effect:
          $ref: '#/components/schemas/nebius.mk8s.v1.NodeTaint.Effect'
        key:
          type: string
        value:
          type: string
      required:
        - key
        - value
        - effect
      type: object
    nebius.mk8s.v1.ConditionStatus:
      default: CONDITION_STATUS_UNSPECIFIED
      enum:
        - CONDITION_STATUS_UNSPECIFIED
        - 'TRUE'
        - 'FALSE'
        - UNKNOWN
      type: string
    nebius.mk8s.v1.DiskEncryption:
      properties:
        type:
          $ref: >-
            #/components/schemas/nebius.mk8s.v1.DiskEncryption.DiskEncryptionType
      type: object
    nebius.mk8s.v1.DiskSpec.DiskType:
      default: UNSPECIFIED
      enum:
        - UNSPECIFIED
        - NETWORK_SSD
        - NETWORK_HDD
        - NETWORK_SSD_IO_M3
        - NETWORK_SSD_NON_REPLICATED
      type: string
    nebius.mk8s.v1.ContainerRuntime.SOCIPullMode:
      default: SOCI_PULL_MODE_UNSPECIFIED
      description: |-
        Image pull modes for SOCI Snapshotter.
        - 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.
      enum:
        - SOCI_PULL_MODE_UNSPECIFIED
        - LAZY
        - PARALLEL
      type: string
    nebius.mk8s.v1.AttachedFilesystemSpec.AttachMode:
      default: UNSPECIFIED
      enum:
        - UNSPECIFIED
        - READ_ONLY
        - READ_WRITE
      type: string
    nebius.mk8s.v1.ExistingFilesystem:
      properties:
        id:
          type: string
      required:
        - id
      type: object
    nebius.mk8s.v1.LocalDisksSpecConfig:
      description: >-
        LocalDisksSpecConfig defines actions that managed Kubernetes service
        performs on mounted local disks

        to provide them inside Kubernetes cluster with a convenient interface.
      properties:
        kubeletEphemeral:
          description: >-
            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.
          type: boolean
        none:
          description: >-
            none: "do nothing" - local disks will be provisioned as on a regular
            compute instance.
          type: boolean
      type: object
    nebius.mk8s.v1.PassthroughGroupRequest:
      properties:
        requested:
          description: >-
            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.
          type: boolean
      type: object
    nebius.mk8s.v1.PublicIPAddress:
      description: Describes a public IP address.
      type: object
    nebius.mk8s.v1.SecurityGroup:
      properties:
        id:
          type: string
      type: object
    nebius.mk8s.v1.ReservationPolicy.Policy:
      default: AUTO
      description: >2-
         - 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.
      enum:
        - AUTO
        - FORBID
        - STRICT
      type: string
    nebius.mk8s.v1.NodeTaint.Effect:
      default: EFFECT_UNSPECIFIED
      enum:
        - EFFECT_UNSPECIFIED
        - NO_EXECUTE
        - NO_SCHEDULE
        - PREFER_NO_SCHEDULE
      type: string
    nebius.mk8s.v1.DiskEncryption.DiskEncryptionType:
      default: DISK_ENCRYPTION_UNSPECIFIED
      enum:
        - DISK_ENCRYPTION_UNSPECIFIED
        - DISK_ENCRYPTION_MANAGED
      type: string
  securitySchemes:
    bearerAuth:
      description: The Authorization header expects a Bearer token.
      scheme: bearer
      type: http

````