1. Packages
  2. Yandex
  3. API Docs
  4. KubernetesNodeGroup
Yandex v0.13.0 published on Tuesday, Feb 22, 2022 by Pulumi

yandex.KubernetesNodeGroup

Explore with Pulumi AI

Creates a Yandex Kubernetes Node Group.

Example Usage

using Pulumi;
using Yandex = Pulumi.Yandex;

class MyStack : Stack
{
    public MyStack()
    {
        var myNodeGroup = new Yandex.KubernetesNodeGroup("myNodeGroup", new Yandex.KubernetesNodeGroupArgs
        {
            AllocationPolicy = new Yandex.Inputs.KubernetesNodeGroupAllocationPolicyArgs
            {
                Locations = 
                {
                    new Yandex.Inputs.KubernetesNodeGroupAllocationPolicyLocationArgs
                    {
                        Zone = "ru-central1-a",
                    },
                },
            },
            ClusterId = yandex_kubernetes_cluster.My_cluster.Id,
            Description = "description",
            InstanceTemplate = new Yandex.Inputs.KubernetesNodeGroupInstanceTemplateArgs
            {
                BootDisk = new Yandex.Inputs.KubernetesNodeGroupInstanceTemplateBootDiskArgs
                {
                    Size = 64,
                    Type = "network-hdd",
                },
                ContainerRuntime = new Yandex.Inputs.KubernetesNodeGroupInstanceTemplateContainerRuntimeArgs
                {
                    Type = "containerd",
                },
                NetworkInterfaces = 
                {
                    new Yandex.Inputs.KubernetesNodeGroupInstanceTemplateNetworkInterfaceArgs
                    {
                        Nat = true,
                        SubnetIds = 
                        {
                            yandex_vpc_subnet.My_subnet.Id,
                        },
                    },
                },
                PlatformId = "standard-v2",
                Resources = new Yandex.Inputs.KubernetesNodeGroupInstanceTemplateResourcesArgs
                {
                    Cores = 2,
                    Memory = 2,
                },
                SchedulingPolicy = new Yandex.Inputs.KubernetesNodeGroupInstanceTemplateSchedulingPolicyArgs
                {
                    Preemptible = false,
                },
            },
            Labels = 
            {
                { "key", "value" },
            },
            MaintenancePolicy = new Yandex.Inputs.KubernetesNodeGroupMaintenancePolicyArgs
            {
                AutoRepair = true,
                AutoUpgrade = true,
                MaintenanceWindows = 
                {
                    new Yandex.Inputs.KubernetesNodeGroupMaintenancePolicyMaintenanceWindowArgs
                    {
                        Day = "monday",
                        Duration = "3h",
                        StartTime = "15:00",
                    },
                    new Yandex.Inputs.KubernetesNodeGroupMaintenancePolicyMaintenanceWindowArgs
                    {
                        Day = "friday",
                        Duration = "4h30m",
                        StartTime = "10:00",
                    },
                },
            },
            ScalePolicy = new Yandex.Inputs.KubernetesNodeGroupScalePolicyArgs
            {
                FixedScale = new Yandex.Inputs.KubernetesNodeGroupScalePolicyFixedScaleArgs
                {
                    Size = 1,
                },
            },
            Version = "1.17",
        });
    }

}
Copy
package main

import (
	"github.com/pulumi/pulumi-yandex/sdk/go/yandex"
	"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
)

func main() {
	pulumi.Run(func(ctx *pulumi.Context) error {
		_, err := yandex.NewKubernetesNodeGroup(ctx, "myNodeGroup", &yandex.KubernetesNodeGroupArgs{
			AllocationPolicy: &KubernetesNodeGroupAllocationPolicyArgs{
				Locations: KubernetesNodeGroupAllocationPolicyLocationArray{
					&KubernetesNodeGroupAllocationPolicyLocationArgs{
						Zone: pulumi.String("ru-central1-a"),
					},
				},
			},
			ClusterId:   pulumi.Any(yandex_kubernetes_cluster.My_cluster.Id),
			Description: pulumi.String("description"),
			InstanceTemplate: &KubernetesNodeGroupInstanceTemplateArgs{
				BootDisk: &KubernetesNodeGroupInstanceTemplateBootDiskArgs{
					Size: pulumi.Int(64),
					Type: pulumi.String("network-hdd"),
				},
				ContainerRuntime: &KubernetesNodeGroupInstanceTemplateContainerRuntimeArgs{
					Type: pulumi.String("containerd"),
				},
				NetworkInterfaces: KubernetesNodeGroupInstanceTemplateNetworkInterfaceArray{
					&KubernetesNodeGroupInstanceTemplateNetworkInterfaceArgs{
						Nat: pulumi.Bool(true),
						SubnetIds: pulumi.StringArray{
							pulumi.Any(yandex_vpc_subnet.My_subnet.Id),
						},
					},
				},
				PlatformId: pulumi.String("standard-v2"),
				Resources: &KubernetesNodeGroupInstanceTemplateResourcesArgs{
					Cores:  pulumi.Int(2),
					Memory: pulumi.Float64(2),
				},
				SchedulingPolicy: &KubernetesNodeGroupInstanceTemplateSchedulingPolicyArgs{
					Preemptible: pulumi.Bool(false),
				},
			},
			Labels: pulumi.StringMap{
				"key": pulumi.String("value"),
			},
			MaintenancePolicy: &KubernetesNodeGroupMaintenancePolicyArgs{
				AutoRepair:  pulumi.Bool(true),
				AutoUpgrade: pulumi.Bool(true),
				MaintenanceWindows: KubernetesNodeGroupMaintenancePolicyMaintenanceWindowArray{
					&KubernetesNodeGroupMaintenancePolicyMaintenanceWindowArgs{
						Day:       pulumi.String("monday"),
						Duration:  pulumi.String("3h"),
						StartTime: pulumi.String("15:00"),
					},
					&KubernetesNodeGroupMaintenancePolicyMaintenanceWindowArgs{
						Day:       pulumi.String("friday"),
						Duration:  pulumi.String("4h30m"),
						StartTime: pulumi.String("10:00"),
					},
				},
			},
			ScalePolicy: &KubernetesNodeGroupScalePolicyArgs{
				FixedScale: &KubernetesNodeGroupScalePolicyFixedScaleArgs{
					Size: pulumi.Int(1),
				},
			},
			Version: pulumi.String("1.17"),
		})
		if err != nil {
			return err
		}
		return nil
	})
}
Copy

Coming soon!

import * as pulumi from "@pulumi/pulumi";
import * as yandex from "@pulumi/yandex";

const myNodeGroup = new yandex.KubernetesNodeGroup("my_node_group", {
    allocationPolicy: {
        locations: [{
            zone: "ru-central1-a",
        }],
    },
    clusterId: yandex_kubernetes_cluster_my_cluster.id,
    description: "description",
    instanceTemplate: {
        bootDisk: {
            size: 64,
            type: "network-hdd",
        },
        containerRuntime: {
            type: "containerd",
        },
        networkInterfaces: [{
            nat: true,
            subnetIds: [yandex_vpc_subnet_my_subnet.id],
        }],
        platformId: "standard-v2",
        resources: {
            cores: 2,
            memory: 2,
        },
        schedulingPolicy: {
            preemptible: false,
        },
    },
    labels: {
        key: "value",
    },
    maintenancePolicy: {
        autoRepair: true,
        autoUpgrade: true,
        maintenanceWindows: [
            {
                day: "monday",
                duration: "3h",
                startTime: "15:00",
            },
            {
                day: "friday",
                duration: "4h30m",
                startTime: "10:00",
            },
        ],
    },
    scalePolicy: {
        fixedScale: {
            size: 1,
        },
    },
    version: "1.17",
});
Copy
import pulumi
import pulumi_yandex as yandex

my_node_group = yandex.KubernetesNodeGroup("myNodeGroup",
    allocation_policy=yandex.KubernetesNodeGroupAllocationPolicyArgs(
        locations=[yandex.KubernetesNodeGroupAllocationPolicyLocationArgs(
            zone="ru-central1-a",
        )],
    ),
    cluster_id=yandex_kubernetes_cluster["my_cluster"]["id"],
    description="description",
    instance_template=yandex.KubernetesNodeGroupInstanceTemplateArgs(
        boot_disk=yandex.KubernetesNodeGroupInstanceTemplateBootDiskArgs(
            size=64,
            type="network-hdd",
        ),
        container_runtime=yandex.KubernetesNodeGroupInstanceTemplateContainerRuntimeArgs(
            type="containerd",
        ),
        network_interfaces=[yandex.KubernetesNodeGroupInstanceTemplateNetworkInterfaceArgs(
            nat=True,
            subnet_ids=[yandex_vpc_subnet["my_subnet"]["id"]],
        )],
        platform_id="standard-v2",
        resources=yandex.KubernetesNodeGroupInstanceTemplateResourcesArgs(
            cores=2,
            memory=2,
        ),
        scheduling_policy=yandex.KubernetesNodeGroupInstanceTemplateSchedulingPolicyArgs(
            preemptible=False,
        ),
    ),
    labels={
        "key": "value",
    },
    maintenance_policy=yandex.KubernetesNodeGroupMaintenancePolicyArgs(
        auto_repair=True,
        auto_upgrade=True,
        maintenance_windows=[
            yandex.KubernetesNodeGroupMaintenancePolicyMaintenanceWindowArgs(
                day="monday",
                duration="3h",
                start_time="15:00",
            ),
            yandex.KubernetesNodeGroupMaintenancePolicyMaintenanceWindowArgs(
                day="friday",
                duration="4h30m",
                start_time="10:00",
            ),
        ],
    ),
    scale_policy=yandex.KubernetesNodeGroupScalePolicyArgs(
        fixed_scale=yandex.KubernetesNodeGroupScalePolicyFixedScaleArgs(
            size=1,
        ),
    ),
    version="1.17")
Copy

Coming soon!

Create KubernetesNodeGroup Resource

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

Constructor syntax

