1. Packages
  2. Selectel Provider
  3. API Docs
  4. MksNodegroupV1
selectel 6.4.0 published on Monday, Apr 14, 2025 by selectel

selectel.MksNodegroupV1

Explore with Pulumi AI

selectel logo
selectel 6.4.0 published on Monday, Apr 14, 2025 by selectel

    Creates and manages a Managed Kubernetes node group using public API v1. For more information about node groups, see the official Selectel documentation.

    Example Usage

    import * as pulumi from "@pulumi/pulumi";
    import * as selectel from "@pulumi/selectel";
    
    const nodegroup1 = new selectel.MksNodegroupV1("nodegroup1", {
        clusterId: selectel_mks_cluster_v1.cluster_1.id,
        projectId: selectel_mks_cluster_v1.cluster_1.project_id,
        region: selectel_mks_cluster_v1.cluster_1.region,
        availabilityZone: "ru-7a",
        nodesCount: 3,
        cpus: 2,
        ramMb: 4096,
        volumeGb: 20,
        volumeType: "fast.ru-7a",
        installNvidiaDevicePlugin: false,
        preemptible: false,
        labels: {
            "label-key0": "label-value0",
            "label-key1": "label-value1",
            "label-key2": "label-value2",
        },
        taints: [
            {
                key: "test-key-0",
                value: "test-value-0",
                effect: "NoSchedule",
            },
            {
                key: "test-key-1",
                value: "test-value-1",
                effect: "NoExecute",
            },
            {
                key: "test-key-2",
                value: "test-value-2",
                effect: "PreferNoSchedule",
            },
        ],
    });
    
    import pulumi
    import pulumi_selectel as selectel
    
    nodegroup1 = selectel.MksNodegroupV1("nodegroup1",
        cluster_id=selectel_mks_cluster_v1["cluster_1"]["id"],
        project_id=selectel_mks_cluster_v1["cluster_1"]["project_id"],
        region=selectel_mks_cluster_v1["cluster_1"]["region"],
        availability_zone="ru-7a",
        nodes_count=3,
        cpus=2,
        ram_mb=4096,
        volume_gb=20,
        volume_type="fast.ru-7a",
        install_nvidia_device_plugin=False,
        preemptible=False,
        labels={
            "label-key0": "label-value0",
            "label-key1": "label-value1",
            "label-key2": "label-value2",
        },
        taints=[
            {
                "key": "test-key-0",
                "value": "test-value-0",
                "effect": "NoSchedule",
            },
            {
                "key": "test-key-1",
                "value": "test-value-1",
                "effect": "NoExecute",
            },
            {
                "key": "test-key-2",
                "value": "test-value-2",
                "effect": "PreferNoSchedule",
            },
        ])
    
    package main
    
    import (
    	"github.com/pulumi/pulumi-terraform-provider/sdks/go/selectel/v6/selectel"
    	"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
    )
    
    func main() {
    	pulumi.Run(func(ctx *pulumi.Context) error {
    		_, err := selectel.NewMksNodegroupV1(ctx, "nodegroup1", &selectel.MksNodegroupV1Args{
    			ClusterId:                 pulumi.Any(selectel_mks_cluster_v1.Cluster_1.Id),
    			ProjectId:                 pulumi.Any(selectel_mks_cluster_v1.Cluster_1.Project_id),
    			Region:                    pulumi.Any(selectel_mks_cluster_v1.Cluster_1.Region),
    			AvailabilityZone:          pulumi.String("ru-7a"),
    			NodesCount:                pulumi.Float64(3),
    			Cpus:                      pulumi.Float64(2),
    			RamMb:                     pulumi.Float64(4096),
    			VolumeGb:                  pulumi.Float64(20),
    			VolumeType:                pulumi.String("fast.ru-7a"),
    			InstallNvidiaDevicePlugin: pulumi.Bool(false),
    			Preemptible:               pulumi.Bool(false),
    			Labels: pulumi.StringMap{
    				"label-key0": pulumi.String("label-value0"),
    				"label-key1": pulumi.String("label-value1"),
    				"label-key2": pulumi.String("label-value2"),
    			},
    			Taints: selectel.MksNodegroupV1TaintArray{
    				&selectel.MksNodegroupV1TaintArgs{
    					Key:    pulumi.String("test-key-0"),
    					Value:  pulumi.String("test-value-0"),
    					Effect: pulumi.String("NoSchedule"),
    				},
    				&selectel.MksNodegroupV1TaintArgs{
    					Key:    pulumi.String("test-key-1"),
    					Value:  pulumi.String("test-value-1"),
    					Effect: pulumi.String("NoExecute"),
    				},
    				&selectel.MksNodegroupV1TaintArgs{
    					Key:    pulumi.String("test-key-2"),
    					Value:  pulumi.String("test-value-2"),
    					Effect: pulumi.String("PreferNoSchedule"),
    				},
    			},
    		})
    		if err != nil {
    			return err
    		}
    		return nil
    	})
    }
    
    using System.Collections.Generic;
    using System.Linq;
    using Pulumi;
    using Selectel = Pulumi.Selectel;
    
    return await Deployment.RunAsync(() => 
    {
        var nodegroup1 = new Selectel.MksNodegroupV1("nodegroup1", new()
        {
            ClusterId = selectel_mks_cluster_v1.Cluster_1.Id,
            ProjectId = selectel_mks_cluster_v1.Cluster_1.Project_id,
            Region = selectel_mks_cluster_v1.Cluster_1.Region,
            AvailabilityZone = "ru-7a",
            NodesCount = 3,
            Cpus = 2,
            RamMb = 4096,
            VolumeGb = 20,
            VolumeType = "fast.ru-7a",
            InstallNvidiaDevicePlugin = false,
            Preemptible = false,
            Labels = 
            {
                { "label-key0", "label-value0" },
                { "label-key1", "label-value1" },
                { "label-key2", "label-value2" },
            },
            Taints = new[]
            {
                new Selectel.Inputs.MksNodegroupV1TaintArgs
                {
                    Key = "test-key-0",
                    Value = "test-value-0",
                    Effect = "NoSchedule",
                },
                new Selectel.Inputs.MksNodegroupV1TaintArgs
                {
                    Key = "test-key-1",
                    Value = "test-value-1",
                    Effect = "NoExecute",
                },
                new Selectel.Inputs.MksNodegroupV1TaintArgs
                {
                    Key = "test-key-2",
                    Value = "test-value-2",
                    Effect = "PreferNoSchedule",
                },
            },
        });
    
    });
    
    package generated_program;
    
    import com.pulumi.Context;
    import com.pulumi.Pulumi;
    import com.pulumi.core.Output;
    import com.pulumi.selectel.MksNodegroupV1;
    import com.pulumi.selectel.MksNodegroupV1Args;
    import com.pulumi.selectel.inputs.MksNodegroupV1TaintArgs;
    import java.util.List;
    import java.util.ArrayList;
    import java.util.Map;
    import java.io.File;
    import java.nio.file.Files;
    import java.nio.file.Paths;
    
    public class App {
        public static void main(String[] args) {
            Pulumi.run(App::stack);
        }
    
        public static void stack(Context ctx) {
            var nodegroup1 = new MksNodegroupV1("nodegroup1", MksNodegroupV1Args.builder()
                .clusterId(selectel_mks_cluster_v1.cluster_1().id())
                .projectId(selectel_mks_cluster_v1.cluster_1().project_id())
                .region(selectel_mks_cluster_v1.cluster_1().region())
                .availabilityZone("ru-7a")
                .nodesCount(3)
                .cpus(2)
                .ramMb(4096)
                .volumeGb(20)
                .volumeType("fast.ru-7a")
                .installNvidiaDevicePlugin(false)
                .preemptible(false)
                .labels(Map.ofEntries(
                    Map.entry("label-key0", "label-value0"),
                    Map.entry("label-key1", "label-value1"),
                    Map.entry("label-key2", "label-value2")
                ))
                .taints(            
                    MksNodegroupV1TaintArgs.builder()
                        .key("test-key-0")
                        .value("test-value-0")
                        .effect("NoSchedule")
                        .build(),
                    MksNodegroupV1TaintArgs.builder()
                        .key("test-key-1")
                        .value("test-value-1")
                        .effect("NoExecute")
                        .build(),
                    MksNodegroupV1TaintArgs.builder()
                        .key("test-key-2")
                        .value("test-value-2")
                        .effect("PreferNoSchedule")
                        .build())
                .build());
    
        }
    }
    
    resources:
      nodegroup1:
        type: selectel:MksNodegroupV1
        properties:
          clusterId: ${selectel_mks_cluster_v1.cluster_1.id}
          projectId: ${selectel_mks_cluster_v1.cluster_1.project_id}
          region: ${selectel_mks_cluster_v1.cluster_1.region}
          availabilityZone: ru-7a
          nodesCount: 3
          cpus: 2
          ramMb: 4096
          volumeGb: 20
          volumeType: fast.ru-7a
          installNvidiaDevicePlugin: false
          preemptible: false
          labels:
            label-key0: label-value0
            label-key1: label-value1
            label-key2: label-value2
          taints:
            - key: test-key-0
              value: test-value-0
              effect: NoSchedule
            - key: test-key-1
              value: test-value-1
              effect: NoExecute
            - key: test-key-2
              value: test-value-2
              effect: PreferNoSchedule
    

    Create MksNodegroupV1 Resource

    Resources are created with functions called constructors. To learn more about declaring and configuring resources, see Resources.

    Constructor syntax

    new MksNodegroupV1(name: string, args: MksNodegroupV1Args, opts?: CustomResourceOptions);
    @overload
    def MksNodegroupV1(resource_name: str,
                       args: MksNodegroupV1Args,
                       opts: Optional[ResourceOptions] = None)
    
    @overload
    def MksNodegroupV1(resource_name: str,
                       opts: Optional[ResourceOptions] = None,
                       install_nvidia_device_plugin: Optional[bool] = None,
                       region: Optional[str] = None,
                       project_id: Optional[str] = None,
                       availability_zone: Optional[str] = None,
                       cluster_id: Optional[str] = None,
                       nodes_count: Optional[float] = None,
                       cpus: Optional[float] = None,
                       autoscale_min_nodes: Optional[float] = None,
                       enable_autoscale: Optional[bool] = None,
                       keypair_name: Optional[str] = None,
                       labels: Optional[Mapping[str, str]] = None,
                       local_volume: Optional[bool] = None,
                       mks_nodegroup_v1_id: Optional[str] = None,
                       affinity_policy: Optional[str] = None,
                       preemptible: Optional[bool] = None,
                       flavor_id: Optional[str] = None,
                       ram_mb: Optional[float] = None,
                       autoscale_max_nodes: Optional[float] = None,
                       taints: Optional[Sequence[MksNodegroupV1TaintArgs]] = None,
                       timeouts: Optional[MksNodegroupV1TimeoutsArgs] = None,
                       user_data: Optional[str] = None,
                       volume_gb: Optional[float] = None,
                       volume_type: Optional[str] = None)
    func NewMksNodegroupV1(ctx *Context, name string, args MksNodegroupV1Args, opts ...ResourceOption) (*MksNodegroupV1, error)
    public MksNodegroupV1(string name, MksNodegroupV1Args args, CustomResourceOptions? opts = null)
    public MksNodegroupV1(String name, MksNodegroupV1Args args)
    public MksNodegroupV1(String name, MksNodegroupV1Args args, CustomResourceOptions options)
    
    type: selectel:MksNodegroupV1
    properties: # The arguments to resource properties.
    options: # Bag of options to control resource's behavior.
    
    

    Parameters

    name string
    The unique name of the resource.
    args MksNodegroupV1Args
    The arguments to resource properties.
    opts CustomResourceOptions
    Bag of options to control resource's behavior.
    resource_name str
    The unique name of the resource.
    args MksNodegroupV1Args
    The arguments to resource properties.
    opts ResourceOptions
    Bag of options to control resource's behavior.
    ctx Context
    Context object for the current deployment.
    name string
    The unique name of the resource.
    args MksNodegroupV1Args
    The arguments to resource properties.
    opts ResourceOption
    Bag of options to control resource's behavior.
    name string
    The unique name of the resource.
    args MksNodegroupV1Args
    The arguments to resource properties.
    opts CustomResourceOptions
    Bag of options to control resource's behavior.
    name String
    The unique name of the resource.
    args MksNodegroupV1Args
    The arguments to resource properties.
    options CustomResourceOptions
    Bag of options to control resource's behavior.

    Constructor example

    The following reference example uses placeholder values for all input properties.

    var mksNodegroupV1Resource = new Selectel.MksNodegroupV1("mksNodegroupV1Resource", new()
    {
        InstallNvidiaDevicePlugin = false,
        Region = "string",
        ProjectId = "string",
        AvailabilityZone = "string",
        ClusterId = "string",
        NodesCount = 0,
        Cpus = 0,
        AutoscaleMinNodes = 0,
        EnableAutoscale = false,
        KeypairName = "string",
        Labels = 
        {
            { "string", "string" },
        },
        LocalVolume = false,
        MksNodegroupV1Id = "string",
        AffinityPolicy = "string",
        Preemptible = false,
        FlavorId = "string",
        RamMb = 0,
        AutoscaleMaxNodes = 0,
        Taints = new[]
        {
            new Selectel.Inputs.MksNodegroupV1TaintArgs
            {
                Effect = "string",
                Key = "string",
                Value = "string",
            },
        },
        Timeouts = new Selectel.Inputs.MksNodegroupV1TimeoutsArgs
        {
            Create = "string",
            Delete = "string",
            Update = "string",
        },
        UserData = "string",
        VolumeGb = 0,
        VolumeType = "string",
    });
    
    example, err := selectel.NewMksNodegroupV1(ctx, "mksNodegroupV1Resource", &selectel.MksNodegroupV1Args{
    	InstallNvidiaDevicePlugin: pulumi.Bool(false),
    	Region:                    pulumi.String("string"),
    	ProjectId:                 pulumi.String("string"),
    	AvailabilityZone:          pulumi.String("string"),
    	ClusterId:                 pulumi.String("string"),
    	NodesCount:                pulumi.Float64(0),
    	Cpus:                      pulumi.Float64(0),
    	AutoscaleMinNodes:         pulumi.Float64(0),
    	EnableAutoscale:           pulumi.Bool(false),
    	KeypairName:               pulumi.String("string"),
    	Labels: pulumi.StringMap{
    		"string": pulumi.String("string"),
    	},
    	LocalVolume:       pulumi.Bool(false),
    	MksNodegroupV1Id:  pulumi.String("string"),
    	AffinityPolicy:    pulumi.String("string"),
    	Preemptible:       pulumi.Bool(false),
    	FlavorId:          pulumi.String("string"),
    	RamMb:             pulumi.Float64(0),
    	AutoscaleMaxNodes: pulumi.Float64(0),
    	Taints: selectel.MksNodegroupV1TaintArray{
    		&selectel.MksNodegroupV1TaintArgs{
    			Effect: pulumi.String("string"),
    			Key:    pulumi.String("string"),
    			Value:  pulumi.String("string"),
    		},
    	},
    	Timeouts: &selectel.MksNodegroupV1TimeoutsArgs{
    		Create: pulumi.String("string"),
    		Delete: pulumi.String("string"),
    		Update: pulumi.String("string"),
    	},
    	UserData:   pulumi.String("string"),
    	VolumeGb:   pulumi.Float64(0),
    	VolumeType: pulumi.String("string"),
    })
    
    var mksNodegroupV1Resource = new MksNodegroupV1("mksNodegroupV1Resource", MksNodegroupV1Args.builder()
        .installNvidiaDevicePlugin(false)
        .region("string")
        .projectId("string")
        .availabilityZone("string")
        .clusterId("string")
        .nodesCount(0)
        .cpus(0)
        .autoscaleMinNodes(0)
        .enableAutoscale(false)
        .keypairName("string")
        .labels(Map.of("string", "string"))
        .localVolume(false)
        .mksNodegroupV1Id("string")
        .affinityPolicy("string")
        .preemptible(false)
        .flavorId("string")
        .ramMb(0)
        .autoscaleMaxNodes(0)
        .taints(MksNodegroupV1TaintArgs.builder()
            .effect("string")
            .key("string")
            .value("string")
            .build())
        .timeouts(MksNodegroupV1TimeoutsArgs.builder()
            .create("string")
            .delete("string")
            .update("string")
            .build())
        .userData("string")
        .volumeGb(0)
        .volumeType("string")
        .build());
    
    mks_nodegroup_v1_resource = selectel.MksNodegroupV1("mksNodegroupV1Resource",
        install_nvidia_device_plugin=False,
        region="string",
        project_id="string",
        availability_zone="string",
        cluster_id="string",
        nodes_count=0,
        cpus=0,
        autoscale_min_nodes=0,
        enable_autoscale=False,
        keypair_name="string",
        labels={
            "string": "string",
        },
        local_volume=False,
        mks_nodegroup_v1_id="string",
        affinity_policy="string",
        preemptible=False,
        flavor_id="string",
        ram_mb=0,
        autoscale_max_nodes=0,
        taints=[{
            "effect": "string",
            "key": "string",
            "value": "string",
        }],
        timeouts={
            "create": "string",
            "delete": "string",
            "update": "string",
        },
        user_data="string",
        volume_gb=0,
        volume_type="string")
    
    const mksNodegroupV1Resource = new selectel.MksNodegroupV1("mksNodegroupV1Resource", {
        installNvidiaDevicePlugin: false,
        region: "string",
        projectId: "string",
        availabilityZone: "string",
        clusterId: "string",
        nodesCount: 0,
        cpus: 0,
        autoscaleMinNodes: 0,
        enableAutoscale: false,
        keypairName: "string",
        labels: {
            string: "string",
        },
        localVolume: false,
        mksNodegroupV1Id: "string",
        affinityPolicy: "string",
        preemptible: false,
        flavorId: "string",
        ramMb: 0,
        autoscaleMaxNodes: 0,
        taints: [{
            effect: "string",
            key: "string",
            value: "string",
        }],
        timeouts: {
            create: "string",
            "delete": "string",
            update: "string",
        },
        userData: "string",
        volumeGb: 0,
        volumeType: "string",
    });
    
    type: selectel:MksNodegroupV1
    properties:
        affinityPolicy: string
        autoscaleMaxNodes: 0
        autoscaleMinNodes: 0
        availabilityZone: string
        clusterId: string
        cpus: 0
        enableAutoscale: false
        flavorId: string
        installNvidiaDevicePlugin: false
        keypairName: string
        labels:
            string: string
        localVolume: false
        mksNodegroupV1Id: string
        nodesCount: 0
        preemptible: false
        projectId: string
        ramMb: 0
        region: string
        taints:
            - effect: string
              key: string
              value: string
        timeouts:
            create: string
            delete: string
            update: string
        userData: string
        volumeGb: 0
        volumeType: string
    

    MksNodegroupV1 Resource Properties

    To learn more about resource properties and how to use them, see Inputs and Outputs in the Architecture and Concepts docs.

    Inputs

    In Python, inputs that are objects can be passed either as argument classes or as dictionary literals.

    The MksNodegroupV1 resource accepts the following input properties:

    AvailabilityZone string
    Pool segment where all nodes of the node group are located. Changing this creates a new node group. Learn more about available pool segments in the Availability matrix.
    ClusterId string
    Unique identifier of the associated Managed Kubernetes cluster. Changing this creates a new node group. Retrieved from the selectel.MksClusterV1 resource.
    InstallNvidiaDevicePlugin bool
    Enables or disables installation of the NVIDIA Device Plugin and GPU drivers.
    Boolean flag:
    NodesCount double
    Number of worker nodes in the node group. Changing this resizes the node group if enable_autoscale is false.
    ProjectId string
    Unique identifier of the associated project. Changing this creates a new node group. Retrieved from the selectel.VpcProjectV2 resource. Learn more about Projects.
    Region string
    Pool where the cluster is located, for example, ru-7. Changing this creates a new node group. Learn more about available pools in the Availability matrix.
    AffinityPolicy string
    Specifies affinity policy of the nodes. Changing this creates a new node group. Available values are soft-anti-affinity and soft-affinity. The default value is soft-anti-affinity. For more information about affinity and anti-affinity, see the official Kubernetes documentation.
    AutoscaleMaxNodes double
    AutoscaleMinNodes double
    Cpus double
    Number of vCPUs for each node. Can be skipped only when flavor_id is set. Changing this creates a new node group. Learn more about Configurations.
    EnableAutoscale bool
    Enables or disables autoscaling of the node group. Boolean flag, the default value is false. autoscale_min_nodes and autoscale_max_nodes must be specified. Learn more about Autoscaling.
    FlavorId string
    Unique identifier of an OpenStack flavor for all nodes in the node group. Changing this creates a new node group. Learn more about Flavors.
    KeypairName string
    Name of the SSH key added to all nodes. Changing this creates a new node group.
    Labels Dictionary<string, string>
    List of Kubernetes labels applied to each node in the node group.
    LocalVolume bool
    Specifies if nodes use a local volume. Cannot be used with the flavors that have specifications for a local volume. Changing this creates a new node group. Boolean flag, the default value is false.
    MksNodegroupV1Id string
    Preemptible bool
    Enables or disables the use of preemptible nodes for the node group. Boolean flag, the default value is false. Learn more about Preemptible node groups.
    RamMb double
    Amount of RAM in MB for each node. Can be skipped only when flavor_id is set. Changing this creates a new node group. Learn more about Configurations.
    Taints List<MksNodegroupV1Taint>
    List of Kubernetes taints applied to each node in the node group. Contains a key-value pair and an effect applied for the taint. Available effects are NoSchedule, PreferNoSchedule, and NoExecute. Learn more about Taints.
    Timeouts MksNodegroupV1Timeouts
    UserData string
    Base64-encoded script that worker nodes run on the first boot. Changing this creates a new node group. Learn more about User data.
    VolumeGb double
    Volume size in GB for each node. Can be skipped only when flavor_id is set and local_volume is true. Changing this creates a new node group. Learn more about Configurations.
    VolumeType string
    Type of an OpenStack Block Storage volume for each node. Can be skipped only when flavor_id is set and the flavor properties contain additional specifications for a local volume. Changing this creates a new node group. Available volume types are fast, basic, and universal. The format is <volume_type>.<availability_zone>. Learn more about Network volumes.
    AvailabilityZone string
    Pool segment where all nodes of the node group are located. Changing this creates a new node group. Learn more about available pool segments in the Availability matrix.
    ClusterId string
    Unique identifier of the associated Managed Kubernetes cluster. Changing this creates a new node group. Retrieved from the selectel.MksClusterV1 resource.
    InstallNvidiaDevicePlugin bool
    Enables or disables installation of the NVIDIA Device Plugin and GPU drivers.
    Boolean flag:
    NodesCount float64
    Number of worker nodes in the node group. Changing this resizes the node group if enable_autoscale is false.
    ProjectId string
    Unique identifier of the associated project. Changing this creates a new node group. Retrieved from the selectel.VpcProjectV2 resource. Learn more about Projects.
    Region string
    Pool where the cluster is located, for example, ru-7. Changing this creates a new node group. Learn more about available pools in the Availability matrix.
    AffinityPolicy string
    Specifies affinity policy of the nodes. Changing this creates a new node group. Available values are soft-anti-affinity and soft-affinity. The default value is soft-anti-affinity. For more information about affinity and anti-affinity, see the official Kubernetes documentation.
    AutoscaleMaxNodes float64
    AutoscaleMinNodes float64
    Cpus float64
    Number of vCPUs for each node. Can be skipped only when flavor_id is set. Changing this creates a new node group. Learn more about Configurations.
    EnableAutoscale bool
    Enables or disables autoscaling of the node group. Boolean flag, the default value is false. autoscale_min_nodes and autoscale_max_nodes must be specified. Learn more about Autoscaling.
    FlavorId string
    Unique identifier of an OpenStack flavor for all nodes in the node group. Changing this creates a new node group. Learn more about Flavors.
    KeypairName string
    Name of the SSH key added to all nodes. Changing this creates a new node group.
    Labels map[string]string
    List of Kubernetes labels applied to each node in the node group.
    LocalVolume bool
    Specifies if nodes use a local volume. Cannot be used with the flavors that have specifications for a local volume. Changing this creates a new node group. Boolean flag, the default value is false.
    MksNodegroupV1Id string
    Preemptible bool
    Enables or disables the use of preemptible nodes for the node group. Boolean flag, the default value is false. Learn more about Preemptible node groups.
    RamMb float64
    Amount of RAM in MB for each node. Can be skipped only when flavor_id is set. Changing this creates a new node group. Learn more about Configurations.
    Taints []MksNodegroupV1TaintArgs
    List of Kubernetes taints applied to each node in the node group. Contains a key-value pair and an effect applied for the taint. Available effects are NoSchedule, PreferNoSchedule, and NoExecute. Learn more about Taints.
    Timeouts MksNodegroupV1TimeoutsArgs
    UserData string
    Base64-encoded script that worker nodes run on the first boot. Changing this creates a new node group. Learn more about User data.
    VolumeGb float64
    Volume size in GB for each node. Can be skipped only when flavor_id is set and local_volume is true. Changing this creates a new node group. Learn more about Configurations.
    VolumeType string
    Type of an OpenStack Block Storage volume for each node. Can be skipped only when flavor_id is set and the flavor properties contain additional specifications for a local volume. Changing this creates a new node group. Available volume types are fast, basic, and universal. The format is <volume_type>.<availability_zone>. Learn more about Network volumes.
    availabilityZone String
    Pool segment where all nodes of the node group are located. Changing this creates a new node group. Learn more about available pool segments in the Availability matrix.
    clusterId String
    Unique identifier of the associated Managed Kubernetes cluster. Changing this creates a new node group. Retrieved from the selectel.MksClusterV1 resource.
    installNvidiaDevicePlugin Boolean
    Enables or disables installation of the NVIDIA Device Plugin and GPU drivers.
    Boolean flag:
    nodesCount Double
    Number of worker nodes in the node group. Changing this resizes the node group if enable_autoscale is false.
    projectId String
    Unique identifier of the associated project. Changing this creates a new node group. Retrieved from the selectel.VpcProjectV2 resource. Learn more about Projects.
    region String
    Pool where the cluster is located, for example, ru-7. Changing this creates a new node group. Learn more about available pools in the Availability matrix.
    affinityPolicy String
    Specifies affinity policy of the nodes. Changing this creates a new node group. Available values are soft-anti-affinity and soft-affinity. The default value is soft-anti-affinity. For more information about affinity and anti-affinity, see the official Kubernetes documentation.
    autoscaleMaxNodes Double
    autoscaleMinNodes Double
    cpus Double
    Number of vCPUs for each node. Can be skipped only when flavor_id is set. Changing this creates a new node group. Learn more about Configurations.
    enableAutoscale Boolean
    Enables or disables autoscaling of the node group. Boolean flag, the default value is false. autoscale_min_nodes and autoscale_max_nodes must be specified. Learn more about Autoscaling.
    flavorId String
    Unique identifier of an OpenStack flavor for all nodes in the node group. Changing this creates a new node group. Learn more about Flavors.
    keypairName String
    Name of the SSH key added to all nodes. Changing this creates a new node group.
    labels Map<String,String>
    List of Kubernetes labels applied to each node in the node group.
    localVolume Boolean
    Specifies if nodes use a local volume. Cannot be used with the flavors that have specifications for a local volume. Changing this creates a new node group. Boolean flag, the default value is false.
    mksNodegroupV1Id String
    preemptible Boolean
    Enables or disables the use of preemptible nodes for the node group. Boolean flag, the default value is false. Learn more about Preemptible node groups.
    ramMb Double
    Amount of RAM in MB for each node. Can be skipped only when flavor_id is set. Changing this creates a new node group. Learn more about Configurations.
    taints List<MksNodegroupV1Taint>
    List of Kubernetes taints applied to each node in the node group. Contains a key-value pair and an effect applied for the taint. Available effects are NoSchedule, PreferNoSchedule, and NoExecute. Learn more about Taints.
    timeouts MksNodegroupV1Timeouts
    userData String
    Base64-encoded script that worker nodes run on the first boot. Changing this creates a new node group. Learn more about User data.
    volumeGb Double
    Volume size in GB for each node. Can be skipped only when flavor_id is set and local_volume is true. Changing this creates a new node group. Learn more about Configurations.
    volumeType String
    Type of an OpenStack Block Storage volume for each node. Can be skipped only when flavor_id is set and the flavor properties contain additional specifications for a local volume. Changing this creates a new node group. Available volume types are fast, basic, and universal. The format is <volume_type>.<availability_zone>. Learn more about Network volumes.
    availabilityZone string
    Pool segment where all nodes of the node group are located. Changing this creates a new node group. Learn more about available pool segments in the Availability matrix.
    clusterId string
    Unique identifier of the associated Managed Kubernetes cluster. Changing this creates a new node group. Retrieved from the selectel.MksClusterV1 resource.
    installNvidiaDevicePlugin boolean
    Enables or disables installation of the NVIDIA Device Plugin and GPU drivers.
    Boolean flag:
    nodesCount number
    Number of worker nodes in the node group. Changing this resizes the node group if enable_autoscale is false.
    projectId string
    Unique identifier of the associated project. Changing this creates a new node group. Retrieved from the selectel.VpcProjectV2 resource. Learn more about Projects.
    region string
    Pool where the cluster is located, for example, ru-7. Changing this creates a new node group. Learn more about available pools in the Availability matrix.
    affinityPolicy string
    Specifies affinity policy of the nodes. Changing this creates a new node group. Available values are soft-anti-affinity and soft-affinity. The default value is soft-anti-affinity. For more information about affinity and anti-affinity, see the official Kubernetes documentation.
    autoscaleMaxNodes number
    autoscaleMinNodes number
    cpus number
    Number of vCPUs for each node. Can be skipped only when flavor_id is set. Changing this creates a new node group. Learn more about Configurations.
    enableAutoscale boolean
    Enables or disables autoscaling of the node group. Boolean flag, the default value is false. autoscale_min_nodes and autoscale_max_nodes must be specified. Learn more about Autoscaling.
    flavorId string
    Unique identifier of an OpenStack flavor for all nodes in the node group. Changing this creates a new node group. Learn more about Flavors.
    keypairName string
    Name of the SSH key added to all nodes. Changing this creates a new node group.
    labels {[key: string]: string}
    List of Kubernetes labels applied to each node in the node group.
    localVolume boolean
    Specifies if nodes use a local volume. Cannot be used with the flavors that have specifications for a local volume. Changing this creates a new node group. Boolean flag, the default value is false.
    mksNodegroupV1Id string
    preemptible boolean
    Enables or disables the use of preemptible nodes for the node group. Boolean flag, the default value is false. Learn more about Preemptible node groups.
    ramMb number
    Amount of RAM in MB for each node. Can be skipped only when flavor_id is set. Changing this creates a new node group. Learn more about Configurations.
    taints MksNodegroupV1Taint[]
    List of Kubernetes taints applied to each node in the node group. Contains a key-value pair and an effect applied for the taint. Available effects are NoSchedule, PreferNoSchedule, and NoExecute. Learn more about Taints.
    timeouts MksNodegroupV1Timeouts
    userData string
    Base64-encoded script that worker nodes run on the first boot. Changing this creates a new node group. Learn more about User data.
    volumeGb number
    Volume size in GB for each node. Can be skipped only when flavor_id is set and local_volume is true. Changing this creates a new node group. Learn more about Configurations.
    volumeType string
    Type of an OpenStack Block Storage volume for each node. Can be skipped only when flavor_id is set and the flavor properties contain additional specifications for a local volume. Changing this creates a new node group. Available volume types are fast, basic, and universal. The format is <volume_type>.<availability_zone>. Learn more about Network volumes.
    availability_zone str
    Pool segment where all nodes of the node group are located. Changing this creates a new node group. Learn more about available pool segments in the Availability matrix.
    cluster_id str
    Unique identifier of the associated Managed Kubernetes cluster. Changing this creates a new node group. Retrieved from the selectel.MksClusterV1 resource.
    install_nvidia_device_plugin bool
    Enables or disables installation of the NVIDIA Device Plugin and GPU drivers.
    Boolean flag:
    nodes_count float
    Number of worker nodes in the node group. Changing this resizes the node group if enable_autoscale is false.
    project_id str
    Unique identifier of the associated project. Changing this creates a new node group. Retrieved from the selectel.VpcProjectV2 resource. Learn more about Projects.
    region str
    Pool where the cluster is located, for example, ru-7. Changing this creates a new node group. Learn more about available pools in the Availability matrix.
    affinity_policy str
    Specifies affinity policy of the nodes. Changing this creates a new node group. Available values are soft-anti-affinity and soft-affinity. The default value is soft-anti-affinity. For more information about affinity and anti-affinity, see the official Kubernetes documentation.
    autoscale_max_nodes float
    autoscale_min_nodes float
    cpus float
    Number of vCPUs for each node. Can be skipped only when flavor_id is set. Changing this creates a new node group. Learn more about Configurations.
    enable_autoscale bool
    Enables or disables autoscaling of the node group. Boolean flag, the default value is false. autoscale_min_nodes and autoscale_max_nodes must be specified. Learn more about Autoscaling.
    flavor_id str
    Unique identifier of an OpenStack flavor for all nodes in the node group. Changing this creates a new node group. Learn more about Flavors.
    keypair_name str
    Name of the SSH key added to all nodes. Changing this creates a new node group.
    labels Mapping[str, str]
    List of Kubernetes labels applied to each node in the node group.
    local_volume bool
    Specifies if nodes use a local volume. Cannot be used with the flavors that have specifications for a local volume. Changing this creates a new node group. Boolean flag, the default value is false.
    mks_nodegroup_v1_id str
    preemptible bool
    Enables or disables the use of preemptible nodes for the node group. Boolean flag, the default value is false. Learn more about Preemptible node groups.
    ram_mb float
    Amount of RAM in MB for each node. Can be skipped only when flavor_id is set. Changing this creates a new node group. Learn more about Configurations.
    taints Sequence[MksNodegroupV1TaintArgs]
    List of Kubernetes taints applied to each node in the node group. Contains a key-value pair and an effect applied for the taint. Available effects are NoSchedule, PreferNoSchedule, and NoExecute. Learn more about Taints.
    timeouts MksNodegroupV1TimeoutsArgs
    user_data str
    Base64-encoded script that worker nodes run on the first boot. Changing this creates a new node group. Learn more about User data.
    volume_gb float
    Volume size in GB for each node. Can be skipped only when flavor_id is set and local_volume is true. Changing this creates a new node group. Learn more about Configurations.
    volume_type str
    Type of an OpenStack Block Storage volume for each node. Can be skipped only when flavor_id is set and the flavor properties contain additional specifications for a local volume. Changing this creates a new node group. Available volume types are fast, basic, and universal. The format is <volume_type>.<availability_zone>. Learn more about Network volumes.
    availabilityZone String
    Pool segment where all nodes of the node group are located. Changing this creates a new node group. Learn more about available pool segments in the Availability matrix.
    clusterId String
    Unique identifier of the associated Managed Kubernetes cluster. Changing this creates a new node group. Retrieved from the selectel.MksClusterV1 resource.
    installNvidiaDevicePlugin Boolean
    Enables or disables installation of the NVIDIA Device Plugin and GPU drivers.
    Boolean flag:
    nodesCount Number
    Number of worker nodes in the node group. Changing this resizes the node group if enable_autoscale is false.
    projectId String
    Unique identifier of the associated project. Changing this creates a new node group. Retrieved from the selectel.VpcProjectV2 resource. Learn more about Projects.
    region String
    Pool where the cluster is located, for example, ru-7. Changing this creates a new node group. Learn more about available pools in the Availability matrix.
    affinityPolicy String
    Specifies affinity policy of the nodes. Changing this creates a new node group. Available values are soft-anti-affinity and soft-affinity. The default value is soft-anti-affinity. For more information about affinity and anti-affinity, see the official Kubernetes documentation.
    autoscaleMaxNodes Number
    autoscaleMinNodes Number
    cpus Number
    Number of vCPUs for each node. Can be skipped only when flavor_id is set. Changing this creates a new node group. Learn more about Configurations.
    enableAutoscale Boolean
    Enables or disables autoscaling of the node group. Boolean flag, the default value is false. autoscale_min_nodes and autoscale_max_nodes must be specified. Learn more about Autoscaling.
    flavorId String
    Unique identifier of an OpenStack flavor for all nodes in the node group. Changing this creates a new node group. Learn more about Flavors.
    keypairName String
    Name of the SSH key added to all nodes. Changing this creates a new node group.
    labels Map<String>
    List of Kubernetes labels applied to each node in the node group.
    localVolume Boolean
    Specifies if nodes use a local volume. Cannot be used with the flavors that have specifications for a local volume. Changing this creates a new node group. Boolean flag, the default value is false.
    mksNodegroupV1Id String
    preemptible Boolean
    Enables or disables the use of preemptible nodes for the node group. Boolean flag, the default value is false. Learn more about Preemptible node groups.
    ramMb Number
    Amount of RAM in MB for each node. Can be skipped only when flavor_id is set. Changing this creates a new node group. Learn more about Configurations.
    taints List<Property Map>
    List of Kubernetes taints applied to each node in the node group. Contains a key-value pair and an effect applied for the taint. Available effects are NoSchedule, PreferNoSchedule, and NoExecute. Learn more about Taints.
    timeouts Property Map
    userData String
    Base64-encoded script that worker nodes run on the first boot. Changing this creates a new node group. Learn more about User data.
    volumeGb Number
    Volume size in GB for each node. Can be skipped only when flavor_id is set and local_volume is true. Changing this creates a new node group. Learn more about Configurations.
    volumeType String
    Type of an OpenStack Block Storage volume for each node. Can be skipped only when flavor_id is set and the flavor properties contain additional specifications for a local volume. Changing this creates a new node group. Available volume types are fast, basic, and universal. The format is <volume_type>.<availability_zone>. Learn more about Network volumes.

    Outputs

    All input properties are implicitly available as output properties. Additionally, the MksNodegroupV1 resource produces the following output properties:

    Id string
    The provider-assigned unique ID for this managed resource.
    NodegroupType string
    Type of the node group. Available values are STANDARD and GPU.
    Nodes List<MksNodegroupV1Node>
    List of nodes in the node group.
    Status string
    Id string
    The provider-assigned unique ID for this managed resource.
    NodegroupType string
    Type of the node group. Available values are STANDARD and GPU.
    Nodes []MksNodegroupV1Node
    List of nodes in the node group.
    Status string
    id String
    The provider-assigned unique ID for this managed resource.
    nodegroupType String
    Type of the node group. Available values are STANDARD and GPU.
    nodes List<MksNodegroupV1Node>
    List of nodes in the node group.
    status String
    id string
    The provider-assigned unique ID for this managed resource.
    nodegroupType string
    Type of the node group. Available values are STANDARD and GPU.
    nodes MksNodegroupV1Node[]
    List of nodes in the node group.
    status string
    id str
    The provider-assigned unique ID for this managed resource.
    nodegroup_type str
    Type of the node group. Available values are STANDARD and GPU.
    nodes Sequence[MksNodegroupV1Node]
    List of nodes in the node group.
    status str
    id String
    The provider-assigned unique ID for this managed resource.
    nodegroupType String
    Type of the node group. Available values are STANDARD and GPU.
    nodes List<Property Map>
    List of nodes in the node group.
    status String

    Look up Existing MksNodegroupV1 Resource

    Get an existing MksNodegroupV1 resource’s state with the given name, ID, and optional extra properties used to qualify the lookup.

    public static get(name: string, id: Input<ID>, state?: MksNodegroupV1State, opts?: CustomResourceOptions): MksNodegroupV1
    @staticmethod
    def get(resource_name: str,
            id: str,
            opts: Optional[ResourceOptions] = None,
            affinity_policy: Optional[str] = None,
            autoscale_max_nodes: Optional[float] = None,
            autoscale_min_nodes: Optional[float] = None,
            availability_zone: Optional[str] = None,
            cluster_id: Optional[str] = None,
            cpus: Optional[float] = None,
            enable_autoscale: Optional[bool] = None,
            flavor_id: Optional[str] = None,
            install_nvidia_device_plugin: Optional[bool] = None,
            keypair_name: Optional[str] = None,
            labels: Optional[Mapping[str, str]] = None,
            local_volume: Optional[bool] = None,
            mks_nodegroup_v1_id: Optional[str] = None,
            nodegroup_type: Optional[str] = None,
            nodes: Optional[Sequence[MksNodegroupV1NodeArgs]] = None,
            nodes_count: Optional[float] = None,
            preemptible: Optional[bool] = None,
            project_id: Optional[str] = None,
            ram_mb: Optional[float] = None,
            region: Optional[str] = None,
            status: Optional[str] = None,
            taints: Optional[Sequence[MksNodegroupV1TaintArgs]] = None,
            timeouts: Optional[MksNodegroupV1TimeoutsArgs] = None,
            user_data: Optional[str] = None,
            volume_gb: Optional[float] = None,
            volume_type: Optional[str] = None) -> MksNodegroupV1
    func GetMksNodegroupV1(ctx *Context, name string, id IDInput, state *MksNodegroupV1State, opts ...ResourceOption) (*MksNodegroupV1, error)
    public static MksNodegroupV1 Get(string name, Input<string> id, MksNodegroupV1State? state, CustomResourceOptions? opts = null)
    public static MksNodegroupV1 get(String name, Output<String> id, MksNodegroupV1State state, CustomResourceOptions options)
    resources:  _:    type: selectel:MksNodegroupV1    get:      id: ${id}
    name
    The unique name of the resulting resource.
    id
    The unique provider ID of the resource to lookup.
    state
    Any extra arguments used during the lookup.
    opts
    A bag of options that control this resource's behavior.
    resource_name
    The unique name of the resulting resource.
    id
    The unique provider ID of the resource to lookup.
    name
    The unique name of the resulting resource.
    id
    The unique provider ID of the resource to lookup.
    state
    Any extra arguments used during the lookup.
    opts
    A bag of options that control this resource's behavior.
    name
    The unique name of the resulting resource.
    id
    The unique provider ID of the resource to lookup.
    state
    Any extra arguments used during the lookup.
    opts
    A bag of options that control this resource's behavior.
    name
    The unique name of the resulting resource.
    id
    The unique provider ID of the resource to lookup.
    state
    Any extra arguments used during the lookup.
    opts
    A bag of options that control this resource's behavior.
    The following state arguments are supported:
    AffinityPolicy string
    Specifies affinity policy of the nodes. Changing this creates a new node group. Available values are soft-anti-affinity and soft-affinity. The default value is soft-anti-affinity. For more information about affinity and anti-affinity, see the official Kubernetes documentation.
    AutoscaleMaxNodes double
    AutoscaleMinNodes double
    AvailabilityZone string
    Pool segment where all nodes of the node group are located. Changing this creates a new node group. Learn more about available pool segments in the Availability matrix.
    ClusterId string
    Unique identifier of the associated Managed Kubernetes cluster. Changing this creates a new node group. Retrieved from the selectel.MksClusterV1 resource.
    Cpus double
    Number of vCPUs for each node. Can be skipped only when flavor_id is set. Changing this creates a new node group. Learn more about Configurations.
    EnableAutoscale bool
    Enables or disables autoscaling of the node group. Boolean flag, the default value is false. autoscale_min_nodes and autoscale_max_nodes must be specified. Learn more about Autoscaling.
    FlavorId string
    Unique identifier of an OpenStack flavor for all nodes in the node group. Changing this creates a new node group. Learn more about Flavors.
    InstallNvidiaDevicePlugin bool
    Enables or disables installation of the NVIDIA Device Plugin and GPU drivers.
    Boolean flag:
    KeypairName string
    Name of the SSH key added to all nodes. Changing this creates a new node group.
    Labels Dictionary<string, string>
    List of Kubernetes labels applied to each node in the node group.
    LocalVolume bool
    Specifies if nodes use a local volume. Cannot be used with the flavors that have specifications for a local volume. Changing this creates a new node group. Boolean flag, the default value is false.
    MksNodegroupV1Id string
    NodegroupType string
    Type of the node group. Available values are STANDARD and GPU.
    Nodes List<MksNodegroupV1Node>
    List of nodes in the node group.
    NodesCount double
    Number of worker nodes in the node group. Changing this resizes the node group if enable_autoscale is false.
    Preemptible bool
    Enables or disables the use of preemptible nodes for the node group. Boolean flag, the default value is false. Learn more about Preemptible node groups.
    ProjectId string
    Unique identifier of the associated project. Changing this creates a new node group. Retrieved from the selectel.VpcProjectV2 resource. Learn more about Projects.
    RamMb double
    Amount of RAM in MB for each node. Can be skipped only when flavor_id is set. Changing this creates a new node group. Learn more about Configurations.
    Region string
    Pool where the cluster is located, for example, ru-7. Changing this creates a new node group. Learn more about available pools in the Availability matrix.
    Status string
    Taints List<MksNodegroupV1Taint>
    List of Kubernetes taints applied to each node in the node group. Contains a key-value pair and an effect applied for the taint. Available effects are NoSchedule, PreferNoSchedule, and NoExecute. Learn more about Taints.
    Timeouts MksNodegroupV1Timeouts
    UserData string
    Base64-encoded script that worker nodes run on the first boot. Changing this creates a new node group. Learn more about User data.
    VolumeGb double
    Volume size in GB for each node. Can be skipped only when flavor_id is set and local_volume is true. Changing this creates a new node group. Learn more about Configurations.
    VolumeType string
    Type of an OpenStack Block Storage volume for each node. Can be skipped only when flavor_id is set and the flavor properties contain additional specifications for a local volume. Changing this creates a new node group. Available volume types are fast, basic, and universal. The format is <volume_type>.<availability_zone>. Learn more about Network volumes.
    AffinityPolicy string
    Specifies affinity policy of the nodes. Changing this creates a new node group. Available values are soft-anti-affinity and soft-affinity. The default value is soft-anti-affinity. For more information about affinity and anti-affinity, see the official Kubernetes documentation.
    AutoscaleMaxNodes float64
    AutoscaleMinNodes float64
    AvailabilityZone string
    Pool segment where all nodes of the node group are located. Changing this creates a new node group. Learn more about available pool segments in the Availability matrix.
    ClusterId string
    Unique identifier of the associated Managed Kubernetes cluster. Changing this creates a new node group. Retrieved from the selectel.MksClusterV1 resource.
    Cpus float64
    Number of vCPUs for each node. Can be skipped only when flavor_id is set. Changing this creates a new node group. Learn more about Configurations.
    EnableAutoscale bool
    Enables or disables autoscaling of the node group. Boolean flag, the default value is false. autoscale_min_nodes and autoscale_max_nodes must be specified. Learn more about Autoscaling.
    FlavorId string
    Unique identifier of an OpenStack flavor for all nodes in the node group. Changing this creates a new node group. Learn more about Flavors.
    InstallNvidiaDevicePlugin bool
    Enables or disables installation of the NVIDIA Device Plugin and GPU drivers.
    Boolean flag:
    KeypairName string
    Name of the SSH key added to all nodes. Changing this creates a new node group.
    Labels map[string]string
    List of Kubernetes labels applied to each node in the node group.
    LocalVolume bool
    Specifies if nodes use a local volume. Cannot be used with the flavors that have specifications for a local volume. Changing this creates a new node group. Boolean flag, the default value is false.
    MksNodegroupV1Id string
    NodegroupType string
    Type of the node group. Available values are STANDARD and GPU.
    Nodes []MksNodegroupV1NodeArgs
    List of nodes in the node group.
    NodesCount float64
    Number of worker nodes in the node group. Changing this resizes the node group if enable_autoscale is false.
    Preemptible bool
    Enables or disables the use of preemptible nodes for the node group. Boolean flag, the default value is false. Learn more about Preemptible node groups.
    ProjectId string
    Unique identifier of the associated project. Changing this creates a new node group. Retrieved from the selectel.VpcProjectV2 resource. Learn more about Projects.
    RamMb float64
    Amount of RAM in MB for each node. Can be skipped only when flavor_id is set. Changing this creates a new node group. Learn more about Configurations.
    Region string
    Pool where the cluster is located, for example, ru-7. Changing this creates a new node group. Learn more about available pools in the Availability matrix.
    Status string
    Taints []MksNodegroupV1TaintArgs
    List of Kubernetes taints applied to each node in the node group. Contains a key-value pair and an effect applied for the taint. Available effects are NoSchedule, PreferNoSchedule, and NoExecute. Learn more about Taints.
    Timeouts MksNodegroupV1TimeoutsArgs
    UserData string
    Base64-encoded script that worker nodes run on the first boot. Changing this creates a new node group. Learn more about User data.
    VolumeGb float64
    Volume size in GB for each node. Can be skipped only when flavor_id is set and local_volume is true. Changing this creates a new node group. Learn more about Configurations.
    VolumeType string
    Type of an OpenStack Block Storage volume for each node. Can be skipped only when flavor_id is set and the flavor properties contain additional specifications for a local volume. Changing this creates a new node group. Available volume types are fast, basic, and universal. The format is <volume_type>.<availability_zone>. Learn more about Network volumes.
    affinityPolicy String
    Specifies affinity policy of the nodes. Changing this creates a new node group. Available values are soft-anti-affinity and soft-affinity. The default value is soft-anti-affinity. For more information about affinity and anti-affinity, see the official Kubernetes documentation.
    autoscaleMaxNodes Double
    autoscaleMinNodes Double
    availabilityZone String
    Pool segment where all nodes of the node group are located. Changing this creates a new node group. Learn more about available pool segments in the Availability matrix.
    clusterId String
    Unique identifier of the associated Managed Kubernetes cluster. Changing this creates a new node group. Retrieved from the selectel.MksClusterV1 resource.
    cpus Double
    Number of vCPUs for each node. Can be skipped only when flavor_id is set. Changing this creates a new node group. Learn more about Configurations.
    enableAutoscale Boolean
    Enables or disables autoscaling of the node group. Boolean flag, the default value is false. autoscale_min_nodes and autoscale_max_nodes must be specified. Learn more about Autoscaling.
    flavorId String
    Unique identifier of an OpenStack flavor for all nodes in the node group. Changing this creates a new node group. Learn more about Flavors.
    installNvidiaDevicePlugin Boolean
    Enables or disables installation of the NVIDIA Device Plugin and GPU drivers.
    Boolean flag:
    keypairName String
    Name of the SSH key added to all nodes. Changing this creates a new node group.
    labels Map<String,String>
    List of Kubernetes labels applied to each node in the node group.
    localVolume Boolean
    Specifies if nodes use a local volume. Cannot be used with the flavors that have specifications for a local volume. Changing this creates a new node group. Boolean flag, the default value is false.
    mksNodegroupV1Id String
    nodegroupType String
    Type of the node group. Available values are STANDARD and GPU.
    nodes List<MksNodegroupV1Node>
    List of nodes in the node group.
    nodesCount Double
    Number of worker nodes in the node group. Changing this resizes the node group if enable_autoscale is false.
    preemptible Boolean
    Enables or disables the use of preemptible nodes for the node group. Boolean flag, the default value is false. Learn more about Preemptible node groups.
    projectId String
    Unique identifier of the associated project. Changing this creates a new node group. Retrieved from the selectel.VpcProjectV2 resource. Learn more about Projects.
    ramMb Double
    Amount of RAM in MB for each node. Can be skipped only when flavor_id is set. Changing this creates a new node group. Learn more about Configurations.
    region String
    Pool where the cluster is located, for example, ru-7. Changing this creates a new node group. Learn more about available pools in the Availability matrix.
    status String
    taints List<MksNodegroupV1Taint>
    List of Kubernetes taints applied to each node in the node group. Contains a key-value pair and an effect applied for the taint. Available effects are NoSchedule, PreferNoSchedule, and NoExecute. Learn more about Taints.
    timeouts MksNodegroupV1Timeouts
    userData String
    Base64-encoded script that worker nodes run on the first boot. Changing this creates a new node group. Learn more about User data.
    volumeGb Double
    Volume size in GB for each node. Can be skipped only when flavor_id is set and local_volume is true. Changing this creates a new node group. Learn more about Configurations.
    volumeType String
    Type of an OpenStack Block Storage volume for each node. Can be skipped only when flavor_id is set and the flavor properties contain additional specifications for a local volume. Changing this creates a new node group. Available volume types are fast, basic, and universal. The format is <volume_type>.<availability_zone>. Learn more about Network volumes.
    affinityPolicy string
    Specifies affinity policy of the nodes. Changing this creates a new node group. Available values are soft-anti-affinity and soft-affinity. The default value is soft-anti-affinity. For more information about affinity and anti-affinity, see the official Kubernetes documentation.
    autoscaleMaxNodes number
    autoscaleMinNodes number
    availabilityZone string
    Pool segment where all nodes of the node group are located. Changing this creates a new node group. Learn more about available pool segments in the Availability matrix.
    clusterId string
    Unique identifier of the associated Managed Kubernetes cluster. Changing this creates a new node group. Retrieved from the selectel.MksClusterV1 resource.
    cpus number
    Number of vCPUs for each node. Can be skipped only when flavor_id is set. Changing this creates a new node group. Learn more about Configurations.
    enableAutoscale boolean
    Enables or disables autoscaling of the node group. Boolean flag, the default value is false. autoscale_min_nodes and autoscale_max_nodes must be specified. Learn more about Autoscaling.
    flavorId string
    Unique identifier of an OpenStack flavor for all nodes in the node group. Changing this creates a new node group. Learn more about Flavors.
    installNvidiaDevicePlugin boolean
    Enables or disables installation of the NVIDIA Device Plugin and GPU drivers.
    Boolean flag:
    keypairName string
    Name of the SSH key added to all nodes. Changing this creates a new node group.
    labels {[key: string]: string}
    List of Kubernetes labels applied to each node in the node group.
    localVolume boolean
    Specifies if nodes use a local volume. Cannot be used with the flavors that have specifications for a local volume. Changing this creates a new node group. Boolean flag, the default value is false.
    mksNodegroupV1Id string
    nodegroupType string
    Type of the node group. Available values are STANDARD and GPU.
    nodes MksNodegroupV1Node[]
    List of nodes in the node group.
    nodesCount number
    Number of worker nodes in the node group. Changing this resizes the node group if enable_autoscale is false.
    preemptible boolean
    Enables or disables the use of preemptible nodes for the node group. Boolean flag, the default value is false. Learn more about Preemptible node groups.
    projectId string
    Unique identifier of the associated project. Changing this creates a new node group. Retrieved from the selectel.VpcProjectV2 resource. Learn more about Projects.
    ramMb number
    Amount of RAM in MB for each node. Can be skipped only when flavor_id is set. Changing this creates a new node group. Learn more about Configurations.
    region string
    Pool where the cluster is located, for example, ru-7. Changing this creates a new node group. Learn more about available pools in the Availability matrix.
    status string
    taints MksNodegroupV1Taint[]
    List of Kubernetes taints applied to each node in the node group. Contains a key-value pair and an effect applied for the taint. Available effects are NoSchedule, PreferNoSchedule, and NoExecute. Learn more about Taints.
    timeouts MksNodegroupV1Timeouts
    userData string
    Base64-encoded script that worker nodes run on the first boot. Changing this creates a new node group. Learn more about User data.
    volumeGb number
    Volume size in GB for each node. Can be skipped only when flavor_id is set and local_volume is true. Changing this creates a new node group. Learn more about Configurations.
    volumeType string
    Type of an OpenStack Block Storage volume for each node. Can be skipped only when flavor_id is set and the flavor properties contain additional specifications for a local volume. Changing this creates a new node group. Available volume types are fast, basic, and universal. The format is <volume_type>.<availability_zone>. Learn more about Network volumes.
    affinity_policy str
    Specifies affinity policy of the nodes. Changing this creates a new node group. Available values are soft-anti-affinity and soft-affinity. The default value is soft-anti-affinity. For more information about affinity and anti-affinity, see the official Kubernetes documentation.
    autoscale_max_nodes float
    autoscale_min_nodes float
    availability_zone str
    Pool segment where all nodes of the node group are located. Changing this creates a new node group. Learn more about available pool segments in the Availability matrix.
    cluster_id str
    Unique identifier of the associated Managed Kubernetes cluster. Changing this creates a new node group. Retrieved from the selectel.MksClusterV1 resource.
    cpus float
    Number of vCPUs for each node. Can be skipped only when flavor_id is set. Changing this creates a new node group. Learn more about Configurations.
    enable_autoscale bool
    Enables or disables autoscaling of the node group. Boolean flag, the default value is false. autoscale_min_nodes and autoscale_max_nodes must be specified. Learn more about Autoscaling.
    flavor_id str
    Unique identifier of an OpenStack flavor for all nodes in the node group. Changing this creates a new node group. Learn more about Flavors.
    install_nvidia_device_plugin bool
    Enables or disables installation of the NVIDIA Device Plugin and GPU drivers.
    Boolean flag:
    keypair_name str
    Name of the SSH key added to all nodes. Changing this creates a new node group.
    labels Mapping[str, str]
    List of Kubernetes labels applied to each node in the node group.
    local_volume bool
    Specifies if nodes use a local volume. Cannot be used with the flavors that have specifications for a local volume. Changing this creates a new node group. Boolean flag, the default value is false.
    mks_nodegroup_v1_id str
    nodegroup_type str
    Type of the node group. Available values are STANDARD and GPU.
    nodes Sequence[MksNodegroupV1NodeArgs]
    List of nodes in the node group.
    nodes_count float
    Number of worker nodes in the node group. Changing this resizes the node group if enable_autoscale is false.
    preemptible bool
    Enables or disables the use of preemptible nodes for the node group. Boolean flag, the default value is false. Learn more about Preemptible node groups.
    project_id str
    Unique identifier of the associated project. Changing this creates a new node group. Retrieved from the selectel.VpcProjectV2 resource. Learn more about Projects.
    ram_mb float
    Amount of RAM in MB for each node. Can be skipped only when flavor_id is set. Changing this creates a new node group. Learn more about Configurations.
    region str
    Pool where the cluster is located, for example, ru-7. Changing this creates a new node group. Learn more about available pools in the Availability matrix.
    status str
    taints Sequence[MksNodegroupV1TaintArgs]
    List of Kubernetes taints applied to each node in the node group. Contains a key-value pair and an effect applied for the taint. Available effects are NoSchedule, PreferNoSchedule, and NoExecute. Learn more about Taints.
    timeouts MksNodegroupV1TimeoutsArgs
    user_data str
    Base64-encoded script that worker nodes run on the first boot. Changing this creates a new node group. Learn more about User data.
    volume_gb float
    Volume size in GB for each node. Can be skipped only when flavor_id is set and local_volume is true. Changing this creates a new node group. Learn more about Configurations.
    volume_type str
    Type of an OpenStack Block Storage volume for each node. Can be skipped only when flavor_id is set and the flavor properties contain additional specifications for a local volume. Changing this creates a new node group. Available volume types are fast, basic, and universal. The format is <volume_type>.<availability_zone>. Learn more about Network volumes.
    affinityPolicy String
    Specifies affinity policy of the nodes. Changing this creates a new node group. Available values are soft-anti-affinity and soft-affinity. The default value is soft-anti-affinity. For more information about affinity and anti-affinity, see the official Kubernetes documentation.
    autoscaleMaxNodes Number
    autoscaleMinNodes Number
    availabilityZone String
    Pool segment where all nodes of the node group are located. Changing this creates a new node group. Learn more about available pool segments in the Availability matrix.
    clusterId String
    Unique identifier of the associated Managed Kubernetes cluster. Changing this creates a new node group. Retrieved from the selectel.MksClusterV1 resource.
    cpus Number
    Number of vCPUs for each node. Can be skipped only when flavor_id is set. Changing this creates a new node group. Learn more about Configurations.
    enableAutoscale Boolean
    Enables or disables autoscaling of the node group. Boolean flag, the default value is false. autoscale_min_nodes and autoscale_max_nodes must be specified. Learn more about Autoscaling.
    flavorId String
    Unique identifier of an OpenStack flavor for all nodes in the node group. Changing this creates a new node group. Learn more about Flavors.
    installNvidiaDevicePlugin Boolean
    Enables or disables installation of the NVIDIA Device Plugin and GPU drivers.
    Boolean flag:
    keypairName String
    Name of the SSH key added to all nodes. Changing this creates a new node group.
    labels Map<String>
    List of Kubernetes labels applied to each node in the node group.
    localVolume Boolean
    Specifies if nodes use a local volume. Cannot be used with the flavors that have specifications for a local volume. Changing this creates a new node group. Boolean flag, the default value is false.
    mksNodegroupV1Id String
    nodegroupType String
    Type of the node group. Available values are STANDARD and GPU.
    nodes List<Property Map>
    List of nodes in the node group.
    nodesCount Number
    Number of worker nodes in the node group. Changing this resizes the node group if enable_autoscale is false.
    preemptible Boolean
    Enables or disables the use of preemptible nodes for the node group. Boolean flag, the default value is false. Learn more about Preemptible node groups.
    projectId String
    Unique identifier of the associated project. Changing this creates a new node group. Retrieved from the selectel.VpcProjectV2 resource. Learn more about Projects.
    ramMb Number
    Amount of RAM in MB for each node. Can be skipped only when flavor_id is set. Changing this creates a new node group. Learn more about Configurations.
    region String
    Pool where the cluster is located, for example, ru-7. Changing this creates a new node group. Learn more about available pools in the Availability matrix.
    status String
    taints List<Property Map>
    List of Kubernetes taints applied to each node in the node group. Contains a key-value pair and an effect applied for the taint. Available effects are NoSchedule, PreferNoSchedule, and NoExecute. Learn more about Taints.
    timeouts Property Map
    userData String
    Base64-encoded script that worker nodes run on the first boot. Changing this creates a new node group. Learn more about User data.
    volumeGb Number
    Volume size in GB for each node. Can be skipped only when flavor_id is set and local_volume is true. Changing this creates a new node group. Learn more about Configurations.
    volumeType String
    Type of an OpenStack Block Storage volume for each node. Can be skipped only when flavor_id is set and the flavor properties contain additional specifications for a local volume. Changing this creates a new node group. Available volume types are fast, basic, and universal. The format is <volume_type>.<availability_zone>. Learn more about Network volumes.

    Supporting Types

    MksNodegroupV1Node, MksNodegroupV1NodeArgs

    Hostname string
    Id string
    Ip string
    Hostname string
    Id string
    Ip string
    hostname String
    id String
    ip String
    hostname string
    id string
    ip string
    hostname str
    id str
    ip str
    hostname String
    id String
    ip String

    MksNodegroupV1Taint, MksNodegroupV1TaintArgs

    Effect string
    Key string
    Value string
    Effect string
    Key string
    Value string
    effect String
    key String
    value String
    effect string
    key string
    value string
    effect str
    key str
    value str
    effect String
    key String
    value String

    MksNodegroupV1Timeouts, MksNodegroupV1TimeoutsArgs

    Create string
    Delete string
    Update string
    Create string
    Delete string
    Update string
    create String
    delete String
    update String
    create string
    delete string
    update string
    create str
    delete str
    update str
    create String
    delete String
    update String

    Import

    You can import a node group:

    export OS_DOMAIN_NAME=<account_id>

    export OS_USERNAME=

    export OS_PASSWORD=

    export INFRA_PROJECT_ID=<selectel_project_id>

    export INFRA_REGION=<selectel_pool>

    $ pulumi import selectel:index/mksNodegroupV1:MksNodegroupV1 nodegroup_1 <cluster_id>/<nodegroup_id>
    

    where:

    • <account_id> — Selectel account ID. The account ID is in the top right corner of the Control panel. Learn more about Registration.

    • <username> — Name of the service user. To get the name, in the Control panel, go to Identity & Access ManagementUser management ⟶ the Service users tab ⟶ copy the name of the required user. Learn more about Service users.

    • <password> — Password of the service user.

    • <selectel_project_id> — Unique identifier of the associated project. To get the ID, in the Control panel, go to Cloud Platform ⟶ project name ⟶ copy the ID of the required project. Learn more about Projects.

    • <selectel_pool> — Pool where the cluster is located, for example, ru-7. To get information about the pool, in the Control panel, go to Cloud PlatformKubernetes. The pool is in the Pool column.

    • <cluster_id> — Unique identifier of the cluster, for example, b311ce58-2658-46b5-b733-7a0f418703f2. To get the cluster ID, in the Control panel, go to Cloud PlatformKubernetes ⟶ the cluster page ⟶ copy the ID at the top of the page under the cluster name, near the region and pool.

    • <nodegroup_id> — Unique identifier of the node group, for example, 63ed5342-b22c-4c7a-9d41-c1fe4a142c13. To get the node group ID, in the Control panel, go to Cloud PlatformKubernetes. Click the required cluster. The node group ID is at the top of the node group card, near the pool.

    To learn more about importing existing cloud resources, see Importing resources.

    Package Details

    Repository
    selectel selectel/terraform-provider-selectel
    License
    Notes
    This Pulumi package is based on the selectel Terraform Provider.
    selectel logo
    selectel 6.4.0 published on Monday, Apr 14, 2025 by selectel