published on Thursday, Jun 25, 2026 by vk-cs
published on Thursday, Jun 25, 2026 by vk-cs
Provides a Kubernetes cluster node group resource. This can be used to create, modify, and delete Kubernetes cluster node group.
import * as pulumi from "@pulumi/pulumi";
import * as vkcs from "@pulumi/vkcs";
const k8sNodeGroup = new vkcs.KubernetesNodeGroupV2("k8s_node_group", {
clusterId: k8sCluster.id,
name: "k8s-node-group",
nodeFlavor: basic.id,
availabilityZone: "MS1",
scaleType: "fixed_scale",
fixedScaleNodeCount: 3,
parallelUpgradeChunk: 40,
diskType: "high-iops",
diskSize: 20,
}, {
dependsOn: [k8sCluster],
});
import pulumi
import pulumi_vkcs as vkcs
k8s_node_group = vkcs.KubernetesNodeGroupV2("k8s_node_group",
cluster_id=k8s_cluster["id"],
name="k8s-node-group",
node_flavor=basic["id"],
availability_zone="MS1",
scale_type="fixed_scale",
fixed_scale_node_count=3,
parallel_upgrade_chunk=40,
disk_type="high-iops",
disk_size=20,
opts = pulumi.ResourceOptions(depends_on=[k8s_cluster]))
package main
import (
"github.com/pulumi/pulumi-terraform-provider/sdks/go/vkcs/vkcs"
"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
)
func main() {
pulumi.Run(func(ctx *pulumi.Context) error {
_, err := vkcs.NewKubernetesNodeGroupV2(ctx, "k8s_node_group", &vkcs.KubernetesNodeGroupV2Args{
ClusterId: pulumi.Any(k8sCluster.Id),
Name: pulumi.String("k8s-node-group"),
NodeFlavor: pulumi.Any(basic.Id),
AvailabilityZone: pulumi.String("MS1"),
ScaleType: pulumi.String("fixed_scale"),
FixedScaleNodeCount: pulumi.Float64(3),
ParallelUpgradeChunk: pulumi.Float64(40),
DiskType: pulumi.String("high-iops"),
DiskSize: pulumi.Float64(20),
}, pulumi.DependsOn([]pulumi.Resource{
k8sCluster,
}))
if err != nil {
return err
}
return nil
})
}
using System.Collections.Generic;
using System.Linq;
using Pulumi;
using Vkcs = Pulumi.Vkcs;
return await Deployment.RunAsync(() =>
{
var k8sNodeGroup = new Vkcs.KubernetesNodeGroupV2("k8s_node_group", new()
{
ClusterId = k8sCluster.Id,
Name = "k8s-node-group",
NodeFlavor = basic.Id,
AvailabilityZone = "MS1",
ScaleType = "fixed_scale",
FixedScaleNodeCount = 3,
ParallelUpgradeChunk = 40,
DiskType = "high-iops",
DiskSize = 20,
}, new CustomResourceOptions
{
DependsOn =
{
k8sCluster,
},
});
});
package generated_program;
import com.pulumi.Context;
import com.pulumi.Pulumi;
import com.pulumi.core.Output;
import com.pulumi.vkcs.KubernetesNodeGroupV2;
import com.pulumi.vkcs.KubernetesNodeGroupV2Args;
import com.pulumi.resources.CustomResourceOptions;
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 k8sNodeGroup = new KubernetesNodeGroupV2("k8sNodeGroup", KubernetesNodeGroupV2Args.builder()
.clusterId(k8sCluster.id())
.name("k8s-node-group")
.nodeFlavor(basic.id())
.availabilityZone("MS1")
.scaleType("fixed_scale")
.fixedScaleNodeCount(3.0)
.parallelUpgradeChunk(40.0)
.diskType("high-iops")
.diskSize(20.0)
.build(), CustomResourceOptions.builder()
.dependsOn(k8sCluster)
.build());
}
}
resources:
k8sNodeGroup:
type: vkcs:KubernetesNodeGroupV2
name: k8s_node_group
properties:
clusterId: ${k8sCluster.id}
name: k8s-node-group
nodeFlavor: ${basic.id}
availabilityZone: MS1
scaleType: fixed_scale
fixedScaleNodeCount: 3
parallelUpgradeChunk: 40
diskType: high-iops
diskSize: 20
options:
dependsOn:
- ${k8sCluster}
Example coming soon!
Create KubernetesNodeGroupV2 Resource
Resources are created with functions called constructors. To learn more about declaring and configuring resources, see Resources.
Constructor syntax
new KubernetesNodeGroupV2(name: string, args: KubernetesNodeGroupV2Args, opts?: CustomResourceOptions);@overload
def KubernetesNodeGroupV2(resource_name: str,
args: KubernetesNodeGroupV2Args,
opts: Optional[ResourceOptions] = None)
@overload
def KubernetesNodeGroupV2(resource_name: str,
opts: Optional[ResourceOptions] = None,
node_flavor: Optional[str] = None,
parallel_upgrade_chunk: Optional[float] = None,
availability_zone: Optional[str] = None,
cluster_id: Optional[str] = None,
disk_size: Optional[float] = None,
disk_type: Optional[str] = None,
scale_type: Optional[str] = None,
name: Optional[str] = None,
fixed_scale_node_count: Optional[float] = None,
auto_scale_max_size: Optional[float] = None,
labels: Optional[Mapping[str, str]] = None,
region: Optional[str] = None,
auto_scale_min_size: Optional[float] = None,
taints: Optional[Sequence[KubernetesNodeGroupV2TaintArgs]] = None,
timeouts: Optional[KubernetesNodeGroupV2TimeoutsArgs] = None)func NewKubernetesNodeGroupV2(ctx *Context, name string, args KubernetesNodeGroupV2Args, opts ...ResourceOption) (*KubernetesNodeGroupV2, error)public KubernetesNodeGroupV2(string name, KubernetesNodeGroupV2Args args, CustomResourceOptions? opts = null)
public KubernetesNodeGroupV2(String name, KubernetesNodeGroupV2Args args)
public KubernetesNodeGroupV2(String name, KubernetesNodeGroupV2Args args, CustomResourceOptions options)
type: vkcs:KubernetesNodeGroupV2
properties: # The arguments to resource properties.
options: # Bag of options to control resource's behavior.
resource "vkcs_kubernetesnodegroupv2" "name" {
# resource properties
}Parameters
- name string
- The unique name of the resource.
- args KubernetesNodeGroupV2Args
- 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 KubernetesNodeGroupV2Args
- 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 KubernetesNodeGroupV2Args
- The arguments to resource properties.
- opts ResourceOption
- Bag of options to control resource's behavior.
- name string
- The unique name of the resource.
- args KubernetesNodeGroupV2Args
- The arguments to resource properties.
- opts CustomResourceOptions
- Bag of options to control resource's behavior.
- name String
- The unique name of the resource.
- args KubernetesNodeGroupV2Args
- 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 kubernetesNodeGroupV2Resource = new Vkcs.KubernetesNodeGroupV2("kubernetesNodeGroupV2Resource", new()
{
NodeFlavor = "string",
ParallelUpgradeChunk = 0,
AvailabilityZone = "string",
ClusterId = "string",
DiskSize = 0,
DiskType = "string",
ScaleType = "string",
Name = "string",
FixedScaleNodeCount = 0,
AutoScaleMaxSize = 0,
Labels =
{
{ "string", "string" },
},
Region = "string",
AutoScaleMinSize = 0,
Taints = new[]
{
new Vkcs.Inputs.KubernetesNodeGroupV2TaintArgs
{
Effect = "string",
Key = "string",
Value = "string",
},
},
Timeouts = new Vkcs.Inputs.KubernetesNodeGroupV2TimeoutsArgs
{
Create = "string",
Delete = "string",
Update = "string",
},
});
example, err := vkcs.NewKubernetesNodeGroupV2(ctx, "kubernetesNodeGroupV2Resource", &vkcs.KubernetesNodeGroupV2Args{
NodeFlavor: pulumi.String("string"),
ParallelUpgradeChunk: pulumi.Float64(0),
AvailabilityZone: pulumi.String("string"),
ClusterId: pulumi.String("string"),
DiskSize: pulumi.Float64(0),
DiskType: pulumi.String("string"),
ScaleType: pulumi.String("string"),
Name: pulumi.String("string"),
FixedScaleNodeCount: pulumi.Float64(0),
AutoScaleMaxSize: pulumi.Float64(0),
Labels: pulumi.StringMap{
"string": pulumi.String("string"),
},
Region: pulumi.String("string"),
AutoScaleMinSize: pulumi.Float64(0),
Taints: vkcs.KubernetesNodeGroupV2TaintArray{
&vkcs.KubernetesNodeGroupV2TaintArgs{
Effect: pulumi.String("string"),
Key: pulumi.String("string"),
Value: pulumi.String("string"),
},
},
Timeouts: &vkcs.KubernetesNodeGroupV2TimeoutsArgs{
Create: pulumi.String("string"),
Delete: pulumi.String("string"),
Update: pulumi.String("string"),
},
})
resource "vkcs_kubernetesnodegroupv2" "kubernetesNodeGroupV2Resource" {
node_flavor = "string"
parallel_upgrade_chunk = 0
availability_zone = "string"
cluster_id = "string"
disk_size = 0
disk_type = "string"
scale_type = "string"
name = "string"
fixed_scale_node_count = 0
auto_scale_max_size = 0
labels = {
"string" = "string"
}
region = "string"
auto_scale_min_size = 0
taints {
effect = "string"
key = "string"
value = "string"
}
timeouts = {
create = "string"
delete = "string"
update = "string"
}
}
var kubernetesNodeGroupV2Resource = new KubernetesNodeGroupV2("kubernetesNodeGroupV2Resource", KubernetesNodeGroupV2Args.builder()
.nodeFlavor("string")
.parallelUpgradeChunk(0.0)
.availabilityZone("string")
.clusterId("string")
.diskSize(0.0)
.diskType("string")
.scaleType("string")
.name("string")
.fixedScaleNodeCount(0.0)
.autoScaleMaxSize(0.0)
.labels(Map.of("string", "string"))
.region("string")
.autoScaleMinSize(0.0)
.taints(KubernetesNodeGroupV2TaintArgs.builder()
.effect("string")
.key("string")
.value("string")
.build())
.timeouts(KubernetesNodeGroupV2TimeoutsArgs.builder()
.create("string")
.delete("string")
.update("string")
.build())
.build());
kubernetes_node_group_v2_resource = vkcs.KubernetesNodeGroupV2("kubernetesNodeGroupV2Resource",
node_flavor="string",
parallel_upgrade_chunk=float(0),
availability_zone="string",
cluster_id="string",
disk_size=float(0),
disk_type="string",
scale_type="string",
name="string",
fixed_scale_node_count=float(0),
auto_scale_max_size=float(0),
labels={
"string": "string",
},
region="string",
auto_scale_min_size=float(0),
taints=[{
"effect": "string",
"key": "string",
"value": "string",
}],
timeouts={
"create": "string",
"delete": "string",
"update": "string",
})
const kubernetesNodeGroupV2Resource = new vkcs.KubernetesNodeGroupV2("kubernetesNodeGroupV2Resource", {
nodeFlavor: "string",
parallelUpgradeChunk: 0,
availabilityZone: "string",
clusterId: "string",
diskSize: 0,
diskType: "string",
scaleType: "string",
name: "string",
fixedScaleNodeCount: 0,
autoScaleMaxSize: 0,
labels: {
string: "string",
},
region: "string",
autoScaleMinSize: 0,
taints: [{
effect: "string",
key: "string",
value: "string",
}],
timeouts: {
create: "string",
"delete": "string",
update: "string",
},
});
type: vkcs:KubernetesNodeGroupV2
properties:
autoScaleMaxSize: 0
autoScaleMinSize: 0
availabilityZone: string
clusterId: string
diskSize: 0
diskType: string
fixedScaleNodeCount: 0
labels:
string: string
name: string
nodeFlavor: string
parallelUpgradeChunk: 0
region: string
scaleType: string
taints:
- effect: string
key: string
value: string
timeouts:
create: string
delete: string
update: string
KubernetesNodeGroupV2 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 KubernetesNodeGroupV2 resource accepts the following input properties:
- Availability
Zone string - required string → The availability zone where the nodes will be placed. Forces replacement on change.
- Cluster
Id string - required string → The ID of the parent cluster. Forces replacement on change.
- Disk
Size double - required number → The size of the root volume, in gigabytes (GB). Must be at least 1. Forces replacement on change.
- Disk
Type string - required string → The root volume type. For example:
ceph-ssd. Use thevkcs.getKubernetesVolumeTypesV2data source to list available types for the selected availability zone. Forces replacement on change. - Node
Flavor string - required string → The flavor ID used for worker nodes. Use STD3-* flavor for clusters in PA2 availability zone. Changing this triggers a rolling upgrade of the nodes.
- Parallel
Upgrade doubleChunk - required number → The maximum percentage of nodes (1-100) that can be upgraded simultaneously during a rolling upgrade.
- Scale
Type string - required string → Type of scaling for the node group. Must be either
fixed_scaleorauto_scale. Ifscale_typeisauto_scale, the conditionauto_scale_min_size<=auto_scale_max_sizemust be met. - Auto
Scale doubleMax Size - optional number → The maximum number of nodes the autoscaler may scale out to. Must be greater than or equal to 0 and also greater than or equal to
auto_scale_min_size. Required if scale_type isauto_scale. - Auto
Scale doubleMin Size - optional number → The minimum number of nodes the autoscaler can scale down to. Must be at least 0. Required when
scale_typeisauto_scale. - Fixed
Scale doubleNode Count - optional number → The desired number of nodes. Minimum value is 0. This argument is required when
scale_typeisfixed_scale. - Labels Dictionary<string, string>
- optional map of string → Kubernetes labels to apply to the nodes in this node group. Both keys and values must conform to Kubernetes label syntax.
- Name string
- required string → A unique name for the node group within the cluster. Must be 3-25 characters, lowercase alphanumeric and hyphens only. Forces replacement on change.
- Region string
- optional string → The region where the node group will be created. If omitted, the provider's
regionis used. Forces replacement on change. - Taints
List<Kubernetes
Node Group V2Taint> - set → Kubernetes taints to apply to the nodes in this node group. Each taint must specify
key,value, andeffect— whereeffectis one of:NoSchedule,PreferNoSchedule,NoExecute. - Timeouts
Kubernetes
Node Group V2Timeouts - Timeout configuration for create, update and delete operations.
- Availability
Zone string - required string → The availability zone where the nodes will be placed. Forces replacement on change.
- Cluster
Id string - required string → The ID of the parent cluster. Forces replacement on change.
- Disk
Size float64 - required number → The size of the root volume, in gigabytes (GB). Must be at least 1. Forces replacement on change.
- Disk
Type string - required string → The root volume type. For example:
ceph-ssd. Use thevkcs.getKubernetesVolumeTypesV2data source to list available types for the selected availability zone. Forces replacement on change. - Node
Flavor string - required string → The flavor ID used for worker nodes. Use STD3-* flavor for clusters in PA2 availability zone. Changing this triggers a rolling upgrade of the nodes.
- Parallel
Upgrade float64Chunk - required number → The maximum percentage of nodes (1-100) that can be upgraded simultaneously during a rolling upgrade.
- Scale
Type string - required string → Type of scaling for the node group. Must be either
fixed_scaleorauto_scale. Ifscale_typeisauto_scale, the conditionauto_scale_min_size<=auto_scale_max_sizemust be met. - Auto
Scale float64Max Size - optional number → The maximum number of nodes the autoscaler may scale out to. Must be greater than or equal to 0 and also greater than or equal to
auto_scale_min_size. Required if scale_type isauto_scale. - Auto
Scale float64Min Size - optional number → The minimum number of nodes the autoscaler can scale down to. Must be at least 0. Required when
scale_typeisauto_scale. - Fixed
Scale float64Node Count - optional number → The desired number of nodes. Minimum value is 0. This argument is required when
scale_typeisfixed_scale. - Labels map[string]string
- optional map of string → Kubernetes labels to apply to the nodes in this node group. Both keys and values must conform to Kubernetes label syntax.
- Name string
- required string → A unique name for the node group within the cluster. Must be 3-25 characters, lowercase alphanumeric and hyphens only. Forces replacement on change.
- Region string
- optional string → The region where the node group will be created. If omitted, the provider's
regionis used. Forces replacement on change. - Taints
[]Kubernetes
Node Group V2Taint Args - set → Kubernetes taints to apply to the nodes in this node group. Each taint must specify
key,value, andeffect— whereeffectis one of:NoSchedule,PreferNoSchedule,NoExecute. - Timeouts
Kubernetes
Node Group V2Timeouts Args - Timeout configuration for create, update and delete operations.
- availability_
zone string - required string → The availability zone where the nodes will be placed. Forces replacement on change.
- cluster_
id string - required string → The ID of the parent cluster. Forces replacement on change.
- disk_
size number - required number → The size of the root volume, in gigabytes (GB). Must be at least 1. Forces replacement on change.
- disk_
type string - required string → The root volume type. For example:
ceph-ssd. Use thevkcs.getKubernetesVolumeTypesV2data source to list available types for the selected availability zone. Forces replacement on change. - node_
flavor string - required string → The flavor ID used for worker nodes. Use STD3-* flavor for clusters in PA2 availability zone. Changing this triggers a rolling upgrade of the nodes.
- parallel_
upgrade_ numberchunk - required number → The maximum percentage of nodes (1-100) that can be upgraded simultaneously during a rolling upgrade.
- scale_
type string - required string → Type of scaling for the node group. Must be either
fixed_scaleorauto_scale. Ifscale_typeisauto_scale, the conditionauto_scale_min_size<=auto_scale_max_sizemust be met. - auto_
scale_ numbermax_ size - optional number → The maximum number of nodes the autoscaler may scale out to. Must be greater than or equal to 0 and also greater than or equal to
auto_scale_min_size. Required if scale_type isauto_scale. - auto_
scale_ numbermin_ size - optional number → The minimum number of nodes the autoscaler can scale down to. Must be at least 0. Required when
scale_typeisauto_scale. - fixed_
scale_ numbernode_ count - optional number → The desired number of nodes. Minimum value is 0. This argument is required when
scale_typeisfixed_scale. - labels map(string)
- optional map of string → Kubernetes labels to apply to the nodes in this node group. Both keys and values must conform to Kubernetes label syntax.
- name string
- required string → A unique name for the node group within the cluster. Must be 3-25 characters, lowercase alphanumeric and hyphens only. Forces replacement on change.
- region string
- optional string → The region where the node group will be created. If omitted, the provider's
regionis used. Forces replacement on change. - taints list(object)
- set → Kubernetes taints to apply to the nodes in this node group. Each taint must specify
key,value, andeffect— whereeffectis one of:NoSchedule,PreferNoSchedule,NoExecute. - timeouts object
- Timeout configuration for create, update and delete operations.
- availability
Zone String - required string → The availability zone where the nodes will be placed. Forces replacement on change.
- cluster
Id String - required string → The ID of the parent cluster. Forces replacement on change.
- disk
Size Double - required number → The size of the root volume, in gigabytes (GB). Must be at least 1. Forces replacement on change.
- disk
Type String - required string → The root volume type. For example:
ceph-ssd. Use thevkcs.getKubernetesVolumeTypesV2data source to list available types for the selected availability zone. Forces replacement on change. - node
Flavor String - required string → The flavor ID used for worker nodes. Use STD3-* flavor for clusters in PA2 availability zone. Changing this triggers a rolling upgrade of the nodes.
- parallel
Upgrade DoubleChunk - required number → The maximum percentage of nodes (1-100) that can be upgraded simultaneously during a rolling upgrade.
- scale
Type String - required string → Type of scaling for the node group. Must be either
fixed_scaleorauto_scale. Ifscale_typeisauto_scale, the conditionauto_scale_min_size<=auto_scale_max_sizemust be met. - auto
Scale DoubleMax Size - optional number → The maximum number of nodes the autoscaler may scale out to. Must be greater than or equal to 0 and also greater than or equal to
auto_scale_min_size. Required if scale_type isauto_scale. - auto
Scale DoubleMin Size - optional number → The minimum number of nodes the autoscaler can scale down to. Must be at least 0. Required when
scale_typeisauto_scale. - fixed
Scale DoubleNode Count - optional number → The desired number of nodes. Minimum value is 0. This argument is required when
scale_typeisfixed_scale. - labels Map<String,String>
- optional map of string → Kubernetes labels to apply to the nodes in this node group. Both keys and values must conform to Kubernetes label syntax.
- name String
- required string → A unique name for the node group within the cluster. Must be 3-25 characters, lowercase alphanumeric and hyphens only. Forces replacement on change.
- region String
- optional string → The region where the node group will be created. If omitted, the provider's
regionis used. Forces replacement on change. - taints
List<Kubernetes
Node Group V2Taint> - set → Kubernetes taints to apply to the nodes in this node group. Each taint must specify
key,value, andeffect— whereeffectis one of:NoSchedule,PreferNoSchedule,NoExecute. - timeouts
Kubernetes
Node Group V2Timeouts - Timeout configuration for create, update and delete operations.
- availability
Zone string - required string → The availability zone where the nodes will be placed. Forces replacement on change.
- cluster
Id string - required string → The ID of the parent cluster. Forces replacement on change.
- disk
Size number - required number → The size of the root volume, in gigabytes (GB). Must be at least 1. Forces replacement on change.
- disk
Type string - required string → The root volume type. For example:
ceph-ssd. Use thevkcs.getKubernetesVolumeTypesV2data source to list available types for the selected availability zone. Forces replacement on change. - node
Flavor string - required string → The flavor ID used for worker nodes. Use STD3-* flavor for clusters in PA2 availability zone. Changing this triggers a rolling upgrade of the nodes.
- parallel
Upgrade numberChunk - required number → The maximum percentage of nodes (1-100) that can be upgraded simultaneously during a rolling upgrade.
- scale
Type string - required string → Type of scaling for the node group. Must be either
fixed_scaleorauto_scale. Ifscale_typeisauto_scale, the conditionauto_scale_min_size<=auto_scale_max_sizemust be met. - auto
Scale numberMax Size - optional number → The maximum number of nodes the autoscaler may scale out to. Must be greater than or equal to 0 and also greater than or equal to
auto_scale_min_size. Required if scale_type isauto_scale. - auto
Scale numberMin Size - optional number → The minimum number of nodes the autoscaler can scale down to. Must be at least 0. Required when
scale_typeisauto_scale. - fixed
Scale numberNode Count - optional number → The desired number of nodes. Minimum value is 0. This argument is required when
scale_typeisfixed_scale. - labels {[key: string]: string}
- optional map of string → Kubernetes labels to apply to the nodes in this node group. Both keys and values must conform to Kubernetes label syntax.
- name string
- required string → A unique name for the node group within the cluster. Must be 3-25 characters, lowercase alphanumeric and hyphens only. Forces replacement on change.
- region string
- optional string → The region where the node group will be created. If omitted, the provider's
regionis used. Forces replacement on change. - taints
Kubernetes
Node Group V2Taint[] - set → Kubernetes taints to apply to the nodes in this node group. Each taint must specify
key,value, andeffect— whereeffectis one of:NoSchedule,PreferNoSchedule,NoExecute. - timeouts
Kubernetes
Node Group V2Timeouts - Timeout configuration for create, update and delete operations.
- availability_
zone str - required string → The availability zone where the nodes will be placed. Forces replacement on change.
- cluster_
id str - required string → The ID of the parent cluster. Forces replacement on change.
- disk_
size float - required number → The size of the root volume, in gigabytes (GB). Must be at least 1. Forces replacement on change.
- disk_
type str - required string → The root volume type. For example:
ceph-ssd. Use thevkcs.getKubernetesVolumeTypesV2data source to list available types for the selected availability zone. Forces replacement on change. - node_
flavor str - required string → The flavor ID used for worker nodes. Use STD3-* flavor for clusters in PA2 availability zone. Changing this triggers a rolling upgrade of the nodes.
- parallel_
upgrade_ floatchunk - required number → The maximum percentage of nodes (1-100) that can be upgraded simultaneously during a rolling upgrade.
- scale_
type str - required string → Type of scaling for the node group. Must be either
fixed_scaleorauto_scale. Ifscale_typeisauto_scale, the conditionauto_scale_min_size<=auto_scale_max_sizemust be met. - auto_
scale_ floatmax_ size - optional number → The maximum number of nodes the autoscaler may scale out to. Must be greater than or equal to 0 and also greater than or equal to
auto_scale_min_size. Required if scale_type isauto_scale. - auto_
scale_ floatmin_ size - optional number → The minimum number of nodes the autoscaler can scale down to. Must be at least 0. Required when
scale_typeisauto_scale. - fixed_
scale_ floatnode_ count - optional number → The desired number of nodes. Minimum value is 0. This argument is required when
scale_typeisfixed_scale. - labels Mapping[str, str]
- optional map of string → Kubernetes labels to apply to the nodes in this node group. Both keys and values must conform to Kubernetes label syntax.
- name str
- required string → A unique name for the node group within the cluster. Must be 3-25 characters, lowercase alphanumeric and hyphens only. Forces replacement on change.
- region str
- optional string → The region where the node group will be created. If omitted, the provider's
regionis used. Forces replacement on change. - taints
Sequence[Kubernetes
Node Group V2Taint Args] - set → Kubernetes taints to apply to the nodes in this node group. Each taint must specify
key,value, andeffect— whereeffectis one of:NoSchedule,PreferNoSchedule,NoExecute. - timeouts
Kubernetes
Node Group V2Timeouts Args - Timeout configuration for create, update and delete operations.
- availability
Zone String - required string → The availability zone where the nodes will be placed. Forces replacement on change.
- cluster
Id String - required string → The ID of the parent cluster. Forces replacement on change.
- disk
Size Number - required number → The size of the root volume, in gigabytes (GB). Must be at least 1. Forces replacement on change.
- disk
Type String - required string → The root volume type. For example:
ceph-ssd. Use thevkcs.getKubernetesVolumeTypesV2data source to list available types for the selected availability zone. Forces replacement on change. - node
Flavor String - required string → The flavor ID used for worker nodes. Use STD3-* flavor for clusters in PA2 availability zone. Changing this triggers a rolling upgrade of the nodes.
- parallel
Upgrade NumberChunk - required number → The maximum percentage of nodes (1-100) that can be upgraded simultaneously during a rolling upgrade.
- scale
Type String - required string → Type of scaling for the node group. Must be either
fixed_scaleorauto_scale. Ifscale_typeisauto_scale, the conditionauto_scale_min_size<=auto_scale_max_sizemust be met. - auto
Scale NumberMax Size - optional number → The maximum number of nodes the autoscaler may scale out to. Must be greater than or equal to 0 and also greater than or equal to
auto_scale_min_size. Required if scale_type isauto_scale. - auto
Scale NumberMin Size - optional number → The minimum number of nodes the autoscaler can scale down to. Must be at least 0. Required when
scale_typeisauto_scale. - fixed
Scale NumberNode Count - optional number → The desired number of nodes. Minimum value is 0. This argument is required when
scale_typeisfixed_scale. - labels Map<String>
- optional map of string → Kubernetes labels to apply to the nodes in this node group. Both keys and values must conform to Kubernetes label syntax.
- name String
- required string → A unique name for the node group within the cluster. Must be 3-25 characters, lowercase alphanumeric and hyphens only. Forces replacement on change.
- region String
- optional string → The region where the node group will be created. If omitted, the provider's
regionis used. Forces replacement on change. - taints List<Property Map>
- set → Kubernetes taints to apply to the nodes in this node group. Each taint must specify
key,value, andeffect— whereeffectis one of:NoSchedule,PreferNoSchedule,NoExecute. - timeouts Property Map
- Timeout configuration for create, update and delete operations.
Outputs
All input properties are implicitly available as output properties. Additionally, the KubernetesNodeGroupV2 resource produces the following output properties:
- Auto
Scale doubleNode Count - number → The current number of nodes in the node group. Only applicable when
scale_typeisauto_scale. This value is computed by the provider and cannot be set by the user. - Created
At string - string → The timestamp when the node group was created, in ISO 8601 format.
- Id string
- The provider-assigned unique ID for this managed resource.
- Uuid string
- string → The UUID of the node group. It is generated automatically.
- Auto
Scale float64Node Count - number → The current number of nodes in the node group. Only applicable when
scale_typeisauto_scale. This value is computed by the provider and cannot be set by the user. - Created
At string - string → The timestamp when the node group was created, in ISO 8601 format.
- Id string
- The provider-assigned unique ID for this managed resource.
- Uuid string
- string → The UUID of the node group. It is generated automatically.
- auto_
scale_ numbernode_ count - number → The current number of nodes in the node group. Only applicable when
scale_typeisauto_scale. This value is computed by the provider and cannot be set by the user. - created_
at string - string → The timestamp when the node group was created, in ISO 8601 format.
- id string
- The provider-assigned unique ID for this managed resource.
- uuid string
- string → The UUID of the node group. It is generated automatically.
- auto
Scale DoubleNode Count - number → The current number of nodes in the node group. Only applicable when
scale_typeisauto_scale. This value is computed by the provider and cannot be set by the user. - created
At String - string → The timestamp when the node group was created, in ISO 8601 format.
- id String
- The provider-assigned unique ID for this managed resource.
- uuid String
- string → The UUID of the node group. It is generated automatically.
- auto
Scale numberNode Count - number → The current number of nodes in the node group. Only applicable when
scale_typeisauto_scale. This value is computed by the provider and cannot be set by the user. - created
At string - string → The timestamp when the node group was created, in ISO 8601 format.
- id string
- The provider-assigned unique ID for this managed resource.
- uuid string
- string → The UUID of the node group. It is generated automatically.
- auto_
scale_ floatnode_ count - number → The current number of nodes in the node group. Only applicable when
scale_typeisauto_scale. This value is computed by the provider and cannot be set by the user. - created_
at str - string → The timestamp when the node group was created, in ISO 8601 format.
- id str
- The provider-assigned unique ID for this managed resource.
- uuid str
- string → The UUID of the node group. It is generated automatically.
- auto
Scale NumberNode Count - number → The current number of nodes in the node group. Only applicable when
scale_typeisauto_scale. This value is computed by the provider and cannot be set by the user. - created
At String - string → The timestamp when the node group was created, in ISO 8601 format.
- id String
- The provider-assigned unique ID for this managed resource.
- uuid String
- string → The UUID of the node group. It is generated automatically.
Look up Existing KubernetesNodeGroupV2 Resource
Get an existing KubernetesNodeGroupV2 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?: KubernetesNodeGroupV2State, opts?: CustomResourceOptions): KubernetesNodeGroupV2@staticmethod
def get(resource_name: str,
id: str,
opts: Optional[ResourceOptions] = None,
auto_scale_max_size: Optional[float] = None,
auto_scale_min_size: Optional[float] = None,
auto_scale_node_count: Optional[float] = None,
availability_zone: Optional[str] = None,
cluster_id: Optional[str] = None,
created_at: Optional[str] = None,
disk_size: Optional[float] = None,
disk_type: Optional[str] = None,
fixed_scale_node_count: Optional[float] = None,
labels: Optional[Mapping[str, str]] = None,
name: Optional[str] = None,
node_flavor: Optional[str] = None,
parallel_upgrade_chunk: Optional[float] = None,
region: Optional[str] = None,
scale_type: Optional[str] = None,
taints: Optional[Sequence[KubernetesNodeGroupV2TaintArgs]] = None,
timeouts: Optional[KubernetesNodeGroupV2TimeoutsArgs] = None,
uuid: Optional[str] = None) -> KubernetesNodeGroupV2func GetKubernetesNodeGroupV2(ctx *Context, name string, id IDInput, state *KubernetesNodeGroupV2State, opts ...ResourceOption) (*KubernetesNodeGroupV2, error)public static KubernetesNodeGroupV2 Get(string name, Input<string> id, KubernetesNodeGroupV2State? state, CustomResourceOptions? opts = null)public static KubernetesNodeGroupV2 get(String name, Output<String> id, KubernetesNodeGroupV2State state, CustomResourceOptions options)resources: _: type: vkcs:KubernetesNodeGroupV2 get: id: ${id}import {
to = vkcs_kubernetesnodegroupv2.example
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.
- Auto
Scale doubleMax Size - optional number → The maximum number of nodes the autoscaler may scale out to. Must be greater than or equal to 0 and also greater than or equal to
auto_scale_min_size. Required if scale_type isauto_scale. - Auto
Scale doubleMin Size - optional number → The minimum number of nodes the autoscaler can scale down to. Must be at least 0. Required when
scale_typeisauto_scale. - Auto
Scale doubleNode Count - number → The current number of nodes in the node group. Only applicable when
scale_typeisauto_scale. This value is computed by the provider and cannot be set by the user. - Availability
Zone string - required string → The availability zone where the nodes will be placed. Forces replacement on change.
- Cluster
Id string - required string → The ID of the parent cluster. Forces replacement on change.
- Created
At string - string → The timestamp when the node group was created, in ISO 8601 format.
- Disk
Size double - required number → The size of the root volume, in gigabytes (GB). Must be at least 1. Forces replacement on change.
- Disk
Type string - required string → The root volume type. For example:
ceph-ssd. Use thevkcs.getKubernetesVolumeTypesV2data source to list available types for the selected availability zone. Forces replacement on change. - Fixed
Scale doubleNode Count - optional number → The desired number of nodes. Minimum value is 0. This argument is required when
scale_typeisfixed_scale. - Labels Dictionary<string, string>
- optional map of string → Kubernetes labels to apply to the nodes in this node group. Both keys and values must conform to Kubernetes label syntax.
- Name string
- required string → A unique name for the node group within the cluster. Must be 3-25 characters, lowercase alphanumeric and hyphens only. Forces replacement on change.
- Node
Flavor string - required string → The flavor ID used for worker nodes. Use STD3-* flavor for clusters in PA2 availability zone. Changing this triggers a rolling upgrade of the nodes.
- Parallel
Upgrade doubleChunk - required number → The maximum percentage of nodes (1-100) that can be upgraded simultaneously during a rolling upgrade.
- Region string
- optional string → The region where the node group will be created. If omitted, the provider's
regionis used. Forces replacement on change. - Scale
Type string - required string → Type of scaling for the node group. Must be either
fixed_scaleorauto_scale. Ifscale_typeisauto_scale, the conditionauto_scale_min_size<=auto_scale_max_sizemust be met. - Taints
List<Kubernetes
Node Group V2Taint> - set → Kubernetes taints to apply to the nodes in this node group. Each taint must specify
key,value, andeffect— whereeffectis one of:NoSchedule,PreferNoSchedule,NoExecute. - Timeouts
Kubernetes
Node Group V2Timeouts - Timeout configuration for create, update and delete operations.
- Uuid string
- string → The UUID of the node group. It is generated automatically.
- Auto
Scale float64Max Size - optional number → The maximum number of nodes the autoscaler may scale out to. Must be greater than or equal to 0 and also greater than or equal to
auto_scale_min_size. Required if scale_type isauto_scale. - Auto
Scale float64Min Size - optional number → The minimum number of nodes the autoscaler can scale down to. Must be at least 0. Required when
scale_typeisauto_scale. - Auto
Scale float64Node Count - number → The current number of nodes in the node group. Only applicable when
scale_typeisauto_scale. This value is computed by the provider and cannot be set by the user. - Availability
Zone string - required string → The availability zone where the nodes will be placed. Forces replacement on change.
- Cluster
Id string - required string → The ID of the parent cluster. Forces replacement on change.
- Created
At string - string → The timestamp when the node group was created, in ISO 8601 format.
- Disk
Size float64 - required number → The size of the root volume, in gigabytes (GB). Must be at least 1. Forces replacement on change.
- Disk
Type string - required string → The root volume type. For example:
ceph-ssd. Use thevkcs.getKubernetesVolumeTypesV2data source to list available types for the selected availability zone. Forces replacement on change. - Fixed
Scale float64Node Count - optional number → The desired number of nodes. Minimum value is 0. This argument is required when
scale_typeisfixed_scale. - Labels map[string]string
- optional map of string → Kubernetes labels to apply to the nodes in this node group. Both keys and values must conform to Kubernetes label syntax.
- Name string
- required string → A unique name for the node group within the cluster. Must be 3-25 characters, lowercase alphanumeric and hyphens only. Forces replacement on change.
- Node
Flavor string - required string → The flavor ID used for worker nodes. Use STD3-* flavor for clusters in PA2 availability zone. Changing this triggers a rolling upgrade of the nodes.
- Parallel
Upgrade float64Chunk - required number → The maximum percentage of nodes (1-100) that can be upgraded simultaneously during a rolling upgrade.
- Region string
- optional string → The region where the node group will be created. If omitted, the provider's
regionis used. Forces replacement on change. - Scale
Type string - required string → Type of scaling for the node group. Must be either
fixed_scaleorauto_scale. Ifscale_typeisauto_scale, the conditionauto_scale_min_size<=auto_scale_max_sizemust be met. - Taints
[]Kubernetes
Node Group V2Taint Args - set → Kubernetes taints to apply to the nodes in this node group. Each taint must specify
key,value, andeffect— whereeffectis one of:NoSchedule,PreferNoSchedule,NoExecute. - Timeouts
Kubernetes
Node Group V2Timeouts Args - Timeout configuration for create, update and delete operations.
- Uuid string
- string → The UUID of the node group. It is generated automatically.
- auto_
scale_ numbermax_ size - optional number → The maximum number of nodes the autoscaler may scale out to. Must be greater than or equal to 0 and also greater than or equal to
auto_scale_min_size. Required if scale_type isauto_scale. - auto_
scale_ numbermin_ size - optional number → The minimum number of nodes the autoscaler can scale down to. Must be at least 0. Required when
scale_typeisauto_scale. - auto_
scale_ numbernode_ count - number → The current number of nodes in the node group. Only applicable when
scale_typeisauto_scale. This value is computed by the provider and cannot be set by the user. - availability_
zone string - required string → The availability zone where the nodes will be placed. Forces replacement on change.
- cluster_
id string - required string → The ID of the parent cluster. Forces replacement on change.
- created_
at string - string → The timestamp when the node group was created, in ISO 8601 format.
- disk_
size number - required number → The size of the root volume, in gigabytes (GB). Must be at least 1. Forces replacement on change.
- disk_
type string - required string → The root volume type. For example:
ceph-ssd. Use thevkcs.getKubernetesVolumeTypesV2data source to list available types for the selected availability zone. Forces replacement on change. - fixed_
scale_ numbernode_ count - optional number → The desired number of nodes. Minimum value is 0. This argument is required when
scale_typeisfixed_scale. - labels map(string)
- optional map of string → Kubernetes labels to apply to the nodes in this node group. Both keys and values must conform to Kubernetes label syntax.
- name string
- required string → A unique name for the node group within the cluster. Must be 3-25 characters, lowercase alphanumeric and hyphens only. Forces replacement on change.
- node_
flavor string - required string → The flavor ID used for worker nodes. Use STD3-* flavor for clusters in PA2 availability zone. Changing this triggers a rolling upgrade of the nodes.
- parallel_
upgrade_ numberchunk - required number → The maximum percentage of nodes (1-100) that can be upgraded simultaneously during a rolling upgrade.
- region string
- optional string → The region where the node group will be created. If omitted, the provider's
regionis used. Forces replacement on change. - scale_
type string - required string → Type of scaling for the node group. Must be either
fixed_scaleorauto_scale. Ifscale_typeisauto_scale, the conditionauto_scale_min_size<=auto_scale_max_sizemust be met. - taints list(object)
- set → Kubernetes taints to apply to the nodes in this node group. Each taint must specify
key,value, andeffect— whereeffectis one of:NoSchedule,PreferNoSchedule,NoExecute. - timeouts object
- Timeout configuration for create, update and delete operations.
- uuid string
- string → The UUID of the node group. It is generated automatically.
- auto
Scale DoubleMax Size - optional number → The maximum number of nodes the autoscaler may scale out to. Must be greater than or equal to 0 and also greater than or equal to
auto_scale_min_size. Required if scale_type isauto_scale. - auto
Scale DoubleMin Size - optional number → The minimum number of nodes the autoscaler can scale down to. Must be at least 0. Required when
scale_typeisauto_scale. - auto
Scale DoubleNode Count - number → The current number of nodes in the node group. Only applicable when
scale_typeisauto_scale. This value is computed by the provider and cannot be set by the user. - availability
Zone String - required string → The availability zone where the nodes will be placed. Forces replacement on change.
- cluster
Id String - required string → The ID of the parent cluster. Forces replacement on change.
- created
At String - string → The timestamp when the node group was created, in ISO 8601 format.
- disk
Size Double - required number → The size of the root volume, in gigabytes (GB). Must be at least 1. Forces replacement on change.
- disk
Type String - required string → The root volume type. For example:
ceph-ssd. Use thevkcs.getKubernetesVolumeTypesV2data source to list available types for the selected availability zone. Forces replacement on change. - fixed
Scale DoubleNode Count - optional number → The desired number of nodes. Minimum value is 0. This argument is required when
scale_typeisfixed_scale. - labels Map<String,String>
- optional map of string → Kubernetes labels to apply to the nodes in this node group. Both keys and values must conform to Kubernetes label syntax.
- name String
- required string → A unique name for the node group within the cluster. Must be 3-25 characters, lowercase alphanumeric and hyphens only. Forces replacement on change.
- node
Flavor String - required string → The flavor ID used for worker nodes. Use STD3-* flavor for clusters in PA2 availability zone. Changing this triggers a rolling upgrade of the nodes.
- parallel
Upgrade DoubleChunk - required number → The maximum percentage of nodes (1-100) that can be upgraded simultaneously during a rolling upgrade.
- region String
- optional string → The region where the node group will be created. If omitted, the provider's
regionis used. Forces replacement on change. - scale
Type String - required string → Type of scaling for the node group. Must be either
fixed_scaleorauto_scale. Ifscale_typeisauto_scale, the conditionauto_scale_min_size<=auto_scale_max_sizemust be met. - taints
List<Kubernetes
Node Group V2Taint> - set → Kubernetes taints to apply to the nodes in this node group. Each taint must specify
key,value, andeffect— whereeffectis one of:NoSchedule,PreferNoSchedule,NoExecute. - timeouts
Kubernetes
Node Group V2Timeouts - Timeout configuration for create, update and delete operations.
- uuid String
- string → The UUID of the node group. It is generated automatically.
- auto
Scale numberMax Size - optional number → The maximum number of nodes the autoscaler may scale out to. Must be greater than or equal to 0 and also greater than or equal to
auto_scale_min_size. Required if scale_type isauto_scale. - auto
Scale numberMin Size - optional number → The minimum number of nodes the autoscaler can scale down to. Must be at least 0. Required when
scale_typeisauto_scale. - auto
Scale numberNode Count - number → The current number of nodes in the node group. Only applicable when
scale_typeisauto_scale. This value is computed by the provider and cannot be set by the user. - availability
Zone string - required string → The availability zone where the nodes will be placed. Forces replacement on change.
- cluster
Id string - required string → The ID of the parent cluster. Forces replacement on change.
- created
At string - string → The timestamp when the node group was created, in ISO 8601 format.
- disk
Size number - required number → The size of the root volume, in gigabytes (GB). Must be at least 1. Forces replacement on change.
- disk
Type string - required string → The root volume type. For example:
ceph-ssd. Use thevkcs.getKubernetesVolumeTypesV2data source to list available types for the selected availability zone. Forces replacement on change. - fixed
Scale numberNode Count - optional number → The desired number of nodes. Minimum value is 0. This argument is required when
scale_typeisfixed_scale. - labels {[key: string]: string}
- optional map of string → Kubernetes labels to apply to the nodes in this node group. Both keys and values must conform to Kubernetes label syntax.
- name string
- required string → A unique name for the node group within the cluster. Must be 3-25 characters, lowercase alphanumeric and hyphens only. Forces replacement on change.
- node
Flavor string - required string → The flavor ID used for worker nodes. Use STD3-* flavor for clusters in PA2 availability zone. Changing this triggers a rolling upgrade of the nodes.
- parallel
Upgrade numberChunk - required number → The maximum percentage of nodes (1-100) that can be upgraded simultaneously during a rolling upgrade.
- region string
- optional string → The region where the node group will be created. If omitted, the provider's
regionis used. Forces replacement on change. - scale
Type string - required string → Type of scaling for the node group. Must be either
fixed_scaleorauto_scale. Ifscale_typeisauto_scale, the conditionauto_scale_min_size<=auto_scale_max_sizemust be met. - taints
Kubernetes
Node Group V2Taint[] - set → Kubernetes taints to apply to the nodes in this node group. Each taint must specify
key,value, andeffect— whereeffectis one of:NoSchedule,PreferNoSchedule,NoExecute. - timeouts
Kubernetes
Node Group V2Timeouts - Timeout configuration for create, update and delete operations.
- uuid string
- string → The UUID of the node group. It is generated automatically.
- auto_
scale_ floatmax_ size - optional number → The maximum number of nodes the autoscaler may scale out to. Must be greater than or equal to 0 and also greater than or equal to
auto_scale_min_size. Required if scale_type isauto_scale. - auto_
scale_ floatmin_ size - optional number → The minimum number of nodes the autoscaler can scale down to. Must be at least 0. Required when
scale_typeisauto_scale. - auto_
scale_ floatnode_ count - number → The current number of nodes in the node group. Only applicable when
scale_typeisauto_scale. This value is computed by the provider and cannot be set by the user. - availability_
zone str - required string → The availability zone where the nodes will be placed. Forces replacement on change.
- cluster_
id str - required string → The ID of the parent cluster. Forces replacement on change.
- created_
at str - string → The timestamp when the node group was created, in ISO 8601 format.
- disk_
size float - required number → The size of the root volume, in gigabytes (GB). Must be at least 1. Forces replacement on change.
- disk_
type str - required string → The root volume type. For example:
ceph-ssd. Use thevkcs.getKubernetesVolumeTypesV2data source to list available types for the selected availability zone. Forces replacement on change. - fixed_
scale_ floatnode_ count - optional number → The desired number of nodes. Minimum value is 0. This argument is required when
scale_typeisfixed_scale. - labels Mapping[str, str]
- optional map of string → Kubernetes labels to apply to the nodes in this node group. Both keys and values must conform to Kubernetes label syntax.
- name str
- required string → A unique name for the node group within the cluster. Must be 3-25 characters, lowercase alphanumeric and hyphens only. Forces replacement on change.
- node_
flavor str - required string → The flavor ID used for worker nodes. Use STD3-* flavor for clusters in PA2 availability zone. Changing this triggers a rolling upgrade of the nodes.
- parallel_
upgrade_ floatchunk - required number → The maximum percentage of nodes (1-100) that can be upgraded simultaneously during a rolling upgrade.
- region str
- optional string → The region where the node group will be created. If omitted, the provider's
regionis used. Forces replacement on change. - scale_
type str - required string → Type of scaling for the node group. Must be either
fixed_scaleorauto_scale. Ifscale_typeisauto_scale, the conditionauto_scale_min_size<=auto_scale_max_sizemust be met. - taints
Sequence[Kubernetes
Node Group V2Taint Args] - set → Kubernetes taints to apply to the nodes in this node group. Each taint must specify
key,value, andeffect— whereeffectis one of:NoSchedule,PreferNoSchedule,NoExecute. - timeouts
Kubernetes
Node Group V2Timeouts Args - Timeout configuration for create, update and delete operations.
- uuid str
- string → The UUID of the node group. It is generated automatically.
- auto
Scale NumberMax Size - optional number → The maximum number of nodes the autoscaler may scale out to. Must be greater than or equal to 0 and also greater than or equal to
auto_scale_min_size. Required if scale_type isauto_scale. - auto
Scale NumberMin Size - optional number → The minimum number of nodes the autoscaler can scale down to. Must be at least 0. Required when
scale_typeisauto_scale. - auto
Scale NumberNode Count - number → The current number of nodes in the node group. Only applicable when
scale_typeisauto_scale. This value is computed by the provider and cannot be set by the user. - availability
Zone String - required string → The availability zone where the nodes will be placed. Forces replacement on change.
- cluster
Id String - required string → The ID of the parent cluster. Forces replacement on change.
- created
At String - string → The timestamp when the node group was created, in ISO 8601 format.
- disk
Size Number - required number → The size of the root volume, in gigabytes (GB). Must be at least 1. Forces replacement on change.
- disk
Type String - required string → The root volume type. For example:
ceph-ssd. Use thevkcs.getKubernetesVolumeTypesV2data source to list available types for the selected availability zone. Forces replacement on change. - fixed
Scale NumberNode Count - optional number → The desired number of nodes. Minimum value is 0. This argument is required when
scale_typeisfixed_scale. - labels Map<String>
- optional map of string → Kubernetes labels to apply to the nodes in this node group. Both keys and values must conform to Kubernetes label syntax.
- name String
- required string → A unique name for the node group within the cluster. Must be 3-25 characters, lowercase alphanumeric and hyphens only. Forces replacement on change.
- node
Flavor String - required string → The flavor ID used for worker nodes. Use STD3-* flavor for clusters in PA2 availability zone. Changing this triggers a rolling upgrade of the nodes.
- parallel
Upgrade NumberChunk - required number → The maximum percentage of nodes (1-100) that can be upgraded simultaneously during a rolling upgrade.
- region String
- optional string → The region where the node group will be created. If omitted, the provider's
regionis used. Forces replacement on change. - scale
Type String - required string → Type of scaling for the node group. Must be either
fixed_scaleorauto_scale. Ifscale_typeisauto_scale, the conditionauto_scale_min_size<=auto_scale_max_sizemust be met. - taints List<Property Map>
- set → Kubernetes taints to apply to the nodes in this node group. Each taint must specify
key,value, andeffect— whereeffectis one of:NoSchedule,PreferNoSchedule,NoExecute. - timeouts Property Map
- Timeout configuration for create, update and delete operations.
- uuid String
- string → The UUID of the node group. It is generated automatically.
Supporting Types
KubernetesNodeGroupV2Taint, KubernetesNodeGroupV2TaintArgs
- Effect string
- required string → The effect of the taint. Must be one of:
NoSchedule,PreferNoSchedule,NoExecute. - Key string
- required string → The key of the taint. Must conform to Kubernetes label key syntax.
- Value string
- required string → The value of the taint. Must conform to Kubernetes label value syntax.
- Effect string
- required string → The effect of the taint. Must be one of:
NoSchedule,PreferNoSchedule,NoExecute. - Key string
- required string → The key of the taint. Must conform to Kubernetes label key syntax.
- Value string
- required string → The value of the taint. Must conform to Kubernetes label value syntax.
- effect string
- required string → The effect of the taint. Must be one of:
NoSchedule,PreferNoSchedule,NoExecute. - key string
- required string → The key of the taint. Must conform to Kubernetes label key syntax.
- value string
- required string → The value of the taint. Must conform to Kubernetes label value syntax.
- effect String
- required string → The effect of the taint. Must be one of:
NoSchedule,PreferNoSchedule,NoExecute. - key String
- required string → The key of the taint. Must conform to Kubernetes label key syntax.
- value String
- required string → The value of the taint. Must conform to Kubernetes label value syntax.
- effect string
- required string → The effect of the taint. Must be one of:
NoSchedule,PreferNoSchedule,NoExecute. - key string
- required string → The key of the taint. Must conform to Kubernetes label key syntax.
- value string
- required string → The value of the taint. Must conform to Kubernetes label value syntax.
- effect String
- required string → The effect of the taint. Must be one of:
NoSchedule,PreferNoSchedule,NoExecute. - key String
- required string → The key of the taint. Must conform to Kubernetes label key syntax.
- value String
- required string → The value of the taint. Must conform to Kubernetes label value syntax.
KubernetesNodeGroupV2Timeouts, KubernetesNodeGroupV2TimeoutsArgs
Import
Node groups can be imported using the id, e.g.
$ pulumi import vkcs:index/kubernetesNodeGroupV2:KubernetesNodeGroupV2 k8s_node_group 39WHkEHwtXy1YWqka4D5xuBJxw4
To learn more about importing existing cloud resources, see Importing resources.
Package Details
- Repository
- vkcs vk-cs/terraform-provider-vkcs
- License
- Notes
- This Pulumi package is based on the
vkcsTerraform Provider.
published on Thursday, Jun 25, 2026 by vk-cs