new KubernetesNodeGroup(name: string, args: KubernetesNodeGroupArgs, opts?: CustomResourceOptions);
@overload
def KubernetesNodeGroup(resource_name: str,
                        args: KubernetesNodeGroupArgs,
                        opts: Optional[ResourceOptions] = None)

@overload
def KubernetesNodeGroup(resource_name: str,
                        opts: Optional[ResourceOptions] = None,
                        instance_template: Optional[KubernetesNodeGroupInstanceTemplateArgs] = None,
                        scale_policy: Optional[KubernetesNodeGroupScalePolicyArgs] = None,
                        cluster_id: Optional[str] = None,
                        labels: Optional[Mapping[str, str]] = None,
                        description: Optional[str] = None,
                        deploy_policy: Optional[KubernetesNodeGroupDeployPolicyArgs] = None,
                        allocation_policy: Optional[KubernetesNodeGroupAllocationPolicyArgs] = None,
                        maintenance_policy: Optional[KubernetesNodeGroupMaintenancePolicyArgs] = None,
                        name: Optional[str] = None,
                        node_labels: Optional[Mapping[str, str]] = None,
                        node_taints: Optional[Sequence[str]] = None,
                        allowed_unsafe_sysctls: Optional[Sequence[str]] = None,
                        version: Optional[str] = None)
func NewKubernetesNodeGroup(ctx *Context, name string, args KubernetesNodeGroupArgs, opts ...ResourceOption) (*KubernetesNodeGroup, error)
public KubernetesNodeGroup(string name, KubernetesNodeGroupArgs args, CustomResourceOptions? opts = null)
public KubernetesNodeGroup(String name, KubernetesNodeGroupArgs args)
public KubernetesNodeGroup(String name, KubernetesNodeGroupArgs args, CustomResourceOptions options)
type: yandex:KubernetesNodeGroup
properties: # The arguments to resource properties.
options: # Bag of options to control resource's behavior.

Parameters

name This property is required. string
The unique name of the resource.
args This property is required. KubernetesNodeGroupArgs
The arguments to resource properties.
opts CustomResourceOptions
Bag of options to control resource's behavior.
resource_name This property is required. str
The unique name of the resource.
args This property is required. KubernetesNodeGroupArgs
The arguments to resource properties.
opts ResourceOptions
Bag of options to control resource's behavior.
ctx Context
Context object for the current deployment.
name This property is required. string
The unique name of the resource.
args This property is required. KubernetesNodeGroupArgs
The arguments to resource properties.
opts ResourceOption
Bag of options to control resource's behavior.
name This property is required. string
The unique name of the resource.
args This property is required. KubernetesNodeGroupArgs
The arguments to resource properties.
opts CustomResourceOptions
Bag of options to control resource's behavior.
name This property is required. String
The unique name of the resource.
args This property is required. KubernetesNodeGroupArgs
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 kubernetesNodeGroupResource = new Yandex.KubernetesNodeGroup("kubernetesNodeGroupResource", new()
{
    InstanceTemplate = new Yandex.Inputs.KubernetesNodeGroupInstanceTemplateArgs
    {
        BootDisk = new Yandex.Inputs.KubernetesNodeGroupInstanceTemplateBootDiskArgs
        {
            Size = 0,
            Type = "string",
        },
        ContainerRuntime = new Yandex.Inputs.KubernetesNodeGroupInstanceTemplateContainerRuntimeArgs
        {
            Type = "string",
        },
        Metadata = 
        {
            { "string", "string" },
        },
        NetworkAccelerationType = "string",
        NetworkInterfaces = new[]
        {
            new Yandex.Inputs.KubernetesNodeGroupInstanceTemplateNetworkInterfaceArgs
            {
                SubnetIds = new[]
                {
                    "string",
                },
                Ipv4 = false,
                Ipv6 = false,
                Nat = false,
                SecurityGroupIds = new[]
                {
                    "string",
                },
            },
        },
        PlacementPolicy = new Yandex.Inputs.KubernetesNodeGroupInstanceTemplatePlacementPolicyArgs
        {
            PlacementGroupId = "string",
        },
        PlatformId = "string",
        Resources = new Yandex.Inputs.KubernetesNodeGroupInstanceTemplateResourcesArgs
        {
            CoreFraction = 0,
            Cores = 0,
            Gpus = 0,
            Memory = 0,
        },
        SchedulingPolicy = new Yandex.Inputs.KubernetesNodeGroupInstanceTemplateSchedulingPolicyArgs
        {
            Preemptible = false,
        },
    },
    ScalePolicy = new Yandex.Inputs.KubernetesNodeGroupScalePolicyArgs
    {
        AutoScale = new Yandex.Inputs.KubernetesNodeGroupScalePolicyAutoScaleArgs
        {
            Initial = 0,
            Max = 0,
            Min = 0,
        },
        FixedScale = new Yandex.Inputs.KubernetesNodeGroupScalePolicyFixedScaleArgs
        {
            Size = 0,
        },
    },
    ClusterId = "string",
    Labels = 
    {
        { "string", "string" },
    },
    Description = "string",
    DeployPolicy = new Yandex.Inputs.KubernetesNodeGroupDeployPolicyArgs
    {
        MaxExpansion = 0,
        MaxUnavailable = 0,
    },
    AllocationPolicy = new Yandex.Inputs.KubernetesNodeGroupAllocationPolicyArgs
    {
        Locations = new[]
        {
            new Yandex.Inputs.KubernetesNodeGroupAllocationPolicyLocationArgs
            {
                Zone = "string",
            },
        },
    },
    MaintenancePolicy = new Yandex.Inputs.KubernetesNodeGroupMaintenancePolicyArgs
    {
        AutoRepair = false,
        AutoUpgrade = false,
        MaintenanceWindows = new[]
        {
            new Yandex.Inputs.KubernetesNodeGroupMaintenancePolicyMaintenanceWindowArgs
            {
                Duration = "string",
                StartTime = "string",
                Day = "string",
            },
        },
    },
    Name = "string",
    NodeLabels = 
    {
        { "string", "string" },
    },
    NodeTaints = new[]
    {
        "string",
    },
    AllowedUnsafeSysctls = new[]
    {
        "string",
    },
    Version = "string",
});
Copy
example, err := yandex.NewKubernetesNodeGroup(ctx, "kubernetesNodeGroupResource", &yandex.KubernetesNodeGroupArgs{
	InstanceTemplate: &yandex.KubernetesNodeGroupInstanceTemplateArgs{
		BootDisk: &yandex.KubernetesNodeGroupInstanceTemplateBootDiskArgs{
			Size: pulumi.Int(0),
			Type: pulumi.String("string"),
		},
		ContainerRuntime: &yandex.KubernetesNodeGroupInstanceTemplateContainerRuntimeArgs{
			Type: pulumi.String("string"),
		},
		Metadata: pulumi.StringMap{
			"string": pulumi.String("string"),
		},
		NetworkAccelerationType: pulumi.String("string"),
		NetworkInterfaces: yandex.KubernetesNodeGroupInstanceTemplateNetworkInterfaceArray{
			&yandex.KubernetesNodeGroupInstanceTemplateNetworkInterfaceArgs{
				SubnetIds: pulumi.StringArray{
					pulumi.String("string"),
				},
				Ipv4: pulumi.Bool(false),
				Ipv6: pulumi.Bool(false),
				Nat:  pulumi.Bool(false),
				SecurityGroupIds: pulumi.StringArray{
					pulumi.String("string"),
				},
			},
		},
		PlacementPolicy: &yandex.KubernetesNodeGroupInstanceTemplatePlacementPolicyArgs{
			PlacementGroupId: pulumi.String("string"),
		},
		PlatformId: pulumi.String("string"),
		Resources: &yandex.KubernetesNodeGroupInstanceTemplateResourcesArgs{
			CoreFraction: pulumi.Int(0),
			Cores:        pulumi.Int(0),
			Gpus:         pulumi.Int(0),
			Memory:       pulumi.Float64(0),
		},
		SchedulingPolicy: &yandex.KubernetesNodeGroupInstanceTemplateSchedulingPolicyArgs{
			Preemptible: pulumi.Bool(false),
		},
	},
	ScalePolicy: &yandex.KubernetesNodeGroupScalePolicyArgs{
		AutoScale: &yandex.KubernetesNodeGroupScalePolicyAutoScaleArgs{
			Initial: pulumi.Int(0),
			Max:     pulumi.Int(0),
			Min:     pulumi.Int(0),
		},
		FixedScale: &yandex.KubernetesNodeGroupScalePolicyFixedScaleArgs{
			Size: pulumi.Int(0),
		},
	},
	ClusterId: pulumi.String("string"),
	Labels: pulumi.StringMap{
		"string": pulumi.String("string"),
	},
	Description: pulumi.String("string"),
	DeployPolicy: &yandex.KubernetesNodeGroupDeployPolicyArgs{
		MaxExpansion:   pulumi.Int(0),
		MaxUnavailable: pulumi.Int(0),
	},
	AllocationPolicy: &yandex.KubernetesNodeGroupAllocationPolicyArgs{
		Locations: yandex.KubernetesNodeGroupAllocationPolicyLocationArray{
			&yandex.KubernetesNodeGroupAllocationPolicyLocationArgs{
				Zone: pulumi.String("string"),
			},
		},
	},
	MaintenancePolicy: &yandex.KubernetesNodeGroupMaintenancePolicyArgs{
		AutoRepair:  pulumi.Bool(false),
		AutoUpgrade: pulumi.Bool(false),
		MaintenanceWindows: yandex.KubernetesNodeGroupMaintenancePolicyMaintenanceWindowArray{
			&yandex.KubernetesNodeGroupMaintenancePolicyMaintenanceWindowArgs{
				Duration:  pulumi.String("string"),
				StartTime: pulumi.String("string"),
				Day:       pulumi.String("string"),
			},
		},
	},
	Name: pulumi.String("string"),
	NodeLabels: pulumi.StringMap{
		"string": pulumi.String("string"),
	},
	NodeTaints: pulumi.StringArray{
		pulumi.String("string"),
	},
	AllowedUnsafeSysctls: pulumi.StringArray{
		pulumi.String("string"),
	},
	Version: pulumi.String("string"),
})
Copy
var kubernetesNodeGroupResource = new KubernetesNodeGroup("kubernetesNodeGroupResource", KubernetesNodeGroupArgs.builder()
    .instanceTemplate(KubernetesNodeGroupInstanceTemplateArgs.builder()
        .bootDisk(KubernetesNodeGroupInstanceTemplateBootDiskArgs.builder()
            .size(0)
            .type("string")
            .build())
        .containerRuntime(KubernetesNodeGroupInstanceTemplateContainerRuntimeArgs.builder()
            .type("string")
            .build())
        .metadata(Map.of("string", "string"))
        .networkAccelerationType("string")
        .networkInterfaces(KubernetesNodeGroupInstanceTemplateNetworkInterfaceArgs.builder()
            .subnetIds("string")
            .ipv4(false)
            .ipv6(false)
            .nat(false)
            .securityGroupIds("string")
            .build())
        .placementPolicy(KubernetesNodeGroupInstanceTemplatePlacementPolicyArgs.builder()
            .placementGroupId("string")
            .build())
        .platformId("string")
        .resources(KubernetesNodeGroupInstanceTemplateResourcesArgs.builder()
            .coreFraction(0)
            .cores(0)
            .gpus(0)
            .memory(0)
            .build())
        .schedulingPolicy(KubernetesNodeGroupInstanceTemplateSchedulingPolicyArgs.builder()
            .preemptible(false)
            .build())
        .build())
    .scalePolicy(KubernetesNodeGroupScalePolicyArgs.builder()
        .autoScale(KubernetesNodeGroupScalePolicyAutoScaleArgs.builder()
            .initial(0)
            .max(0)
            .min(0)
            .build())
        .fixedScale(KubernetesNodeGroupScalePolicyFixedScaleArgs.builder()
            .size(0)
            .build())
        .build())
    .clusterId("string")
    .labels(Map.of("string", "string"))
    .description("string")
    .deployPolicy(KubernetesNodeGroupDeployPolicyArgs.builder()
        .maxExpansion(0)
        .maxUnavailable(0)
        .build())
    .allocationPolicy(KubernetesNodeGroupAllocationPolicyArgs.builder()
        .locations(KubernetesNodeGroupAllocationPolicyLocationArgs.builder()
            .zone("string")
            .build())
        .build())
    .maintenancePolicy(KubernetesNodeGroupMaintenancePolicyArgs.builder()
        .autoRepair(false)
        .autoUpgrade(false)
        .maintenanceWindows(KubernetesNodeGroupMaintenancePolicyMaintenanceWindowArgs.builder()
            .duration("string")
            .startTime("string")
            .day("string")
            .build())
        .build())
    .name("string")
    .nodeLabels(Map.of("string", "string"))
    .nodeTaints("string")
    .allowedUnsafeSysctls("string")
    .version("string")
    .build());
