Viewing docs for vkcs 0.15.0
published on Tuesday, May 5, 2026 by vk-cs
published on Tuesday, May 5, 2026 by vk-cs
Viewing docs for vkcs 0.15.0
published on Tuesday, May 5, 2026 by vk-cs
published on Tuesday, May 5, 2026 by vk-cs
Example Usage
import * as pulumi from "@pulumi/pulumi";
import * as vkcs from "@pulumi/vkcs";
const nodeGroup = vkcs.getKubernetesNodeGroupV2({
id: k8sNodeGroup.id,
});
import pulumi
import pulumi_vkcs as vkcs
node_group = vkcs.get_kubernetes_node_group_v2(id=k8s_node_group["id"])
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.LookupKubernetesNodeGroupV2(ctx, &vkcs.LookupKubernetesNodeGroupV2Args{
Id: k8sNodeGroup.Id,
}, nil)
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 nodeGroup = Vkcs.GetKubernetesNodeGroupV2.Invoke(new()
{
Id = k8sNodeGroup.Id,
});
});
package generated_program;
import com.pulumi.Context;
import com.pulumi.Pulumi;
import com.pulumi.core.Output;
import com.pulumi.vkcs.VkcsFunctions;
import com.pulumi.vkcs.inputs.GetKubernetesNodeGroupV2Args;
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) {
final var nodeGroup = VkcsFunctions.getKubernetesNodeGroupV2(GetKubernetesNodeGroupV2Args.builder()
.id(k8sNodeGroup.id())
.build());
}
}
variables:
nodeGroup:
fn::invoke:
function: vkcs:getKubernetesNodeGroupV2
arguments:
id: ${k8sNodeGroup.id}
Using getKubernetesNodeGroupV2
Two invocation forms are available. The direct form accepts plain arguments and either blocks until the result value is available, or returns a Promise-wrapped result. The output form accepts Input-wrapped arguments and returns an Output-wrapped result.
function getKubernetesNodeGroupV2(args: GetKubernetesNodeGroupV2Args, opts?: InvokeOptions): Promise<GetKubernetesNodeGroupV2Result>
function getKubernetesNodeGroupV2Output(args: GetKubernetesNodeGroupV2OutputArgs, opts?: InvokeOptions): Output<GetKubernetesNodeGroupV2Result>def get_kubernetes_node_group_v2(id: Optional[str] = None,
region: Optional[str] = None,
opts: Optional[InvokeOptions] = None) -> GetKubernetesNodeGroupV2Result
def get_kubernetes_node_group_v2_output(id: pulumi.Input[Optional[str]] = None,
region: pulumi.Input[Optional[str]] = None,
opts: Optional[InvokeOptions] = None) -> Output[GetKubernetesNodeGroupV2Result]func LookupKubernetesNodeGroupV2(ctx *Context, args *LookupKubernetesNodeGroupV2Args, opts ...InvokeOption) (*LookupKubernetesNodeGroupV2Result, error)
func LookupKubernetesNodeGroupV2Output(ctx *Context, args *LookupKubernetesNodeGroupV2OutputArgs, opts ...InvokeOption) LookupKubernetesNodeGroupV2ResultOutput> Note: This function is named LookupKubernetesNodeGroupV2 in the Go SDK.
public static class GetKubernetesNodeGroupV2
{
public static Task<GetKubernetesNodeGroupV2Result> InvokeAsync(GetKubernetesNodeGroupV2Args args, InvokeOptions? opts = null)
public static Output<GetKubernetesNodeGroupV2Result> Invoke(GetKubernetesNodeGroupV2InvokeArgs args, InvokeOptions? opts = null)
}public static CompletableFuture<GetKubernetesNodeGroupV2Result> getKubernetesNodeGroupV2(GetKubernetesNodeGroupV2Args args, InvokeOptions options)
public static Output<GetKubernetesNodeGroupV2Result> getKubernetesNodeGroupV2(GetKubernetesNodeGroupV2Args args, InvokeOptions options)
fn::invoke:
function: vkcs:index/getKubernetesNodeGroupV2:getKubernetesNodeGroupV2
arguments:
# arguments dictionaryThe following arguments are supported:
getKubernetesNodeGroupV2 Result
The following output properties are available:
- Auto
Scale doubleMax Size - number → The maximum allowed node count for
auto_scale. - Auto
Scale doubleMin Size - number → The minimum allowed node count for
auto_scale. - Auto
Scale doubleNode Count - number → The current number of nodes when
scale_typeisauto_scale. - Availability
Zone string - string → The availability zone where the nodes are located.
- Cluster
Id string - string → The ID of the parent Kubernetes cluster.
- Created
At string - string → The creation timestamp of the node group (ISO 8601 format).
- Disk
Size double - number → The size of the root volume in GB.
- Disk
Type string - string → The type of root volume attached to each node (e.g.,
ceph-ssd). - Fixed
Scale doubleNode Count - number → The desired number of nodes when
scale_typeisfixed_scale. - Id string
- Labels Dictionary<string, string>
- map of string → Kubernetes labels applied to the nodes in this group.
- Name string
- string → The user-assigned name of the node group.
- Node
Flavor string - string → The flavor ID (VM type) of each node in the group.
- Parallel
Upgrade doubleChunk - number → The maximum percentage of nodes that can be upgraded simultaneously (1-100).
- Region string
- Scale
Type string - string → The scaling strategy:
fixed_scale(static node count) orauto_scale(dynamic based on load). - Taints
List<Get
Kubernetes Node Group V2Taint> - set → Taints applied to the nodes. Each taint contains
key,value, andeffect(e.g.,NoSchedule). - Uuid string
- string → The node group's UUID
- Auto
Scale float64Max Size - number → The maximum allowed node count for
auto_scale. - Auto
Scale float64Min Size - number → The minimum allowed node count for
auto_scale. - Auto
Scale float64Node Count - number → The current number of nodes when
scale_typeisauto_scale. - Availability
Zone string - string → The availability zone where the nodes are located.
- Cluster
Id string - string → The ID of the parent Kubernetes cluster.
- Created
At string - string → The creation timestamp of the node group (ISO 8601 format).
- Disk
Size float64 - number → The size of the root volume in GB.
- Disk
Type string - string → The type of root volume attached to each node (e.g.,
ceph-ssd). - Fixed
Scale float64Node Count - number → The desired number of nodes when
scale_typeisfixed_scale. - Id string
- Labels map[string]string
- map of string → Kubernetes labels applied to the nodes in this group.
- Name string
- string → The user-assigned name of the node group.
- Node
Flavor string - string → The flavor ID (VM type) of each node in the group.
- Parallel
Upgrade float64Chunk - number → The maximum percentage of nodes that can be upgraded simultaneously (1-100).
- Region string
- Scale
Type string - string → The scaling strategy:
fixed_scale(static node count) orauto_scale(dynamic based on load). - Taints
[]Get
Kubernetes Node Group V2Taint - set → Taints applied to the nodes. Each taint contains
key,value, andeffect(e.g.,NoSchedule). - Uuid string
- string → The node group's UUID
- auto
Scale DoubleMax Size - number → The maximum allowed node count for
auto_scale. - auto
Scale DoubleMin Size - number → The minimum allowed node count for
auto_scale. - auto
Scale DoubleNode Count - number → The current number of nodes when
scale_typeisauto_scale. - availability
Zone String - string → The availability zone where the nodes are located.
- cluster
Id String - string → The ID of the parent Kubernetes cluster.
- created
At String - string → The creation timestamp of the node group (ISO 8601 format).
- disk
Size Double - number → The size of the root volume in GB.
- disk
Type String - string → The type of root volume attached to each node (e.g.,
ceph-ssd). - fixed
Scale DoubleNode Count - number → The desired number of nodes when
scale_typeisfixed_scale. - id String
- labels Map<String,String>
- map of string → Kubernetes labels applied to the nodes in this group.
- name String
- string → The user-assigned name of the node group.
- node
Flavor String - string → The flavor ID (VM type) of each node in the group.
- parallel
Upgrade DoubleChunk - number → The maximum percentage of nodes that can be upgraded simultaneously (1-100).
- region String
- scale
Type String - string → The scaling strategy:
fixed_scale(static node count) orauto_scale(dynamic based on load). - taints
List<Get
Kubernetes Node Group V2Taint> - set → Taints applied to the nodes. Each taint contains
key,value, andeffect(e.g.,NoSchedule). - uuid String
- string → The node group's UUID
- auto
Scale numberMax Size - number → The maximum allowed node count for
auto_scale. - auto
Scale numberMin Size - number → The minimum allowed node count for
auto_scale. - auto
Scale numberNode Count - number → The current number of nodes when
scale_typeisauto_scale. - availability
Zone string - string → The availability zone where the nodes are located.
- cluster
Id string - string → The ID of the parent Kubernetes cluster.
- created
At string - string → The creation timestamp of the node group (ISO 8601 format).
- disk
Size number - number → The size of the root volume in GB.
- disk
Type string - string → The type of root volume attached to each node (e.g.,
ceph-ssd). - fixed
Scale numberNode Count - number → The desired number of nodes when
scale_typeisfixed_scale. - id string
- labels {[key: string]: string}
- map of string → Kubernetes labels applied to the nodes in this group.
- name string
- string → The user-assigned name of the node group.
- node
Flavor string - string → The flavor ID (VM type) of each node in the group.
- parallel
Upgrade numberChunk - number → The maximum percentage of nodes that can be upgraded simultaneously (1-100).
- region string
- scale
Type string - string → The scaling strategy:
fixed_scale(static node count) orauto_scale(dynamic based on load). - taints
Get
Kubernetes Node Group V2Taint[] - set → Taints applied to the nodes. Each taint contains
key,value, andeffect(e.g.,NoSchedule). - uuid string
- string → The node group's UUID
- auto_
scale_ floatmax_ size - number → The maximum allowed node count for
auto_scale. - auto_
scale_ floatmin_ size - number → The minimum allowed node count for
auto_scale. - auto_
scale_ floatnode_ count - number → The current number of nodes when
scale_typeisauto_scale. - availability_
zone str - string → The availability zone where the nodes are located.
- cluster_
id str - string → The ID of the parent Kubernetes cluster.
- created_
at str - string → The creation timestamp of the node group (ISO 8601 format).
- disk_
size float - number → The size of the root volume in GB.
- disk_
type str - string → The type of root volume attached to each node (e.g.,
ceph-ssd). - fixed_
scale_ floatnode_ count - number → The desired number of nodes when
scale_typeisfixed_scale. - id str
- labels Mapping[str, str]
- map of string → Kubernetes labels applied to the nodes in this group.
- name str
- string → The user-assigned name of the node group.
- node_
flavor str - string → The flavor ID (VM type) of each node in the group.
- parallel_
upgrade_ floatchunk - number → The maximum percentage of nodes that can be upgraded simultaneously (1-100).
- region str
- scale_
type str - string → The scaling strategy:
fixed_scale(static node count) orauto_scale(dynamic based on load). - taints
Sequence[Get
Kubernetes Node Group V2Taint] - set → Taints applied to the nodes. Each taint contains
key,value, andeffect(e.g.,NoSchedule). - uuid str
- string → The node group's UUID
- auto
Scale NumberMax Size - number → The maximum allowed node count for
auto_scale. - auto
Scale NumberMin Size - number → The minimum allowed node count for
auto_scale. - auto
Scale NumberNode Count - number → The current number of nodes when
scale_typeisauto_scale. - availability
Zone String - string → The availability zone where the nodes are located.
- cluster
Id String - string → The ID of the parent Kubernetes cluster.
- created
At String - string → The creation timestamp of the node group (ISO 8601 format).
- disk
Size Number - number → The size of the root volume in GB.
- disk
Type String - string → The type of root volume attached to each node (e.g.,
ceph-ssd). - fixed
Scale NumberNode Count - number → The desired number of nodes when
scale_typeisfixed_scale. - id String
- labels Map<String>
- map of string → Kubernetes labels applied to the nodes in this group.
- name String
- string → The user-assigned name of the node group.
- node
Flavor String - string → The flavor ID (VM type) of each node in the group.
- parallel
Upgrade NumberChunk - number → The maximum percentage of nodes that can be upgraded simultaneously (1-100).
- region String
- scale
Type String - string → The scaling strategy:
fixed_scale(static node count) orauto_scale(dynamic based on load). - taints List<Property Map>
- set → Taints applied to the nodes. Each taint contains
key,value, andeffect(e.g.,NoSchedule). - uuid String
- string → The node group's UUID
Supporting Types
GetKubernetesNodeGroupV2Taint
- Effect string
- string → The effect of the taint. Allowed values are:
NoSchedule,PreferNoSchedule,NoExecute. - Key string
- string → The taint key. Must conform to Kubernetes label key syntax (e.g.,
node.kubernetes.io/unreachable). - Value string
- string → The taint value. Must conform to Kubernetes label value syntax (e.g.,
production).
- Effect string
- string → The effect of the taint. Allowed values are:
NoSchedule,PreferNoSchedule,NoExecute. - Key string
- string → The taint key. Must conform to Kubernetes label key syntax (e.g.,
node.kubernetes.io/unreachable). - Value string
- string → The taint value. Must conform to Kubernetes label value syntax (e.g.,
production).
- effect String
- string → The effect of the taint. Allowed values are:
NoSchedule,PreferNoSchedule,NoExecute. - key String
- string → The taint key. Must conform to Kubernetes label key syntax (e.g.,
node.kubernetes.io/unreachable). - value String
- string → The taint value. Must conform to Kubernetes label value syntax (e.g.,
production).
- effect string
- string → The effect of the taint. Allowed values are:
NoSchedule,PreferNoSchedule,NoExecute. - key string
- string → The taint key. Must conform to Kubernetes label key syntax (e.g.,
node.kubernetes.io/unreachable). - value string
- string → The taint value. Must conform to Kubernetes label value syntax (e.g.,
production).
- effect str
- string → The effect of the taint. Allowed values are:
NoSchedule,PreferNoSchedule,NoExecute. - key str
- string → The taint key. Must conform to Kubernetes label key syntax (e.g.,
node.kubernetes.io/unreachable). - value str
- string → The taint value. Must conform to Kubernetes label value syntax (e.g.,
production).
- effect String
- string → The effect of the taint. Allowed values are:
NoSchedule,PreferNoSchedule,NoExecute. - key String
- string → The taint key. Must conform to Kubernetes label key syntax (e.g.,
node.kubernetes.io/unreachable). - value String
- string → The taint value. Must conform to Kubernetes label value syntax (e.g.,
production).
Package Details
- Repository
- vkcs vk-cs/terraform-provider-vkcs
- License
- Notes
- This Pulumi package is based on the
vkcsTerraform Provider.
Viewing docs for vkcs 0.15.0
published on Tuesday, May 5, 2026 by vk-cs
published on Tuesday, May 5, 2026 by vk-cs
