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 k8sCluster = vkcs.getKubernetesClusterV2({
id: k8sClusterVkcsKubernetesClusterV2.id,
});
import pulumi
import pulumi_vkcs as vkcs
k8s_cluster = vkcs.get_kubernetes_cluster_v2(id=k8s_cluster_vkcs_kubernetes_cluster_v2["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.LookupKubernetesClusterV2(ctx, &vkcs.LookupKubernetesClusterV2Args{
Id: k8sClusterVkcsKubernetesClusterV2.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 k8sCluster = Vkcs.GetKubernetesClusterV2.Invoke(new()
{
Id = k8sClusterVkcsKubernetesClusterV2.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.GetKubernetesClusterV2Args;
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 k8sCluster = VkcsFunctions.getKubernetesClusterV2(GetKubernetesClusterV2Args.builder()
.id(k8sClusterVkcsKubernetesClusterV2.id())
.build());
}
}
variables:
k8sCluster:
fn::invoke:
function: vkcs:getKubernetesClusterV2
arguments:
id: ${k8sClusterVkcsKubernetesClusterV2.id}
Using getKubernetesClusterV2
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 getKubernetesClusterV2(args: GetKubernetesClusterV2Args, opts?: InvokeOptions): Promise<GetKubernetesClusterV2Result>
function getKubernetesClusterV2Output(args: GetKubernetesClusterV2OutputArgs, opts?: InvokeOptions): Output<GetKubernetesClusterV2Result>def get_kubernetes_cluster_v2(id: Optional[str] = None,
region: Optional[str] = None,
opts: Optional[InvokeOptions] = None) -> GetKubernetesClusterV2Result
def get_kubernetes_cluster_v2_output(id: pulumi.Input[Optional[str]] = None,
region: pulumi.Input[Optional[str]] = None,
opts: Optional[InvokeOptions] = None) -> Output[GetKubernetesClusterV2Result]func LookupKubernetesClusterV2(ctx *Context, args *LookupKubernetesClusterV2Args, opts ...InvokeOption) (*LookupKubernetesClusterV2Result, error)
func LookupKubernetesClusterV2Output(ctx *Context, args *LookupKubernetesClusterV2OutputArgs, opts ...InvokeOption) LookupKubernetesClusterV2ResultOutput> Note: This function is named LookupKubernetesClusterV2 in the Go SDK.
public static class GetKubernetesClusterV2
{
public static Task<GetKubernetesClusterV2Result> InvokeAsync(GetKubernetesClusterV2Args args, InvokeOptions? opts = null)
public static Output<GetKubernetesClusterV2Result> Invoke(GetKubernetesClusterV2InvokeArgs args, InvokeOptions? opts = null)
}public static CompletableFuture<GetKubernetesClusterV2Result> getKubernetesClusterV2(GetKubernetesClusterV2Args args, InvokeOptions options)
public static Output<GetKubernetesClusterV2Result> getKubernetesClusterV2(GetKubernetesClusterV2Args args, InvokeOptions options)
fn::invoke:
function: vkcs:index/getKubernetesClusterV2:getKubernetesClusterV2
arguments:
# arguments dictionaryThe following arguments are supported:
getKubernetesClusterV2 Result
The following output properties are available:
- Api
Address string - string → The full URL of the Kubernetes API server (e.g.,
https://api.example.com:6443). - Api
Lb stringFip - string → The floating IP address of the API load balancer (present only when
public_ipistrue). - Api
Lb stringVip - string → The internal virtual IP address of the API load balancer.
- Availability
Zones List<string> - set of string → The availability zones in which the master nodes reside.
- Cluster
Type string - string → The cluster type:
standard(single AZ) orregional(three AZs). - Created
At string - string → The timestamp when the cluster was created (ISO 8601 format).
- Description string
- string → A user-provided description of the cluster.
- External
Network stringId - string → The ID of the external network providing internet access to the cluster.
- Id string
- string → The unique identifier of the node group.
- Insecure
Registries List<string> - set of string → A list of container registry addresses that can be accessed without certificate validation.
- K8s
Config string - string → The raw kubeconfig file contents used to authenticate to the Kubernetes API.
- Labels Dictionary<string, string>
- map of string → Kubernetes labels applied to the entire cluster.
- Loadbalancer
Allowed List<string>Cidrs - set of string → CIDR blocks permitted to access the cluster's API load balancer.
- Loadbalancer
Subnet stringId - string → The ID of the subnet where LoadBalancer type services are provisioned.
- Master
Count double - number → The number of master nodes (1, 3, or 5) ensuring etcd quorum.
- Master
Disks List<GetKubernetes Cluster V2Master Disk> - set → Information about the disks attached to master nodes (root, etcd, etcd-events). Each object contains
type(disk type) andsize(GB). - Master
Flavor string - string → The flavor ID (VM type) used for master nodes.
- Name string
- string → The user-assigned name of the node group.
- Network
Id string - string → The ID of the VPC network where the cluster is deployed.
- Network
Plugin string - string → The CNI network plugin in use (always
calico). - Node
Groups List<GetKubernetes Cluster V2Node Group> - set → A list of node groups associated with the cluster. Each object includes
id,name,flavor,node_count, andavailability_zone. - Pods
Ipv4Cidr string - string → The IPv4 CIDR block allocated for pod networking.
- Project
Id string - string → The VK Cloud project ID owning the cluster.
- Public
Ip bool - boolean → Indicates whether a floating IP is assigned to the cluster's API endpoint.
- Region string
- Status string
- string → The current operational status of the cluster (e.g.,
RUNNING,RECONCILING). - Subnet
Id string - string → The ID of the subnet used by the cluster's nodes.
- Uuid string
- string → The cluster's UUID.
- Version string
- string → The installed Kubernetes version (e.g.,
v1.34.2).
- Api
Address string - string → The full URL of the Kubernetes API server (e.g.,
https://api.example.com:6443). - Api
Lb stringFip - string → The floating IP address of the API load balancer (present only when
public_ipistrue). - Api
Lb stringVip - string → The internal virtual IP address of the API load balancer.
- Availability
Zones []string - set of string → The availability zones in which the master nodes reside.
- Cluster
Type string - string → The cluster type:
standard(single AZ) orregional(three AZs). - Created
At string - string → The timestamp when the cluster was created (ISO 8601 format).
- Description string
- string → A user-provided description of the cluster.
- External
Network stringId - string → The ID of the external network providing internet access to the cluster.
- Id string
- string → The unique identifier of the node group.
- Insecure
Registries []string - set of string → A list of container registry addresses that can be accessed without certificate validation.
- K8s
Config string - string → The raw kubeconfig file contents used to authenticate to the Kubernetes API.
- Labels map[string]string
- map of string → Kubernetes labels applied to the entire cluster.
- Loadbalancer
Allowed []stringCidrs - set of string → CIDR blocks permitted to access the cluster's API load balancer.
- Loadbalancer
Subnet stringId - string → The ID of the subnet where LoadBalancer type services are provisioned.
- Master
Count float64 - number → The number of master nodes (1, 3, or 5) ensuring etcd quorum.
- Master
Disks []GetKubernetes Cluster V2Master Disk - set → Information about the disks attached to master nodes (root, etcd, etcd-events). Each object contains
type(disk type) andsize(GB). - Master
Flavor string - string → The flavor ID (VM type) used for master nodes.
- Name string
- string → The user-assigned name of the node group.
- Network
Id string - string → The ID of the VPC network where the cluster is deployed.
- Network
Plugin string - string → The CNI network plugin in use (always
calico). - Node
Groups []GetKubernetes Cluster V2Node Group - set → A list of node groups associated with the cluster. Each object includes
id,name,flavor,node_count, andavailability_zone. - Pods
Ipv4Cidr string - string → The IPv4 CIDR block allocated for pod networking.
- Project
Id string - string → The VK Cloud project ID owning the cluster.
- Public
Ip bool - boolean → Indicates whether a floating IP is assigned to the cluster's API endpoint.
- Region string
- Status string
- string → The current operational status of the cluster (e.g.,
RUNNING,RECONCILING). - Subnet
Id string - string → The ID of the subnet used by the cluster's nodes.
- Uuid string
- string → The cluster's UUID.
- Version string
- string → The installed Kubernetes version (e.g.,
v1.34.2).
- api
Address String - string → The full URL of the Kubernetes API server (e.g.,
https://api.example.com:6443). - api
Lb StringFip - string → The floating IP address of the API load balancer (present only when
public_ipistrue). - api
Lb StringVip - string → The internal virtual IP address of the API load balancer.
- availability
Zones List<String> - set of string → The availability zones in which the master nodes reside.
- cluster
Type String - string → The cluster type:
standard(single AZ) orregional(three AZs). - created
At String - string → The timestamp when the cluster was created (ISO 8601 format).
- description String
- string → A user-provided description of the cluster.
- external
Network StringId - string → The ID of the external network providing internet access to the cluster.
- id String
- string → The unique identifier of the node group.
- insecure
Registries List<String> - set of string → A list of container registry addresses that can be accessed without certificate validation.
- k8s
Config String - string → The raw kubeconfig file contents used to authenticate to the Kubernetes API.
- labels Map<String,String>
- map of string → Kubernetes labels applied to the entire cluster.
- loadbalancer
Allowed List<String>Cidrs - set of string → CIDR blocks permitted to access the cluster's API load balancer.
- loadbalancer
Subnet StringId - string → The ID of the subnet where LoadBalancer type services are provisioned.
- master
Count Double - number → The number of master nodes (1, 3, or 5) ensuring etcd quorum.
- master
Disks List<GetKubernetes Cluster V2Master Disk> - set → Information about the disks attached to master nodes (root, etcd, etcd-events). Each object contains
type(disk type) andsize(GB). - master
Flavor String - string → The flavor ID (VM type) used for master nodes.
- name String
- string → The user-assigned name of the node group.
- network
Id String - string → The ID of the VPC network where the cluster is deployed.
- network
Plugin String - string → The CNI network plugin in use (always
calico). - node
Groups List<GetKubernetes Cluster V2Node Group> - set → A list of node groups associated with the cluster. Each object includes
id,name,flavor,node_count, andavailability_zone. - pods
Ipv4Cidr String - string → The IPv4 CIDR block allocated for pod networking.
- project
Id String - string → The VK Cloud project ID owning the cluster.
- public
Ip Boolean - boolean → Indicates whether a floating IP is assigned to the cluster's API endpoint.
- region String
- status String
- string → The current operational status of the cluster (e.g.,
RUNNING,RECONCILING). - subnet
Id String - string → The ID of the subnet used by the cluster's nodes.
- uuid String
- string → The cluster's UUID.
- version String
- string → The installed Kubernetes version (e.g.,
v1.34.2).
- api
Address string - string → The full URL of the Kubernetes API server (e.g.,
https://api.example.com:6443). - api
Lb stringFip - string → The floating IP address of the API load balancer (present only when
public_ipistrue). - api
Lb stringVip - string → The internal virtual IP address of the API load balancer.
- availability
Zones string[] - set of string → The availability zones in which the master nodes reside.
- cluster
Type string - string → The cluster type:
standard(single AZ) orregional(three AZs). - created
At string - string → The timestamp when the cluster was created (ISO 8601 format).
- description string
- string → A user-provided description of the cluster.
- external
Network stringId - string → The ID of the external network providing internet access to the cluster.
- id string
- string → The unique identifier of the node group.
- insecure
Registries string[] - set of string → A list of container registry addresses that can be accessed without certificate validation.
- k8s
Config string - string → The raw kubeconfig file contents used to authenticate to the Kubernetes API.
- labels {[key: string]: string}
- map of string → Kubernetes labels applied to the entire cluster.
- loadbalancer
Allowed string[]Cidrs - set of string → CIDR blocks permitted to access the cluster's API load balancer.
- loadbalancer
Subnet stringId - string → The ID of the subnet where LoadBalancer type services are provisioned.
- master
Count number - number → The number of master nodes (1, 3, or 5) ensuring etcd quorum.
- master
Disks GetKubernetes Cluster V2Master Disk[] - set → Information about the disks attached to master nodes (root, etcd, etcd-events). Each object contains
type(disk type) andsize(GB). - master
Flavor string - string → The flavor ID (VM type) used for master nodes.
- name string
- string → The user-assigned name of the node group.
- network
Id string - string → The ID of the VPC network where the cluster is deployed.
- network
Plugin string - string → The CNI network plugin in use (always
calico). - node
Groups GetKubernetes Cluster V2Node Group[] - set → A list of node groups associated with the cluster. Each object includes
id,name,flavor,node_count, andavailability_zone. - pods
Ipv4Cidr string - string → The IPv4 CIDR block allocated for pod networking.
- project
Id string - string → The VK Cloud project ID owning the cluster.
- public
Ip boolean - boolean → Indicates whether a floating IP is assigned to the cluster's API endpoint.
- region string
- status string
- string → The current operational status of the cluster (e.g.,
RUNNING,RECONCILING). - subnet
Id string - string → The ID of the subnet used by the cluster's nodes.
- uuid string
- string → The cluster's UUID.
- version string
- string → The installed Kubernetes version (e.g.,
v1.34.2).
- api_
address str - string → The full URL of the Kubernetes API server (e.g.,
https://api.example.com:6443). - api_
lb_ strfip - string → The floating IP address of the API load balancer (present only when
public_ipistrue). - api_
lb_ strvip - string → The internal virtual IP address of the API load balancer.
- availability_
zones Sequence[str] - set of string → The availability zones in which the master nodes reside.
- cluster_
type str - string → The cluster type:
standard(single AZ) orregional(three AZs). - created_
at str - string → The timestamp when the cluster was created (ISO 8601 format).
- description str
- string → A user-provided description of the cluster.
- external_
network_ strid - string → The ID of the external network providing internet access to the cluster.
- id str
- string → The unique identifier of the node group.
- insecure_
registries Sequence[str] - set of string → A list of container registry addresses that can be accessed without certificate validation.
- k8s_
config str - string → The raw kubeconfig file contents used to authenticate to the Kubernetes API.
- labels Mapping[str, str]
- map of string → Kubernetes labels applied to the entire cluster.
- loadbalancer_
allowed_ Sequence[str]cidrs - set of string → CIDR blocks permitted to access the cluster's API load balancer.
- loadbalancer_
subnet_ strid - string → The ID of the subnet where LoadBalancer type services are provisioned.
- master_
count float - number → The number of master nodes (1, 3, or 5) ensuring etcd quorum.
- master_
disks Sequence[GetKubernetes Cluster V2Master Disk] - set → Information about the disks attached to master nodes (root, etcd, etcd-events). Each object contains
type(disk type) andsize(GB). - master_
flavor str - string → The flavor ID (VM type) used for master nodes.
- name str
- string → The user-assigned name of the node group.
- network_
id str - string → The ID of the VPC network where the cluster is deployed.
- network_
plugin str - string → The CNI network plugin in use (always
calico). - node_
groups Sequence[GetKubernetes Cluster V2Node Group] - set → A list of node groups associated with the cluster. Each object includes
id,name,flavor,node_count, andavailability_zone. - pods_
ipv4_ strcidr - string → The IPv4 CIDR block allocated for pod networking.
- project_
id str - string → The VK Cloud project ID owning the cluster.
- public_
ip bool - boolean → Indicates whether a floating IP is assigned to the cluster's API endpoint.
- region str
- status str
- string → The current operational status of the cluster (e.g.,
RUNNING,RECONCILING). - subnet_
id str - string → The ID of the subnet used by the cluster's nodes.
- uuid str
- string → The cluster's UUID.
- version str
- string → The installed Kubernetes version (e.g.,
v1.34.2).
- api
Address String - string → The full URL of the Kubernetes API server (e.g.,
https://api.example.com:6443). - api
Lb StringFip - string → The floating IP address of the API load balancer (present only when
public_ipistrue). - api
Lb StringVip - string → The internal virtual IP address of the API load balancer.
- availability
Zones List<String> - set of string → The availability zones in which the master nodes reside.
- cluster
Type String - string → The cluster type:
standard(single AZ) orregional(three AZs). - created
At String - string → The timestamp when the cluster was created (ISO 8601 format).
- description String
- string → A user-provided description of the cluster.
- external
Network StringId - string → The ID of the external network providing internet access to the cluster.
- id String
- string → The unique identifier of the node group.
- insecure
Registries List<String> - set of string → A list of container registry addresses that can be accessed without certificate validation.
- k8s
Config String - string → The raw kubeconfig file contents used to authenticate to the Kubernetes API.
- labels Map<String>
- map of string → Kubernetes labels applied to the entire cluster.
- loadbalancer
Allowed List<String>Cidrs - set of string → CIDR blocks permitted to access the cluster's API load balancer.
- loadbalancer
Subnet StringId - string → The ID of the subnet where LoadBalancer type services are provisioned.
- master
Count Number - number → The number of master nodes (1, 3, or 5) ensuring etcd quorum.
- master
Disks List<Property Map> - set → Information about the disks attached to master nodes (root, etcd, etcd-events). Each object contains
type(disk type) andsize(GB). - master
Flavor String - string → The flavor ID (VM type) used for master nodes.
- name String
- string → The user-assigned name of the node group.
- network
Id String - string → The ID of the VPC network where the cluster is deployed.
- network
Plugin String - string → The CNI network plugin in use (always
calico). - node
Groups List<Property Map> - set → A list of node groups associated with the cluster. Each object includes
id,name,flavor,node_count, andavailability_zone. - pods
Ipv4Cidr String - string → The IPv4 CIDR block allocated for pod networking.
- project
Id String - string → The VK Cloud project ID owning the cluster.
- public
Ip Boolean - boolean → Indicates whether a floating IP is assigned to the cluster's API endpoint.
- region String
- status String
- string → The current operational status of the cluster (e.g.,
RUNNING,RECONCILING). - subnet
Id String - string → The ID of the subnet used by the cluster's nodes.
- uuid String
- string → The cluster's UUID.
- version String
- string → The installed Kubernetes version (e.g.,
v1.34.2).
Supporting Types
GetKubernetesClusterV2MasterDisk
GetKubernetesClusterV2NodeGroup
- Availability
Zone string - string → The availability zone where the nodes of this group are deployed.
- Flavor string
- string → The flavor ID (VM type) used for each worker node in this group.
- Id string
- required string → The cluster's ID. Used to fetch a specific cluster.
- Name string
- string → The user-assigned name of the node group.
- Node
Count double - number → The current number of worker nodes in the group. This value reflects the actual node count, accounting for both manual scaling and autoscaling actions.
- Availability
Zone string - string → The availability zone where the nodes of this group are deployed.
- Flavor string
- string → The flavor ID (VM type) used for each worker node in this group.
- Id string
- required string → The cluster's ID. Used to fetch a specific cluster.
- Name string
- string → The user-assigned name of the node group.
- Node
Count float64 - number → The current number of worker nodes in the group. This value reflects the actual node count, accounting for both manual scaling and autoscaling actions.
- availability
Zone String - string → The availability zone where the nodes of this group are deployed.
- flavor String
- string → The flavor ID (VM type) used for each worker node in this group.
- id String
- required string → The cluster's ID. Used to fetch a specific cluster.
- name String
- string → The user-assigned name of the node group.
- node
Count Double - number → The current number of worker nodes in the group. This value reflects the actual node count, accounting for both manual scaling and autoscaling actions.
- availability
Zone string - string → The availability zone where the nodes of this group are deployed.
- flavor string
- string → The flavor ID (VM type) used for each worker node in this group.
- id string
- required string → The cluster's ID. Used to fetch a specific cluster.
- name string
- string → The user-assigned name of the node group.
- node
Count number - number → The current number of worker nodes in the group. This value reflects the actual node count, accounting for both manual scaling and autoscaling actions.
- availability_
zone str - string → The availability zone where the nodes of this group are deployed.
- flavor str
- string → The flavor ID (VM type) used for each worker node in this group.
- id str
- required string → The cluster's ID. Used to fetch a specific cluster.
- name str
- string → The user-assigned name of the node group.
- node_
count float - number → The current number of worker nodes in the group. This value reflects the actual node count, accounting for both manual scaling and autoscaling actions.
- availability
Zone String - string → The availability zone where the nodes of this group are deployed.
- flavor String
- string → The flavor ID (VM type) used for each worker node in this group.
- id String
- required string → The cluster's ID. Used to fetch a specific cluster.
- name String
- string → The user-assigned name of the node group.
- node
Count Number - number → The current number of worker nodes in the group. This value reflects the actual node count, accounting for both manual scaling and autoscaling actions.
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