Copy
kubernetes_node_group_resource = yandex.KubernetesNodeGroup("kubernetesNodeGroupResource",
    instance_template={
        "boot_disk": {
            "size": 0,
            "type": "string",
        },
        "container_runtime": {
            "type": "string",
        },
        "metadata": {
            "string": "string",
        },
        "network_acceleration_type": "string",
        "network_interfaces": [{
            "subnet_ids": ["string"],
            "ipv4": False,
            "ipv6": False,
            "nat": False,
            "security_group_ids": ["string"],
        }],
        "placement_policy": {
            "placement_group_id": "string",
        },
        "platform_id": "string",
        "resources": {
            "core_fraction": 0,
            "cores": 0,
            "gpus": 0,
            "memory": 0,
        },
        "scheduling_policy": {
            "preemptible": False,
        },
    },
    scale_policy={
        "auto_scale": {
            "initial": 0,
            "max": 0,
            "min": 0,
        },
        "fixed_scale": {
            "size": 0,
        },
    },
    cluster_id="string",
    labels={
        "string": "string",
    },
    description="string",
    deploy_policy={
        "max_expansion": 0,
        "max_unavailable": 0,
    },
    allocation_policy={
        "locations": [{
            "zone": "string",
        }],
    },
    maintenance_policy={
        "auto_repair": False,
        "auto_upgrade": False,
        "maintenance_windows": [{
            "duration": "string",
            "start_time": "string",
            "day": "string",
        }],
    },
    name="string",
    node_labels={
        "string": "string",
    },
    node_taints=["string"],
    allowed_unsafe_sysctls=["string"],
    version="string")
Copy
const kubernetesNodeGroupResource = new yandex.KubernetesNodeGroup("kubernetesNodeGroupResource", {
    instanceTemplate: {
        bootDisk: {
            size: 0,
            type: "string",
        },
        containerRuntime: {
            type: "string",
        },
        metadata: {
            string: "string",
        },
        networkAccelerationType: "string",
        networkInterfaces: [{
            subnetIds: ["string"],
            ipv4: false,
            ipv6: false,
            nat: false,
            securityGroupIds: ["string"],
        }],
        placementPolicy: {
            placementGroupId: "string",
        },
        platformId: "string",
        resources: {
            coreFraction: 0,
            cores: 0,
            gpus: 0,
            memory: 0,
        },
        schedulingPolicy: {
            preemptible: false,
        },
    },
    scalePolicy: {
        autoScale: {
            initial: 0,
            max: 0,
            min: 0,
        },
        fixedScale: {
            size: 0,
        },
    },
    clusterId: "string",
    labels: {
        string: "string",
    },
    description: "string",
    deployPolicy: {
        maxExpansion: 0,
        maxUnavailable: 0,
    },
    allocationPolicy: {
        locations: [{
            zone: "string",
        }],
    },
    maintenancePolicy: {
        autoRepair: false,
        autoUpgrade: false,
        maintenanceWindows: [{
            duration: "string",
            startTime: "string",
            day: "string",
        }],
    },
    name: "string",
    nodeLabels: {
        string: "string",
    },
    nodeTaints: ["string"],
    allowedUnsafeSysctls: ["string"],
    version: "string",
});
Copy
type: yandex:KubernetesNodeGroup
properties:
    allocationPolicy:
        locations:
            - zone: string
    allowedUnsafeSysctls:
        - string
    clusterId: string
    deployPolicy:
        maxExpansion: 0
        maxUnavailable: 0
    description: string
    instanceTemplate:
        bootDisk:
            size: 0
            type: string
        containerRuntime:
            type: string
        metadata:
            string: string
        networkAccelerationType: string
        networkInterfaces:
            - ipv4: false
              ipv6: false
              nat: false
              securityGroupIds:
                - string
              subnetIds:
                - string
        placementPolicy:
            placementGroupId: string
        platformId: string
        resources:
            coreFraction: 0
            cores: 0
            gpus: 0
            memory: 0
        schedulingPolicy:
            preemptible: false
    labels:
        string: string
    maintenancePolicy:
        autoRepair: false
        autoUpgrade: false
        maintenanceWindows:
            - day: string
              duration: string
              startTime: string
    name: string
    nodeLabels:
        string: string
    nodeTaints:
        - string
    scalePolicy:
        autoScale:
            initial: 0
            max: 0
            min: 0
        fixedScale:
            size: 0
    version: string
Copy

KubernetesNodeGroup 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 KubernetesNodeGroup resource accepts the following input properties:

