@nebius/js-sdk - v0.1.4
    Preparing search index...

    Interface NodeTemplate

    interface NodeTemplate {
        "[customJson]"?: () => unknown;
        "[unknownFieldsSymbol]"?: Uint8Array<ArrayBufferLike>;
        $type: "nebius.mk8s.v1.NodeTemplate";
        bootDisk?: DiskSpec;
        cloudInitUserData: string;
        filesystems: AttachedFilesystemSpec[];
        gpuCluster?: GpuClusterSpec;
        gpuSettings?: GpuSettings;
        metadata?: NodeMetadataTemplate;
        networkInterfaces: NetworkInterfaceTemplate[];
        os: string;
        preemptible?: PreemptibleSpec;
        resources?: ResourcesSpec;
        serviceAccountId: string;
        taints: NodeTaint[];
        [key: symbol]: Uint8Array<ArrayBufferLike> | (() => unknown) | undefined;
    }

    Indexable

    • [key: symbol]: Uint8Array<ArrayBufferLike> | (() => unknown) | undefined
    Index

    Properties

    "[customJson]"?: () => unknown
    "[unknownFieldsSymbol]"?: Uint8Array<ArrayBufferLike>
    $type: "nebius.mk8s.v1.NodeTemplate"
    bootDisk?: DiskSpec

    Parameters of a Node Nebius Compute Instance boot disk.

    cloudInitUserData: string

    cloud-init user-data Should contain at least one SSH key.

    filesystems: AttachedFilesystemSpec[]

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

    gpuCluster?: GpuClusterSpec

    Nebius Compute GPUCluster ID that will be attached to node.

    gpuSettings?: GpuSettings

    GPU-related settings.

    networkInterfaces: NetworkInterfaceTemplate[]
    os: string

    OS version that will be used to create the boot disk of Compute Instances in the NodeGroup. Supported platform / Kubernetes version / OS / driver presets combinations

    • gpu-l40s-a, gpu-l40s-d, gpu-h100-sxm, gpu-h200-sxm, cpu-e1, cpu-e2, cpu-d3:
      • drivers_preset: ""
        • version: 1.30 → "ubuntu22.04"
        • version: 1.31 → "ubuntu22.04" (default), "ubuntu24.04"
    • gpu-l40s-a, gpu-l40s-d, gpu-h100-sxm, gpu-h200-sxm:
      • drivers_preset: "cuda12" (CUDA 12.4)
        • version: 1.30, 1.31 → "ubuntu22.04"
      • drivers_preset: "cuda12.4"
        • version: 1.31 → "ubuntu22.04"
      • drivers_preset: "cuda12.8"
        • version: 1.31 → "ubuntu24.04"
    • gpu-b200-sxm:
      • drivers_preset: ""
        • version: 1.30, 1.31 → "ubuntu24.04"
      • drivers_preset: "cuda12" (CUDA 12.8)
        • version: 1.30, 1.31 → "ubuntu24.04"
      • drivers_preset: "cuda12.8"
        • version: 1.31 → "ubuntu24.04"
    • gpu-b200-sxm-a:
      • drivers_preset: ""
        • version: 1.31 → "ubuntu24.04"
      • drivers_preset: "cuda12.8"
        • version: 1.31 → "ubuntu24.04"
    preemptible?: PreemptibleSpec

    Configures whether the nodes in the group are preemptible. Set to empty value to enable preemptible nodes.

    resources?: ResourcesSpec

    Resources that will have Nebius Compute Instance where Node kubelet will run.

    serviceAccountId: 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.

    taints: NodeTaint[]

    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.