ClusterId This property is required. string
The ID of the Kubernetes cluster that this node group belongs to.
InstanceTemplate This property is required. KubernetesNodeGroupInstanceTemplate
Template used to create compute instances in this Kubernetes node group. The structure is documented below.
ScalePolicy This property is required. KubernetesNodeGroupScalePolicy
Scale policy of the node group. The structure is documented below.
AllocationPolicy KubernetesNodeGroupAllocationPolicy
This argument specify subnets (zones), that will be used by node group compute instances. The structure is documented below.
AllowedUnsafeSysctls List<string>
A list of allowed unsafe sysctl parameters for this node group. For more details see documentation.
DeployPolicy KubernetesNodeGroupDeployPolicy
Deploy policy of the node group. The structure is documented below.
Description string
A description of the Kubernetes node group.
Labels Dictionary<string, string>
A set of key/value label pairs assigned to the Kubernetes node group.
MaintenancePolicy KubernetesNodeGroupMaintenancePolicy
(Computed) Maintenance policy for this Kubernetes node group. If policy is omitted, automatic revision upgrades are enabled and could happen at any time. Revision upgrades are performed only within the same minor version, e.g. 1.13. Minor version upgrades (e.g. 1.13->1.14) should be performed manually. The structure is documented below.
Name string
Name of a specific Kubernetes node group.
NodeLabels Dictionary<string, string>
A set of key/value label pairs, that are assigned to all the nodes of this Kubernetes node group.
NodeTaints List<string>
A list of Kubernetes taints, that are applied to all the nodes of this Kubernetes node group.
Version string
Version of Kubernetes that will be used for Kubernetes node group.
ClusterId This property is required. string
The ID of the Kubernetes cluster that this node group belongs to.
InstanceTemplate This property is required. KubernetesNodeGroupInstanceTemplateArgs
Template used to create compute instances in this Kubernetes node group. The structure is documented below.
ScalePolicy This property is required. KubernetesNodeGroupScalePolicyArgs
Scale policy of the node group. The structure is documented below.
AllocationPolicy KubernetesNodeGroupAllocationPolicyArgs
This argument specify subnets (zones), that will be used by node group compute instances. The structure is documented below.
AllowedUnsafeSysctls []string
A list of allowed unsafe sysctl parameters for this node group. For more details see documentation.
DeployPolicy KubernetesNodeGroupDeployPolicyArgs
Deploy policy of the node group. The structure is documented below.
Description string
A description of the Kubernetes node group.
Labels map[string]string
A set of key/value label pairs assigned to the Kubernetes node group.
MaintenancePolicy KubernetesNodeGroupMaintenancePolicyArgs
(Computed) Maintenance policy for this Kubernetes node group. If policy is omitted, automatic revision upgrades are enabled and could happen at any time. Revision upgrades are performed only within the same minor version, e.g. 1.13. Minor version upgrades (e.g. 1.13->1.14) should be performed manually. The structure is documented below.
Name string
Name of a specific Kubernetes node group.
NodeLabels map[string]string
A set of key/value label pairs, that are assigned to all the nodes of this Kubernetes node group.
NodeTaints []string
A list of Kubernetes taints, that are applied to all the nodes of this Kubernetes node group.
Version string
Version of Kubernetes that will be used for Kubernetes node group.
clusterId This property is required. String
The ID of the Kubernetes cluster that this node group belongs to.
instanceTemplate This property is required. KubernetesNodeGroupInstanceTemplate
Template used to create compute instances in this Kubernetes node group. The structure is documented below.
scalePolicy This property is required. KubernetesNodeGroupScalePolicy
Scale policy of the node group. The structure is documented below.
allocationPolicy KubernetesNodeGroupAllocationPolicy
This argument specify subnets (zones), that will be used by node group compute instances. The structure is documented below.
allowedUnsafeSysctls List<String>
A list of allowed unsafe sysctl parameters for this node group. For more details see documentation.
deployPolicy KubernetesNodeGroupDeployPolicy
Deploy policy of the node group. The structure is documented below.
description String
A description of the Kubernetes node group.
labels Map<String,String>
A set of key/value label pairs assigned to the Kubernetes node group.
maintenancePolicy KubernetesNodeGroupMaintenancePolicy
(Computed) Maintenance policy for this Kubernetes node group. If policy is omitted, automatic revision upgrades are enabled and could happen at any time. Revision upgrades are performed only within the same minor version, e.g. 1.13. Minor version upgrades (e.g. 1.13->1.14) should be performed manually. The structure is documented below.
name String
Name of a specific Kubernetes node group.
nodeLabels Map<String,String>
A set of key/value label pairs, that are assigned to all the nodes of this Kubernetes node group.
nodeTaints List<String>
A list of Kubernetes taints, that are applied to all the nodes of this Kubernetes node group.
version String
Version of Kubernetes that will be used for Kubernetes node group.
clusterId This property is required. string
The ID of the Kubernetes cluster that this node group belongs to.
instanceTemplate This property is required. KubernetesNodeGroupInstanceTemplate
Template used to create compute instances in this Kubernetes node group. The structure is documented below.
scalePolicy This property is required. KubernetesNodeGroupScalePolicy
Scale policy of the node group. The structure is documented below.
allocationPolicy KubernetesNodeGroupAllocationPolicy
This argument specify subnets (zones), that will be used by node group compute instances. The structure is documented below.
allowedUnsafeSysctls string[]
A list of allowed unsafe sysctl parameters for this node group. For more details see documentation.
deployPolicy KubernetesNodeGroupDeployPolicy
Deploy policy of the node group. The structure is documented below.
description string
A description of the Kubernetes node group.
labels {[key: string]: string}
A set of key/value label pairs assigned to the Kubernetes node group.
maintenancePolicy KubernetesNodeGroupMaintenancePolicy
(Computed) Maintenance policy for this Kubernetes node group. If policy is omitted, automatic revision upgrades are enabled and could happen at any time. Revision upgrades are performed only within the same minor version, e.g. 1.13. Minor version upgrades (e.g. 1.13->1.14) should be performed manually. The structure is documented below.
name string
Name of a specific Kubernetes node group.
nodeLabels {[key: string]: string}
A set of key/value label pairs, that are assigned to all the nodes of this Kubernetes node group.
nodeTaints string[]
A list of Kubernetes taints, that are applied to all the nodes of this Kubernetes node group.
version string
Version of Kubernetes that will be used for Kubernetes node group.
cluster_id This property is required. str
The ID of the Kubernetes cluster that this node group belongs to.
instance_template This property is required. KubernetesNodeGroupInstanceTemplateArgs
Template used to create compute instances in this Kubernetes node group. The structure is documented below.
scale_policy This property is required. KubernetesNodeGroupScalePolicyArgs
Scale policy of the node group. The structure is documented below.
allocation_policy KubernetesNodeGroupAllocationPolicyArgs
This argument specify subnets (zones), that will be used by node group compute instances. The structure is documented below.
allowed_unsafe_sysctls Sequence[str]
A list of allowed unsafe sysctl parameters for this node group. For more details see documentation.
deploy_policy KubernetesNodeGroupDeployPolicyArgs
Deploy policy of the node group. The structure is documented below.
description str
A description of the Kubernetes node group.
labels Mapping[str, str]
A set of key/value label pairs assigned to the Kubernetes node group.
maintenance_policy KubernetesNodeGroupMaintenancePolicyArgs
(Computed) Maintenance policy for this Kubernetes node group. If policy is omitted, automatic revision upgrades are enabled and could happen at any time. Revision upgrades are performed only within the same minor version, e.g. 1.13. Minor version upgrades (e.g. 1.13->1.14) should be performed manually. The structure is documented below.
name str
Name of a specific Kubernetes node group.
node_labels Mapping[str, str]
A set of key/value label pairs, that are assigned to all the nodes of this Kubernetes node group.
node_taints Sequence[str]
A list of Kubernetes taints, that are applied to all the nodes of this Kubernetes node group.
version str
Version of Kubernetes that will be used for Kubernetes node group.
clusterId This property is required. String
The ID of the Kubernetes cluster that this node group belongs to.
instanceTemplate This property is required. Property Map
Template used to create compute instances in this Kubernetes node group. The structure is documented below.
scalePolicy This property is required. Property Map
Scale policy of the node group. The structure is documented below.
allocationPolicy Property Map
This argument specify subnets (zones), that will be used by node group compute instances. The structure is documented below.
allowedUnsafeSysctls List<String>
A list of allowed unsafe sysctl parameters for this node group. For more details see documentation.
deployPolicy Property Map
Deploy policy of the node group. The structure is documented below.
description String
A description of the Kubernetes node group.
labels Map<String>
A set of key/value label pairs assigned to the Kubernetes node group.
maintenancePolicy Property Map
(Computed) Maintenance policy for this Kubernetes node group. If policy is omitted, automatic revision upgrades are enabled and could happen at any time. Revision upgrades are performed only within the same minor version, e.g. 1.13. Minor version upgrades (e.g. 1.13->1.14) should be performed manually. The structure is documented below.
name String
Name of a specific Kubernetes node group.
nodeLabels Map<String>
A set of key/value label pairs, that are assigned to all the nodes of this Kubernetes node group.
nodeTaints List<String>
A list of Kubernetes taints, that are applied to all the nodes of this Kubernetes node group.
version String
Version of Kubernetes that will be used for Kubernetes node group.

Outputs

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

CreatedAt string
(Computed) The Kubernetes node group creation timestamp.
Id string
The provider-assigned unique ID for this managed resource.
InstanceGroupId string
ID of instance group that is used to manage this Kubernetes node group.
Status string
(Computed) Status of the Kubernetes node group.
VersionInfos List<KubernetesNodeGroupVersionInfo>
Information about Kubernetes node group version. The structure is documented below.
CreatedAt string
(Computed) The Kubernetes node group creation timestamp.
Id string
The provider-assigned unique ID for this managed resource.
InstanceGroupId string
ID of instance group that is used to manage this Kubernetes node group.
Status string
(Computed) Status of the Kubernetes node group.
VersionInfos []KubernetesNodeGroupVersionInfo
Information about Kubernetes node group version. The structure is documented below.
createdAt String
(Computed) The Kubernetes node group creation timestamp.
id String
The provider-assigned unique ID for this managed resource.
instanceGroupId String
ID of instance group that is used to manage this Kubernetes node group.
status String
(Computed) Status of the Kubernetes node group.
versionInfos List<KubernetesNodeGroupVersionInfo>
Information about Kubernetes node group version. The structure is documented below.
createdAt string
(Computed) The Kubernetes node group creation timestamp.
id string
The provider-assigned unique ID for this managed resource.
instanceGroupId string
ID of instance group that is used to manage this Kubernetes node group.
status string
(Computed) Status of the Kubernetes node group.
versionInfos KubernetesNodeGroupVersionInfo[]
Information about Kubernetes node group version. The structure is documented below.
created_at str
(Computed) The Kubernetes node group creation timestamp.
id str
The provider-assigned unique ID for this managed resource.
instance_group_id str
ID of instance group that is used to manage this Kubernetes node group.
status str
(Computed) Status of the Kubernetes node group.
version_infos Sequence[KubernetesNodeGroupVersionInfo]
Information about Kubernetes node group version. The structure is documented below.
createdAt String
(Computed) The Kubernetes node group creation timestamp.
id String
The provider-assigned unique ID for this managed resource.
instanceGroupId String
ID of instance group that is used to manage this Kubernetes node group.
status String
(Computed) Status of the Kubernetes node group.
versionInfos List<Property Map>
Information about Kubernetes node group version. The structure is documented below.

Look up Existing KubernetesNodeGroup Resource

Get an existing KubernetesNodeGroup 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?: KubernetesNodeGroupState, opts?: CustomResourceOptions): KubernetesNodeGroup
@staticmethod
def get(resource_name: str,
        id: str,
        opts: Optional[ResourceOptions] = None,
        allocation_policy: Optional[KubernetesNodeGroupAllocationPolicyArgs] = None,
        allowed_unsafe_sysctls: Optional[Sequence[str]] = None,
        cluster_id: Optional[str] = None,
        created_at: Optional[str] = None,
        deploy_policy: Optional[KubernetesNodeGroupDeployPolicyArgs] = None,
        description: Optional[str] = None,
        instance_group_id: Optional[str] = None,
        instance_template: Optional[KubernetesNodeGroupInstanceTemplateArgs] = None,
        labels: Optional[Mapping[str, str]] = None,
        maintenance_policy: Optional[KubernetesNodeGroupMaintenancePolicyArgs] = None,
        name: Optional[str] = None,
        node_labels: Optional[Mapping[str, str]] = None,
        node_taints: Optional[Sequence[str]] = None,
        scale_policy: Optional[KubernetesNodeGroupScalePolicyArgs] = None,
        status: Optional[str] = None,
        version: Optional[str] = None,
        version_infos: Optional[Sequence[KubernetesNodeGroupVersionInfoArgs]] = None) -> KubernetesNodeGroup
func GetKubernetesNodeGroup(ctx *Context, name string, id IDInput, state *KubernetesNodeGroupState, opts ...ResourceOption) (*KubernetesNodeGroup, error)
public static KubernetesNodeGroup Get(string name, Input<string> id, KubernetesNodeGroupState? state, CustomResourceOptions? opts = null)
public static KubernetesNodeGroup get(String name, Output<String> id, KubernetesNodeGroupState state, CustomResourceOptions options)
resources:  _:    type: yandex:KubernetesNodeGroup    get:      id: ${id}
name This property is required.
The unique name of the resulting resource.
id This property is required.
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 This property is required.
The unique name of the resulting resource.
id This property is required.
The unique provider ID of the resource to lookup.
name This property is required.
The unique name of the resulting resource.
id This property is required.
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 This property is required.
The unique name of the resulting resource.
id This property is required.
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 This property is required.
The unique name of the resulting resource.
id This property is required.
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:
AllocationPolicy KubernetesNodeGroupAllocationPolicy
This argument specify subnets (zones), that will be used by node group compute instances. The structure is documented below.
AllowedUnsafeSysctls List<string>
A list of allowed unsafe sysctl parameters for this node group. For more details see documentation.
ClusterId string
The ID of the Kubernetes cluster that this node group belongs to.
CreatedAt string
(Computed) The Kubernetes node group creation timestamp.
DeployPolicy KubernetesNodeGroupDeployPolicy
Deploy policy of the node group. The structure is documented below.
Description string
A description of the Kubernetes node group.
InstanceGroupId string
ID of instance group that is used to manage this Kubernetes node group.
InstanceTemplate KubernetesNodeGroupInstanceTemplate
Template used to create compute instances in this Kubernetes node group. The structure is documented below.
Labels Dictionary<string, string>
A set of key/value label pairs assigned to the Kubernetes node group.
MaintenancePolicy KubernetesNodeGroupMaintenancePolicy
(Computed) Maintenance policy for this Kubernetes node group. If policy is omitted, automatic revision upgrades are enabled and could happen at any time. Revision upgrades are performed only within the same minor version, e.g. 1.13. Minor version upgrades (e.g. 1.13->1.14) should be performed manually. The structure is documented below.
Name string
Name of a specific Kubernetes node group.
NodeLabels Dictionary<string, string>
A set of key/value label pairs, that are assigned to all the nodes of this Kubernetes node group.
NodeTaints List<string>
A list of Kubernetes taints, that are applied to all the nodes of this Kubernetes node group.
ScalePolicy KubernetesNodeGroupScalePolicy
Scale policy of the node group. The structure is documented below.
Status string
(Computed) Status of the Kubernetes node group.
Version string
Version of Kubernetes that will be used for Kubernetes node group.
VersionInfos List<KubernetesNodeGroupVersionInfo>
Information about Kubernetes node group version. The structure is documented below.
AllocationPolicy KubernetesNodeGroupAllocationPolicyArgs
This argument specify subnets (zones), that will be used by node group compute instances. The structure is documented below.
AllowedUnsafeSysctls []string
A list of allowed unsafe sysctl parameters for this node group. For more details see documentation.
ClusterId string
The ID of the Kubernetes cluster that this node group belongs to.
CreatedAt string
(Computed) The Kubernetes node group creation timestamp.
DeployPolicy KubernetesNodeGroupDeployPolicyArgs
Deploy policy of the node group. The structure is documented below.
Description string
A description of the Kubernetes node group.
InstanceGroupId string
ID of instance group that is used to manage this Kubernetes node group.
InstanceTemplate KubernetesNodeGroupInstanceTemplateArgs
Template used to create compute instances in this Kubernetes node group. The structure is documented below.
Labels map[string]string
A set of key/value label pairs assigned to the Kubernetes node group.
MaintenancePolicy KubernetesNodeGroupMaintenancePolicyArgs
(Computed) Maintenance policy for this Kubernetes node group. If policy is omitted, automatic revision upgrades are enabled and could happen at any time. Revision upgrades are performed only within the same minor version, e.g. 1.13. Minor version upgrades (e.g. 1.13->1.14) should be performed manually. The structure is documented below.
Name string
Name of a specific Kubernetes node group.
NodeLabels map[string]string
A set of key/value label pairs, that are assigned to all the nodes of this Kubernetes node group.
NodeTaints []string
A list of Kubernetes taints, that are applied to all the nodes of this Kubernetes node group.
ScalePolicy KubernetesNodeGroupScalePolicyArgs
Scale policy of the node group. The structure is documented below.
Status string
(Computed) Status of the Kubernetes node group.
Version string
Version of Kubernetes that will be used for Kubernetes node group.
VersionInfos []KubernetesNodeGroupVersionInfoArgs
Information about Kubernetes node group version. The structure is documented below.
allocationPolicy KubernetesNodeGroupAllocationPolicy
This argument specify subnets (zones), that will be used by node group compute instances. The structure is documented below.
allowedUnsafeSysctls List<String>
A list of allowed unsafe sysctl parameters for this node group. For more details see documentation.
clusterId String
The ID of the Kubernetes cluster that this node group belongs to.
createdAt String
(Computed) The Kubernetes node group creation timestamp.
deployPolicy KubernetesNodeGroupDeployPolicy
Deploy policy of the node group. The structure is documented below.
description String
A description of the Kubernetes node group.
instanceGroupId String
ID of instance group that is used to manage this Kubernetes node group.
instanceTemplate KubernetesNodeGroupInstanceTemplate
Template used to create compute instances in this Kubernetes node group. The structure is documented below.
labels Map<String,String>
A set of key/value label pairs assigned to the Kubernetes node group.
maintenancePolicy KubernetesNodeGroupMaintenancePolicy
(Computed) Maintenance policy for this Kubernetes node group. If policy is omitted, automatic revision upgrades are enabled and could happen at any time. Revision upgrades are performed only within the same minor version, e.g. 1.13. Minor version upgrades (e.g. 1.13->1.14) should be performed manually. The structure is documented below.
name String
Name of a specific Kubernetes node group.
nodeLabels Map<String,String>
A set of key/value label pairs, that are assigned to all the nodes of this Kubernetes node group.
nodeTaints List<String>
A list of Kubernetes taints, that are applied to all the nodes of this Kubernetes node group.
scalePolicy KubernetesNodeGroupScalePolicy
Scale policy of the node group. The structure is documented below.
status String
(Computed) Status of the Kubernetes node group.
version String
Version of Kubernetes that will be used for Kubernetes node group.
versionInfos List<KubernetesNodeGroupVersionInfo>
Information about Kubernetes node group version. The structure is documented below.
allocationPolicy KubernetesNodeGroupAllocationPolicy
This argument specify subnets (zones), that will be used by node group compute instances. The structure is documented below.
allowedUnsafeSysctls string[]
A list of allowed unsafe sysctl parameters for this node group. For more details see documentation.
clusterId string
The ID of the Kubernetes cluster that this node group belongs to.
createdAt string
(Computed) The Kubernetes node group creation timestamp.
deployPolicy KubernetesNodeGroupDeployPolicy
Deploy policy of the node group. The structure is documented below.
description string
A description of the Kubernetes node group.
instanceGroupId string
ID of instance group that is used to manage this Kubernetes node group.
instanceTemplate KubernetesNodeGroupInstanceTemplate
Template used to create compute instances in this Kubernetes node group. The structure is documented below.
labels {[key: string]: string}
A set of key/value label pairs assigned to the Kubernetes node group.
maintenancePolicy KubernetesNodeGroupMaintenancePolicy
(Computed) Maintenance policy for this Kubernetes node group. If policy is omitted, automatic revision upgrades are enabled and could happen at any time. Revision upgrades are performed only within the same minor version, e.g. 1.13. Minor version upgrades (e.g. 1.13->1.14) should be performed manually. The structure is documented below.
name string
Name of a specific Kubernetes node group.
nodeLabels {[key: string]: string}
A set of key/value label pairs, that are assigned to all the nodes of this Kubernetes node group.
nodeTaints string[]
A list of Kubernetes taints, that are applied to all the nodes of this Kubernetes node group.
scalePolicy KubernetesNodeGroupScalePolicy
Scale policy of the node group. The structure is documented below.
status string
(Computed) Status of the Kubernetes node group.
version string
Version of Kubernetes that will be used for Kubernetes node group.
versionInfos KubernetesNodeGroupVersionInfo[]
Information about Kubernetes node group version. The structure is documented below.
allocation_policy KubernetesNodeGroupAllocationPolicyArgs
This argument specify subnets (zones), that will be used by node group compute instances. The structure is documented below.
allowed_unsafe_sysctls Sequence[str]
A list of allowed unsafe sysctl parameters for this node group. For more details see documentation.
cluster_id str
The ID of the Kubernetes cluster that this node group belongs to.
created_at str
(Computed) The Kubernetes node group creation timestamp.
deploy_policy KubernetesNodeGroupDeployPolicyArgs
Deploy policy of the node group. The structure is documented below.
description str
A description of the Kubernetes node group.
instance_group_id str
ID of instance group that is used to manage this Kubernetes node group.
instance_template KubernetesNodeGroupInstanceTemplateArgs
Template used to create compute instances in this Kubernetes node group. The structure is documented below.
labels Mapping[str, str]
A set of key/value label pairs assigned to the Kubernetes node group.
maintenance_policy KubernetesNodeGroupMaintenancePolicyArgs
(Computed) Maintenance policy for this Kubernetes node group. If policy is omitted, automatic revision upgrades are enabled and could happen at any time. Revision upgrades are performed only within the same minor version, e.g. 1.13. Minor version upgrades (e.g. 1.13->1.14) should be performed manually. The structure is documented below.
name str
Name of a specific Kubernetes node group.
node_labels Mapping[str, str]
A set of key/value label pairs, that are assigned to all the nodes of this Kubernetes node group.
node_taints Sequence[str]
A list of Kubernetes taints, that are applied to all the nodes of this Kubernetes node group.
scale_policy KubernetesNodeGroupScalePolicyArgs
Scale policy of the node group. The structure is documented below.
status str
(Computed) Status of the Kubernetes node group.
version str
Version of Kubernetes that will be used for Kubernetes node group.
version_infos Sequence[KubernetesNodeGroupVersionInfoArgs]
Information about Kubernetes node group version. The structure is documented below.
allocationPolicy Property Map
This argument specify subnets (zones), that will be used by node group compute instances. The structure is documented below.
allowedUnsafeSysctls List<String>
A list of allowed unsafe sysctl parameters for this node group. For more details see documentation.
clusterId String
The ID of the Kubernetes cluster that this node group belongs to.
createdAt String
(Computed) The Kubernetes node group creation timestamp.
deployPolicy Property Map
Deploy policy of the node group. The structure is documented below.
description String
A description of the Kubernetes node group.
instanceGroupId String
ID of instance group that is used to manage this Kubernetes node group.
instanceTemplate Property Map
Template used to create compute instances in this Kubernetes node group. The structure is documented below.
labels Map<String>
A set of key/value label pairs assigned to the Kubernetes node group.
maintenancePolicy Property Map
(Computed) Maintenance policy for this Kubernetes node group. If policy is omitted, automatic revision upgrades are enabled and could happen at any time. Revision upgrades are performed only within the same minor version, e.g. 1.13. Minor version upgrades (e.g. 1.13->1.14) should be performed manually. The structure is documented below.
name String
Name of a specific Kubernetes node group.
nodeLabels Map<String>
A set of key/value label pairs, that are assigned to all the nodes of this Kubernetes node group.
nodeTaints List<String>
A list of Kubernetes taints, that are applied to all the nodes of this Kubernetes node group.
scalePolicy Property Map
Scale policy of the node group. The structure is documented below.
status String
(Computed) Status of the Kubernetes node group.
version String
Version of Kubernetes that will be used for Kubernetes node group.
versionInfos List<Property Map>
Information about Kubernetes node group version. The structure is documented below.

Supporting Types

KubernetesNodeGroupAllocationPolicy
, KubernetesNodeGroupAllocationPolicyArgs

Locations List<KubernetesNodeGroupAllocationPolicyLocation>
Repeated field, that specify subnets (zones), that will be used by node group compute instances. The structure is documented below.
Locations []KubernetesNodeGroupAllocationPolicyLocation
Repeated field, that specify subnets (zones), that will be used by node group compute instances. The structure is documented below.
locations List<KubernetesNodeGroupAllocationPolicyLocation>
Repeated field, that specify subnets (zones), that will be used by node group compute instances. The structure is documented below.
locations KubernetesNodeGroupAllocationPolicyLocation[]
Repeated field, that specify subnets (zones), that will be used by node group compute instances. The structure is documented below.
locations Sequence[KubernetesNodeGroupAllocationPolicyLocation]
Repeated field, that specify subnets (zones), that will be used by node group compute instances. The structure is documented below.
locations List<Property Map>
Repeated field, that specify subnets (zones), that will be used by node group compute instances. The structure is documented below.

KubernetesNodeGroupAllocationPolicyLocation
, KubernetesNodeGroupAllocationPolicyLocationArgs

SubnetId string
ID of the subnet, that will be used by one compute instance in node group.

Deprecated: The 'subnet_id' field has been deprecated. Please use 'subnet_ids under network_interface' instead.

Zone string
ID of the availability zone where for one compute instance in node group.
SubnetId string
ID of the subnet, that will be used by one compute instance in node group.

Deprecated: The 'subnet_id' field has been deprecated. Please use 'subnet_ids under network_interface' instead.

Zone string
ID of the availability zone where for one compute instance in node group.
subnetId String
ID of the subnet, that will be used by one compute instance in node group.

Deprecated: The 'subnet_id' field has been deprecated. Please use 'subnet_ids under network_interface' instead.

zone String
ID of the availability zone where for one compute instance in node group.
subnetId string
ID of the subnet, that will be used by one compute instance in node group.

Deprecated: The 'subnet_id' field has been deprecated. Please use 'subnet_ids under network_interface' instead.

zone string
ID of the availability zone where for one compute instance in node group.
subnet_id str
ID of the subnet, that will be used by one compute instance in node group.

Deprecated: The 'subnet_id' field has been deprecated. Please use 'subnet_ids under network_interface' instead.

zone str
ID of the availability zone where for one compute instance in node group.
subnetId String
ID of the subnet, that will be used by one compute instance in node group.

Deprecated: The 'subnet_id' field has been deprecated. Please use 'subnet_ids under network_interface' instead.

zone String
ID of the availability zone where for one compute instance in node group.

KubernetesNodeGroupDeployPolicy
, KubernetesNodeGroupDeployPolicyArgs

MaxExpansion This property is required. int
The maximum number of instances that can be temporarily allocated above the group's target size during the update.
MaxUnavailable This property is required. int
The maximum number of running instances that can be taken offline during update.
MaxExpansion This property is required. int
The maximum number of instances that can be temporarily allocated above the group's target size during the update.
MaxUnavailable This property is required. int
The maximum number of running instances that can be taken offline during update.
maxExpansion This property is required. Integer
The maximum number of instances that can be temporarily allocated above the group's target size during the update.
maxUnavailable This property is required. Integer
The maximum number of running instances that can be taken offline during update.
maxExpansion This property is required. number
The maximum number of instances that can be temporarily allocated above the group's target size during the update.
maxUnavailable This property is required. number
The maximum number of running instances that can be taken offline during update.
max_expansion This property is required. int
The maximum number of instances that can be temporarily allocated above the group's target size during the update.
max_unavailable This property is required. int
The maximum number of running instances that can be taken offline during update.
maxExpansion This property is required. Number
The maximum number of instances that can be temporarily allocated above the group's target size during the update.
maxUnavailable This property is required. Number
The maximum number of running instances that can be taken offline during update.

KubernetesNodeGroupInstanceTemplate
, KubernetesNodeGroupInstanceTemplateArgs

BootDisk KubernetesNodeGroupInstanceTemplateBootDisk
The specifications for boot disks that will be attached to the instance. The structure is documented below.
ContainerRuntime KubernetesNodeGroupInstanceTemplateContainerRuntime

Container runtime configuration. The structure is documented below.

Metadata Dictionary<string, string>
The set of metadata key:value pairs assigned to this instance template. This includes custom metadata and predefined keys.

  • resources.0.memory - The memory size allocated to the instance.
  • resources.0.cores - Number of CPU cores allocated to the instance.
  • resources.0.core_fraction - Baseline core performance as a percent.
  • resources.0.gpus - Number of GPU cores allocated to the instance.
Nat bool
A public address that can be used to access the internet over NAT.

Deprecated: The 'nat' field has been deprecated. Please use 'nat under network_interface' instead.

NetworkAccelerationType string
Type of network acceleration. Values: standard, software_accelerated.
NetworkInterfaces List<KubernetesNodeGroupInstanceTemplateNetworkInterface>
An array with the network interfaces that will be attached to the instance. The structure is documented below.
PlacementPolicy KubernetesNodeGroupInstanceTemplatePlacementPolicy
The placement policy configuration. The structure is documented below.
PlatformId string
The ID of the hardware platform configuration for the node group compute instances.
Resources KubernetesNodeGroupInstanceTemplateResources
SchedulingPolicy KubernetesNodeGroupInstanceTemplateSchedulingPolicy
The scheduling policy for the instances in node group. The structure is documented below.
BootDisk KubernetesNodeGroupInstanceTemplateBootDisk
The specifications for boot disks that will be attached to the instance. The structure is documented below.
ContainerRuntime KubernetesNodeGroupInstanceTemplateContainerRuntime

Container runtime configuration. The structure is documented below.

Metadata map[string]string
The set of metadata key:value pairs assigned to this instance template. This includes custom metadata and predefined keys.

  • resources.0.memory - The memory size allocated to the instance.
  • resources.0.cores - Number of CPU cores allocated to the instance.
  • resources.0.core_fraction - Baseline core performance as a percent.
  • resources.0.gpus - Number of GPU cores allocated to the instance.
Nat bool
A public address that can be used to access the internet over NAT.

Deprecated: The 'nat' field has been deprecated. Please use 'nat under network_interface' instead.

NetworkAccelerationType string
Type of network acceleration. Values: standard, software_accelerated.
NetworkInterfaces []KubernetesNodeGroupInstanceTemplateNetworkInterface
An array with the network interfaces that will be attached to the instance. The structure is documented below.
PlacementPolicy KubernetesNodeGroupInstanceTemplatePlacementPolicy
The placement policy configuration. The structure is documented below.
PlatformId string
The ID of the hardware platform configuration for the node group compute instances.
Resources KubernetesNodeGroupInstanceTemplateResources
SchedulingPolicy KubernetesNodeGroupInstanceTemplateSchedulingPolicy
The scheduling policy for the instances in node group. The structure is documented below.
bootDisk KubernetesNodeGroupInstanceTemplateBootDisk
The specifications for boot disks that will be attached to the instance. The structure is documented below.
containerRuntime KubernetesNodeGroupInstanceTemplateContainerRuntime

Container runtime configuration. The structure is documented below.

metadata Map<String,String>
The set of metadata key:value pairs assigned to this instance template. This includes custom metadata and predefined keys.

  • resources.0.memory - The memory size allocated to the instance.
  • resources.0.cores - Number of CPU cores allocated to the instance.
  • resources.0.core_fraction - Baseline core performance as a percent.
  • resources.0.gpus - Number of GPU cores allocated to the instance.
nat Boolean
A public address that can be used to access the internet over NAT.

Deprecated: The 'nat' field has been deprecated. Please use 'nat under network_interface' instead.

networkAccelerationType String
Type of network acceleration. Values: standard, software_accelerated.
networkInterfaces List<KubernetesNodeGroupInstanceTemplateNetworkInterface>
An array with the network interfaces that will be attached to the instance. The structure is documented below.
placementPolicy KubernetesNodeGroupInstanceTemplatePlacementPolicy
The placement policy configuration. The structure is documented below.
platformId String
The ID of the hardware platform configuration for the node group compute instances.
resources KubernetesNodeGroupInstanceTemplateResources
schedulingPolicy KubernetesNodeGroupInstanceTemplateSchedulingPolicy
The scheduling policy for the instances in node group. The structure is documented below.
bootDisk KubernetesNodeGroupInstanceTemplateBootDisk
The specifications for boot disks that will be attached to the instance. The structure is documented below.
containerRuntime KubernetesNodeGroupInstanceTemplateContainerRuntime

Container runtime configuration. The structure is documented below.

metadata {[key: string]: string}
The set of metadata key:value pairs assigned to this instance template. This includes custom metadata and predefined keys.

  • resources.0.memory - The memory size allocated to the instance.
  • resources.0.cores - Number of CPU cores allocated to the instance.
  • resources.0.core_fraction - Baseline core performance as a percent.
  • resources.0.gpus - Number of GPU cores allocated to the instance.
nat boolean
A public address that can be used to access the internet over NAT.

Deprecated: The 'nat' field has been deprecated. Please use 'nat under network_interface' instead.

networkAccelerationType string
Type of network acceleration. Values: standard, software_accelerated.
networkInterfaces KubernetesNodeGroupInstanceTemplateNetworkInterface[]
An array with the network interfaces that will be attached to the instance. The structure is documented below.
placementPolicy KubernetesNodeGroupInstanceTemplatePlacementPolicy
The placement policy configuration. The structure is documented below.
platformId string
The ID of the hardware platform configuration for the node group compute instances.
resources KubernetesNodeGroupInstanceTemplateResources
schedulingPolicy KubernetesNodeGroupInstanceTemplateSchedulingPolicy
The scheduling policy for the instances in node group. The structure is documented below.
boot_disk KubernetesNodeGroupInstanceTemplateBootDisk
The specifications for boot disks that will be attached to the instance. The structure is documented below.
container_runtime KubernetesNodeGroupInstanceTemplateContainerRuntime

Container runtime configuration. The structure is documented below.

metadata Mapping[str, str]
The set of metadata key:value pairs assigned to this instance template. This includes custom metadata and predefined keys.

  • resources.0.memory - The memory size allocated to the instance.
  • resources.0.cores - Number of CPU cores allocated to the instance.
  • resources.0.core_fraction - Baseline core performance as a percent.
  • resources.0.gpus - Number of GPU cores allocated to the instance.
nat bool
A public address that can be used to access the internet over NAT.

Deprecated: The 'nat' field has been deprecated. Please use 'nat under network_interface' instead.

network_acceleration_type str
Type of network acceleration. Values: standard, software_accelerated.
network_interfaces Sequence[KubernetesNodeGroupInstanceTemplateNetworkInterface]
An array with the network interfaces that will be attached to the instance. The structure is documented below.
placement_policy KubernetesNodeGroupInstanceTemplatePlacementPolicy
The placement policy configuration. The structure is documented below.
platform_id str
The ID of the hardware platform configuration for the node group compute instances.
resources KubernetesNodeGroupInstanceTemplateResources
scheduling_policy KubernetesNodeGroupInstanceTemplateSchedulingPolicy
The scheduling policy for the instances in node group. The structure is documented below.
bootDisk Property Map
The specifications for boot disks that will be attached to the instance. The structure is documented below.
containerRuntime Property Map

Container runtime configuration. The structure is documented below.

metadata Map<String>
The set of metadata key:value pairs assigned to this instance template. This includes custom metadata and predefined keys.

  • resources.0.memory - The memory size allocated to the instance.
  • resources.0.cores - Number of CPU cores allocated to the instance.
  • resources.0.core_fraction - Baseline core performance as a percent.
  • resources.0.gpus - Number of GPU cores allocated to the instance.
nat Boolean
A public address that can be used to access the internet over NAT.

Deprecated: The 'nat' field has been deprecated. Please use 'nat under network_interface' instead.

networkAccelerationType String
Type of network acceleration. Values: standard, software_accelerated.
networkInterfaces List<Property Map>
An array with the network interfaces that will be attached to the instance. The structure is documented below.
placementPolicy Property Map
The placement policy configuration. The structure is documented below.
platformId String
The ID of the hardware platform configuration for the node group compute instances.
resources Property Map
schedulingPolicy Property Map
The scheduling policy for the instances in node group. The structure is documented below.

KubernetesNodeGroupInstanceTemplateBootDisk
, KubernetesNodeGroupInstanceTemplateBootDiskArgs

Size int
The number of instances in the node group.
Type string
Type of container runtime. Values: docker, containerd.
Size int
The number of instances in the node group.
Type string
Type of container runtime. Values: docker, containerd.
size Integer
The number of instances in the node group.
type String
Type of container runtime. Values: docker, containerd.
size number
The number of instances in the node group.
type string
Type of container runtime. Values: docker, containerd.
size int
The number of instances in the node group.
type str
Type of container runtime. Values: docker, containerd.
size Number
The number of instances in the node group.
type String
Type of container runtime. Values: docker, containerd.

KubernetesNodeGroupInstanceTemplateContainerRuntime
, KubernetesNodeGroupInstanceTemplateContainerRuntimeArgs

Type This property is required. string
Type of container runtime. Values: docker, containerd.
Type This property is required. string
Type of container runtime. Values: docker, containerd.
type This property is required. String
Type of container runtime. Values: docker, containerd.
type This property is required. string
Type of container runtime. Values: docker, containerd.
type This property is required. str
Type of container runtime. Values: docker, containerd.
type This property is required. String
Type of container runtime. Values: docker, containerd.

KubernetesNodeGroupInstanceTemplateNetworkInterface
, KubernetesNodeGroupInstanceTemplateNetworkInterfaceArgs

SubnetIds This property is required. List<string>
The IDs of the subnets.
Ipv4 bool
Allocate an IPv4 address for the interface. The default value is true.
Ipv6 bool
If true, allocate an IPv6 address for the interface. The address will be automatically assigned from the specified subnet.
Nat bool
A public address that can be used to access the internet over NAT.
SecurityGroupIds List<string>
Security group ids for network interface.
SubnetIds This property is required. []string
The IDs of the subnets.
Ipv4 bool
Allocate an IPv4 address for the interface. The default value is true.
Ipv6 bool
If true, allocate an IPv6 address for the interface. The address will be automatically assigned from the specified subnet.
Nat bool
A public address that can be used to access the internet over NAT.
SecurityGroupIds []string
Security group ids for network interface.
subnetIds This property is required. List<String>
The IDs of the subnets.
ipv4 Boolean
Allocate an IPv4 address for the interface. The default value is true.
ipv6 Boolean
If true, allocate an IPv6 address for the interface. The address will be automatically assigned from the specified subnet.
nat Boolean
A public address that can be used to access the internet over NAT.
securityGroupIds List<String>
Security group ids for network interface.
subnetIds This property is required. string[]
The IDs of the subnets.
ipv4 boolean
Allocate an IPv4 address for the interface. The default value is true.
ipv6 boolean
If true, allocate an IPv6 address for the interface. The address will be automatically assigned from the specified subnet.
nat boolean
A public address that can be used to access the internet over NAT.
securityGroupIds string[]
Security group ids for network interface.
subnet_ids This property is required. Sequence[str]
The IDs of the subnets.
ipv4 bool
Allocate an IPv4 address for the interface. The default value is true.
ipv6 bool
If true, allocate an IPv6 address for the interface. The address will be automatically assigned from the specified subnet.
nat bool
A public address that can be used to access the internet over NAT.
security_group_ids Sequence[str]
Security group ids for network interface.
subnetIds This property is required. List<String>
The IDs of the subnets.
ipv4 Boolean
Allocate an IPv4 address for the interface. The default value is true.
ipv6 Boolean
If true, allocate an IPv6 address for the interface. The address will be automatically assigned from the specified subnet.
nat Boolean
A public address that can be used to access the internet over NAT.
securityGroupIds List<String>
Security group ids for network interface.

KubernetesNodeGroupInstanceTemplatePlacementPolicy
, KubernetesNodeGroupInstanceTemplatePlacementPolicyArgs

PlacementGroupId This property is required. string
Specifies the id of the Placement Group to assign to the instances.
PlacementGroupId This property is required. string
Specifies the id of the Placement Group to assign to the instances.
placementGroupId This property is required. String
Specifies the id of the Placement Group to assign to the instances.
placementGroupId This property is required. string
Specifies the id of the Placement Group to assign to the instances.
placement_group_id This property is required. str
Specifies the id of the Placement Group to assign to the instances.
placementGroupId This property is required. String
Specifies the id of the Placement Group to assign to the instances.

KubernetesNodeGroupInstanceTemplateResources
, KubernetesNodeGroupInstanceTemplateResourcesArgs

CoreFraction int
Cores int
Gpus int
Memory double
CoreFraction int
Cores int
Gpus int
Memory float64
coreFraction Integer
cores Integer
gpus Integer
memory Double
coreFraction number
cores number
gpus number
memory number
coreFraction Number
cores Number
gpus Number
memory Number

KubernetesNodeGroupInstanceTemplateSchedulingPolicy
, KubernetesNodeGroupInstanceTemplateSchedulingPolicyArgs

Preemptible bool

Specifies if the instance is preemptible. Defaults to false.

Preemptible bool

Specifies if the instance is preemptible. Defaults to false.

preemptible Boolean

Specifies if the instance is preemptible. Defaults to false.

preemptible boolean

Specifies if the instance is preemptible. Defaults to false.

preemptible bool

Specifies if the instance is preemptible. Defaults to false.

preemptible Boolean

Specifies if the instance is preemptible. Defaults to false.

KubernetesNodeGroupMaintenancePolicy
, KubernetesNodeGroupMaintenancePolicyArgs

AutoRepair This property is required. bool
Boolean flag that specifies if node group can be repaired automatically. When omitted, default value is TRUE.
AutoUpgrade This property is required. bool
Boolean flag that specifies if node group can be upgraded automatically. When omitted, default value is TRUE.
MaintenanceWindows List<KubernetesNodeGroupMaintenancePolicyMaintenanceWindow>
(Computed) Set of day intervals, when maintenance is allowed for this node group. When omitted, it defaults to any time.
AutoRepair This property is required. bool
Boolean flag that specifies if node group can be repaired automatically. When omitted, default value is TRUE.
AutoUpgrade This property is required. bool
Boolean flag that specifies if node group can be upgraded automatically. When omitted, default value is TRUE.
MaintenanceWindows []KubernetesNodeGroupMaintenancePolicyMaintenanceWindow
(Computed) Set of day intervals, when maintenance is allowed for this node group. When omitted, it defaults to any time.
autoRepair This property is required. Boolean
Boolean flag that specifies if node group can be repaired automatically. When omitted, default value is TRUE.
autoUpgrade This property is required. Boolean
Boolean flag that specifies if node group can be upgraded automatically. When omitted, default value is TRUE.
maintenanceWindows List<KubernetesNodeGroupMaintenancePolicyMaintenanceWindow>
(Computed) Set of day intervals, when maintenance is allowed for this node group. When omitted, it defaults to any time.
autoRepair This property is required. boolean
Boolean flag that specifies if node group can be repaired automatically. When omitted, default value is TRUE.
autoUpgrade This property is required. boolean
Boolean flag that specifies if node group can be upgraded automatically. When omitted, default value is TRUE.
maintenanceWindows KubernetesNodeGroupMaintenancePolicyMaintenanceWindow[]
(Computed) Set of day intervals, when maintenance is allowed for this node group. When omitted, it defaults to any time.
auto_repair This property is required. bool
Boolean flag that specifies if node group can be repaired automatically. When omitted, default value is TRUE.
auto_upgrade This property is required. bool
Boolean flag that specifies if node group can be upgraded automatically. When omitted, default value is TRUE.
maintenance_windows Sequence[KubernetesNodeGroupMaintenancePolicyMaintenanceWindow]
(Computed) Set of day intervals, when maintenance is allowed for this node group. When omitted, it defaults to any time.
autoRepair This property is required. Boolean
Boolean flag that specifies if node group can be repaired automatically. When omitted, default value is TRUE.
autoUpgrade This property is required. Boolean
Boolean flag that specifies if node group can be upgraded automatically. When omitted, default value is TRUE.
maintenanceWindows List<Property Map>
(Computed) Set of day intervals, when maintenance is allowed for this node group. When omitted, it defaults to any time.

KubernetesNodeGroupMaintenancePolicyMaintenanceWindow
, KubernetesNodeGroupMaintenancePolicyMaintenanceWindowArgs

Duration This property is required. string
StartTime This property is required. string
Day string
Duration This property is required. string
StartTime This property is required. string
Day string
duration This property is required. String
startTime This property is required. String
day String
duration This property is required. string
startTime This property is required. string
day string
duration This property is required. str
start_time This property is required. str
day str
duration This property is required. String
startTime This property is required. String
day String

KubernetesNodeGroupScalePolicy
, KubernetesNodeGroupScalePolicyArgs

AutoScale KubernetesNodeGroupScalePolicyAutoScale
Scale policy for an autoscaled node group. The structure is documented below.
FixedScale KubernetesNodeGroupScalePolicyFixedScale
Scale policy for a fixed scale node group. The structure is documented below.
AutoScale KubernetesNodeGroupScalePolicyAutoScale
Scale policy for an autoscaled node group. The structure is documented below.
FixedScale KubernetesNodeGroupScalePolicyFixedScale
Scale policy for a fixed scale node group. The structure is documented below.
autoScale KubernetesNodeGroupScalePolicyAutoScale
Scale policy for an autoscaled node group. The structure is documented below.
fixedScale KubernetesNodeGroupScalePolicyFixedScale
Scale policy for a fixed scale node group. The structure is documented below.
autoScale KubernetesNodeGroupScalePolicyAutoScale
Scale policy for an autoscaled node group. The structure is documented below.
fixedScale KubernetesNodeGroupScalePolicyFixedScale
Scale policy for a fixed scale node group. The structure is documented below.
auto_scale KubernetesNodeGroupScalePolicyAutoScale
Scale policy for an autoscaled node group. The structure is documented below.
fixed_scale KubernetesNodeGroupScalePolicyFixedScale
Scale policy for a fixed scale node group. The structure is documented below.
autoScale Property Map
Scale policy for an autoscaled node group. The structure is documented below.
fixedScale Property Map
Scale policy for a fixed scale node group. The structure is documented below.

KubernetesNodeGroupScalePolicyAutoScale
, KubernetesNodeGroupScalePolicyAutoScaleArgs

Initial This property is required. int
Initial number of instances in the node group.
Max This property is required. int
Maximum number of instances in the node group.
Min This property is required. int
Minimum number of instances in the node group.
Initial This property is required. int
Initial number of instances in the node group.
Max This property is required. int
Maximum number of instances in the node group.
Min This property is required. int
Minimum number of instances in the node group.
initial This property is required. Integer
Initial number of instances in the node group.
max This property is required. Integer
Maximum number of instances in the node group.
min This property is required. Integer
Minimum number of instances in the node group.
initial This property is required. number
Initial number of instances in the node group.
max This property is required. number
Maximum number of instances in the node group.
min This property is required. number
Minimum number of instances in the node group.
initial This property is required. int
Initial number of instances in the node group.
max This property is required. int
Maximum number of instances in the node group.
min This property is required. int
Minimum number of instances in the node group.
initial This property is required. Number
Initial number of instances in the node group.
max This property is required. Number
Maximum number of instances in the node group.
min This property is required. Number
Minimum number of instances in the node group.

KubernetesNodeGroupScalePolicyFixedScale
, KubernetesNodeGroupScalePolicyFixedScaleArgs

Size int
The number of instances in the node group.
Size int
The number of instances in the node group.
size Integer
The number of instances in the node group.
size number
The number of instances in the node group.
size int
The number of instances in the node group.
size Number
The number of instances in the node group.

KubernetesNodeGroupVersionInfo
, KubernetesNodeGroupVersionInfoArgs

CurrentVersion string
Current Kubernetes version, major.minor (e.g. 1.15).
NewRevisionAvailable bool
True/false flag. Newer revisions may include Kubernetes patches (e.g 1.15.1 > 1.15.2) as well as some internal component updates - new features or bug fixes in yandex-specific components either on the master or nodes.
NewRevisionSummary string
Human readable description of the changes to be applied when updating to the latest revision. Empty if new_revision_available is false.
VersionDeprecated bool
True/false flag. The current version is on the deprecation schedule, component (master or node group) should be upgraded.
CurrentVersion string
Current Kubernetes version, major.minor (e.g. 1.15).
NewRevisionAvailable bool
True/false flag. Newer revisions may include Kubernetes patches (e.g 1.15.1 > 1.15.2) as well as some internal component updates - new features or bug fixes in yandex-specific components either on the master or nodes.
NewRevisionSummary string
Human readable description of the changes to be applied when updating to the latest revision. Empty if new_revision_available is false.
VersionDeprecated bool
True/false flag. The current version is on the deprecation schedule, component (master or node group) should be upgraded.
currentVersion String
Current Kubernetes version, major.minor (e.g. 1.15).
newRevisionAvailable Boolean
True/false flag. Newer revisions may include Kubernetes patches (e.g 1.15.1 > 1.15.2) as well as some internal component updates - new features or bug fixes in yandex-specific components either on the master or nodes.
newRevisionSummary String
Human readable description of the changes to be applied when updating to the latest revision. Empty if new_revision_available is false.
versionDeprecated Boolean
True/false flag. The current version is on the deprecation schedule, component (master or node group) should be upgraded.
currentVersion string
Current Kubernetes version, major.minor (e.g. 1.15).
newRevisionAvailable boolean
True/false flag. Newer revisions may include Kubernetes patches (e.g 1.15.1 > 1.15.2) as well as some internal component updates - new features or bug fixes in yandex-specific components either on the master or nodes.
newRevisionSummary string
Human readable description of the changes to be applied when updating to the latest revision. Empty if new_revision_available is false.
versionDeprecated boolean
True/false flag. The current version is on the deprecation schedule, component (master or node group) should be upgraded.
current_version str
Current Kubernetes version, major.minor (e.g. 1.15).
new_revision_available bool
True/false flag. Newer revisions may include Kubernetes patches (e.g 1.15.1 > 1.15.2) as well as some internal component updates - new features or bug fixes in yandex-specific components either on the master or nodes.
new_revision_summary str
Human readable description of the changes to be applied when updating to the latest revision. Empty if new_revision_available is false.
version_deprecated bool
True/false flag. The current version is on the deprecation schedule, component (master or node group) should be upgraded.
currentVersion String
Current Kubernetes version, major.minor (e.g. 1.15).
newRevisionAvailable Boolean
True/false flag. Newer revisions may include Kubernetes patches (e.g 1.15.1 > 1.15.2) as well as some internal component updates - new features or bug fixes in yandex-specific components either on the master or nodes.
newRevisionSummary String
Human readable description of the changes to be applied when updating to the latest revision. Empty if new_revision_available is false.
versionDeprecated Boolean
True/false flag. The current version is on the deprecation schedule, component (master or node group) should be upgraded.

Import

A Yandex Kubernetes Node Group can be imported using the id of the resource, e.g.

 $ pulumi import yandex:index/kubernetesNodeGroup:KubernetesNodeGroup default node_group_id
Copy

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

Package Details

Repository
Yandex pulumi/pulumi-yandex
License
Apache-2.0
Notes
This Pulumi package is based on the yandex Terraform Provider.