tencentcloud 1.82.34 published on Wednesday, Nov 5, 2025 by tencentcloudstack
tencentcloud.getKubernetesClusters
Start a Neo task
Explain and create a tencentcloud.getKubernetesClusters resource
tencentcloud 1.82.34 published on Wednesday, Nov 5, 2025 by tencentcloudstack
Use this data source to query detailed information of kubernetes clusters.
Example Usage
import * as pulumi from "@pulumi/pulumi";
import * as tencentcloud from "@pulumi/tencentcloud";
const name = tencentcloud.getKubernetesClusters({
clusterName: "terraform",
});
const id = tencentcloud.getKubernetesClusters({
clusterId: "cls-godovr32",
});
import pulumi
import pulumi_tencentcloud as tencentcloud
name = tencentcloud.get_kubernetes_clusters(cluster_name="terraform")
id = tencentcloud.get_kubernetes_clusters(cluster_id="cls-godovr32")
package main
import (
"github.com/pulumi/pulumi-terraform-provider/sdks/go/tencentcloud/tencentcloud"
"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
)
func main() {
pulumi.Run(func(ctx *pulumi.Context) error {
_, err := tencentcloud.GetKubernetesClusters(ctx, &tencentcloud.GetKubernetesClustersArgs{
ClusterName: pulumi.StringRef("terraform"),
}, nil)
if err != nil {
return err
}
_, err = tencentcloud.GetKubernetesClusters(ctx, &tencentcloud.GetKubernetesClustersArgs{
ClusterId: pulumi.StringRef("cls-godovr32"),
}, nil)
if err != nil {
return err
}
return nil
})
}
using System.Collections.Generic;
using System.Linq;
using Pulumi;
using Tencentcloud = Pulumi.Tencentcloud;
return await Deployment.RunAsync(() =>
{
var name = Tencentcloud.GetKubernetesClusters.Invoke(new()
{
ClusterName = "terraform",
});
var id = Tencentcloud.GetKubernetesClusters.Invoke(new()
{
ClusterId = "cls-godovr32",
});
});
package generated_program;
import com.pulumi.Context;
import com.pulumi.Pulumi;
import com.pulumi.core.Output;
import com.pulumi.tencentcloud.TencentcloudFunctions;
import com.pulumi.tencentcloud.inputs.GetKubernetesClustersArgs;
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 name = TencentcloudFunctions.getKubernetesClusters(GetKubernetesClustersArgs.builder()
.clusterName("terraform")
.build());
final var id = TencentcloudFunctions.getKubernetesClusters(GetKubernetesClustersArgs.builder()
.clusterId("cls-godovr32")
.build());
}
}
variables:
name:
fn::invoke:
function: tencentcloud:getKubernetesClusters
arguments:
clusterName: terraform
id:
fn::invoke:
function: tencentcloud:getKubernetesClusters
arguments:
clusterId: cls-godovr32
Using getKubernetesClusters
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 getKubernetesClusters(args: GetKubernetesClustersArgs, opts?: InvokeOptions): Promise<GetKubernetesClustersResult>
function getKubernetesClustersOutput(args: GetKubernetesClustersOutputArgs, opts?: InvokeOptions): Output<GetKubernetesClustersResult>def get_kubernetes_clusters(cluster_id: Optional[str] = None,
cluster_name: Optional[str] = None,
id: Optional[str] = None,
kube_config_file_prefix: Optional[str] = None,
result_output_file: Optional[str] = None,
tags: Optional[Mapping[str, str]] = None,
opts: Optional[InvokeOptions] = None) -> GetKubernetesClustersResult
def get_kubernetes_clusters_output(cluster_id: Optional[pulumi.Input[str]] = None,
cluster_name: Optional[pulumi.Input[str]] = None,
id: Optional[pulumi.Input[str]] = None,
kube_config_file_prefix: Optional[pulumi.Input[str]] = None,
result_output_file: Optional[pulumi.Input[str]] = None,
tags: Optional[pulumi.Input[Mapping[str, pulumi.Input[str]]]] = None,
opts: Optional[InvokeOptions] = None) -> Output[GetKubernetesClustersResult]func GetKubernetesClusters(ctx *Context, args *GetKubernetesClustersArgs, opts ...InvokeOption) (*GetKubernetesClustersResult, error)
func GetKubernetesClustersOutput(ctx *Context, args *GetKubernetesClustersOutputArgs, opts ...InvokeOption) GetKubernetesClustersResultOutput> Note: This function is named GetKubernetesClusters in the Go SDK.
public static class GetKubernetesClusters
{
public static Task<GetKubernetesClustersResult> InvokeAsync(GetKubernetesClustersArgs args, InvokeOptions? opts = null)
public static Output<GetKubernetesClustersResult> Invoke(GetKubernetesClustersInvokeArgs args, InvokeOptions? opts = null)
}public static CompletableFuture<GetKubernetesClustersResult> getKubernetesClusters(GetKubernetesClustersArgs args, InvokeOptions options)
public static Output<GetKubernetesClustersResult> getKubernetesClusters(GetKubernetesClustersArgs args, InvokeOptions options)
fn::invoke:
function: tencentcloud:index/getKubernetesClusters:getKubernetesClusters
arguments:
# arguments dictionaryThe following arguments are supported:
- Cluster
Id string - ID of the cluster. Conflict with cluster_name, can not be set at the same time.
- Cluster
Name string - Name of the cluster. Conflict with cluster_id, can not be set at the same time.
- Id string
- Kube
Config stringFile Prefix - The path prefix of kube config. You can store KubeConfig in a specified directory by specifying this field, such as ~/.kube/k8s, then public network access will use ~/.kube/k8s-clusterID-kubeconfig naming, and intranet access will use ~/.kube /k8s-clusterID-kubeconfig-intranet naming. If this field is not set, the KubeConfig will not be exported.
- Result
Output stringFile - Used to save results.
- Dictionary<string, string>
- Tags of the cluster.
- Cluster
Id string - ID of the cluster. Conflict with cluster_name, can not be set at the same time.
- Cluster
Name string - Name of the cluster. Conflict with cluster_id, can not be set at the same time.
- Id string
- Kube
Config stringFile Prefix - The path prefix of kube config. You can store KubeConfig in a specified directory by specifying this field, such as ~/.kube/k8s, then public network access will use ~/.kube/k8s-clusterID-kubeconfig naming, and intranet access will use ~/.kube /k8s-clusterID-kubeconfig-intranet naming. If this field is not set, the KubeConfig will not be exported.
- Result
Output stringFile - Used to save results.
- map[string]string
- Tags of the cluster.
- cluster
Id String - ID of the cluster. Conflict with cluster_name, can not be set at the same time.
- cluster
Name String - Name of the cluster. Conflict with cluster_id, can not be set at the same time.
- id String
- kube
Config StringFile Prefix - The path prefix of kube config. You can store KubeConfig in a specified directory by specifying this field, such as ~/.kube/k8s, then public network access will use ~/.kube/k8s-clusterID-kubeconfig naming, and intranet access will use ~/.kube /k8s-clusterID-kubeconfig-intranet naming. If this field is not set, the KubeConfig will not be exported.
- result
Output StringFile - Used to save results.
- Map<String,String>
- Tags of the cluster.
- cluster
Id string - ID of the cluster. Conflict with cluster_name, can not be set at the same time.
- cluster
Name string - Name of the cluster. Conflict with cluster_id, can not be set at the same time.
- id string
- kube
Config stringFile Prefix - The path prefix of kube config. You can store KubeConfig in a specified directory by specifying this field, such as ~/.kube/k8s, then public network access will use ~/.kube/k8s-clusterID-kubeconfig naming, and intranet access will use ~/.kube /k8s-clusterID-kubeconfig-intranet naming. If this field is not set, the KubeConfig will not be exported.
- result
Output stringFile - Used to save results.
- {[key: string]: string}
- Tags of the cluster.
- cluster_
id str - ID of the cluster. Conflict with cluster_name, can not be set at the same time.
- cluster_
name str - Name of the cluster. Conflict with cluster_id, can not be set at the same time.
- id str
- kube_
config_ strfile_ prefix - The path prefix of kube config. You can store KubeConfig in a specified directory by specifying this field, such as ~/.kube/k8s, then public network access will use ~/.kube/k8s-clusterID-kubeconfig naming, and intranet access will use ~/.kube /k8s-clusterID-kubeconfig-intranet naming. If this field is not set, the KubeConfig will not be exported.
- result_
output_ strfile - Used to save results.
- Mapping[str, str]
- Tags of the cluster.
- cluster
Id String - ID of the cluster. Conflict with cluster_name, can not be set at the same time.
- cluster
Name String - Name of the cluster. Conflict with cluster_id, can not be set at the same time.
- id String
- kube
Config StringFile Prefix - The path prefix of kube config. You can store KubeConfig in a specified directory by specifying this field, such as ~/.kube/k8s, then public network access will use ~/.kube/k8s-clusterID-kubeconfig naming, and intranet access will use ~/.kube /k8s-clusterID-kubeconfig-intranet naming. If this field is not set, the KubeConfig will not be exported.
- result
Output StringFile - Used to save results.
- Map<String>
- Tags of the cluster.
getKubernetesClusters Result
The following output properties are available:
- Id string
- Lists
List<Get
Kubernetes Clusters List> - An information list of kubernetes clusters. Each element contains the following attributes:
- Cluster
Id string - ID of cluster.
- Cluster
Name string - Name of the cluster.
- Kube
Config stringFile Prefix - Result
Output stringFile - Dictionary<string, string>
- Tags of the cluster.
- Id string
- Lists
[]Get
Kubernetes Clusters List - An information list of kubernetes clusters. Each element contains the following attributes:
- Cluster
Id string - ID of cluster.
- Cluster
Name string - Name of the cluster.
- Kube
Config stringFile Prefix - Result
Output stringFile - map[string]string
- Tags of the cluster.
- id String
- lists
List<Get
Kubernetes Clusters List> - An information list of kubernetes clusters. Each element contains the following attributes:
- cluster
Id String - ID of cluster.
- cluster
Name String - Name of the cluster.
- kube
Config StringFile Prefix - result
Output StringFile - Map<String,String>
- Tags of the cluster.
- id string
- lists
Get
Kubernetes Clusters List[] - An information list of kubernetes clusters. Each element contains the following attributes:
- cluster
Id string - ID of cluster.
- cluster
Name string - Name of the cluster.
- kube
Config stringFile Prefix - result
Output stringFile - {[key: string]: string}
- Tags of the cluster.
- id str
- lists
Sequence[Get
Kubernetes Clusters List] - An information list of kubernetes clusters. Each element contains the following attributes:
- cluster_
id str - ID of cluster.
- cluster_
name str - Name of the cluster.
- kube_
config_ strfile_ prefix - result_
output_ strfile - Mapping[str, str]
- Tags of the cluster.
- id String
- lists List<Property Map>
- An information list of kubernetes clusters. Each element contains the following attributes:
- cluster
Id String - ID of cluster.
- cluster
Name String - Name of the cluster.
- kube
Config StringFile Prefix - result
Output StringFile - Map<String>
- Tags of the cluster.
Supporting Types
GetKubernetesClustersList
- Cdc
Id string - CDC ID.
- string
- The certificate used for access.
- Claim
Expired doubleSeconds - The expired seconds to recycle ENI.
- Cluster
As boolEnabled - Indicates whether to enable cluster node auto scaler.
- Cluster
Cidr string - A network address block of the cluster. Different from vpc cidr and cidr of other clusters within this VPC.
- Cluster
Deploy stringType - Deployment type of the cluster.
- Cluster
Desc string - Description of the cluster.
- Cluster
External stringEndpoint - External network address to access.
- Cluster
Extra List<GetArgs Kubernetes Clusters List Cluster Extra Arg> - Customized parameters for master component.
- Cluster
Id string - ID of the cluster. Conflict with cluster_name, can not be set at the same time.
- Cluster
Ipvs bool - Indicates whether ipvs is enabled.
- Cluster
Max doublePod Num - The maximum number of Pods per node in the cluster.
- Cluster
Max doubleService Num - The maximum number of services in the cluster.
- Cluster
Name string - Name of the cluster. Conflict with cluster_id, can not be set at the same time.
- Cluster
Node doubleNum - Number of nodes in the cluster.
- Cluster
Os string - Operating system of the cluster.
- Cluster
Version string - Version of the cluster.
- Container
Runtime string - (Deprecated) It has been deprecated from version 1.18.1. Container runtime of the cluster.
- Deletion
Protection bool - Indicates whether cluster deletion protection is enabled.
- Domain string
- Domain name for access.
- Eni
Subnet List<string>Ids - Subnet IDs for cluster with VPC-CNI network mode.
- Ignore
Cluster boolCidr Conflict - Indicates whether to ignore the cluster cidr conflict error.
- Is
Non boolStatic Ip Mode - Indicates whether non-static ip mode is enabled.
- Kube
Config string - Kubernetes config.
- Kube
Config stringIntranet - Kubernetes config of private network.
- Kube
Proxy stringMode - Cluster kube-proxy mode.
- Network
Type string - Cluster network type.
- Node
Name stringType - Node name type of cluster.
- Password string
- Password of account.
- Pgw
Endpoint string - The Intranet address used for access.
- Project
Id double - Project ID of the cluster.
- Security
Policies List<string> - Access policy.
- Service
Cidr string - The network address block of the cluster.
- Dictionary<string, string>
- Tags of the cluster.
- User
Name string - User name of account.
- Vpc
Cni stringType - Distinguish between shared network card multi-IP mode and independent network card mode.
- Vpc
Id string - Vpc ID of the cluster.
- Worker
Instances List<GetLists Kubernetes Clusters List Worker Instances List> - An information list of cvm within the WORKER clusters. Each element contains the following attributes.
- Cdc
Id string - CDC ID.
- string
- The certificate used for access.
- Claim
Expired float64Seconds - The expired seconds to recycle ENI.
- Cluster
As boolEnabled - Indicates whether to enable cluster node auto scaler.
- Cluster
Cidr string - A network address block of the cluster. Different from vpc cidr and cidr of other clusters within this VPC.
- Cluster
Deploy stringType - Deployment type of the cluster.
- Cluster
Desc string - Description of the cluster.
- Cluster
External stringEndpoint - External network address to access.
- Cluster
Extra []GetArgs Kubernetes Clusters List Cluster Extra Arg - Customized parameters for master component.
- Cluster
Id string - ID of the cluster. Conflict with cluster_name, can not be set at the same time.
- Cluster
Ipvs bool - Indicates whether ipvs is enabled.
- Cluster
Max float64Pod Num - The maximum number of Pods per node in the cluster.
- Cluster
Max float64Service Num - The maximum number of services in the cluster.
- Cluster
Name string - Name of the cluster. Conflict with cluster_id, can not be set at the same time.
- Cluster
Node float64Num - Number of nodes in the cluster.
- Cluster
Os string - Operating system of the cluster.
- Cluster
Version string - Version of the cluster.
- Container
Runtime string - (Deprecated) It has been deprecated from version 1.18.1. Container runtime of the cluster.
- Deletion
Protection bool - Indicates whether cluster deletion protection is enabled.
- Domain string
- Domain name for access.
- Eni
Subnet []stringIds - Subnet IDs for cluster with VPC-CNI network mode.
- Ignore
Cluster boolCidr Conflict - Indicates whether to ignore the cluster cidr conflict error.
- Is
Non boolStatic Ip Mode - Indicates whether non-static ip mode is enabled.
- Kube
Config string - Kubernetes config.
- Kube
Config stringIntranet - Kubernetes config of private network.
- Kube
Proxy stringMode - Cluster kube-proxy mode.
- Network
Type string - Cluster network type.
- Node
Name stringType - Node name type of cluster.
- Password string
- Password of account.
- Pgw
Endpoint string - The Intranet address used for access.
- Project
Id float64 - Project ID of the cluster.
- Security
Policies []string - Access policy.
- Service
Cidr string - The network address block of the cluster.
- map[string]string
- Tags of the cluster.
- User
Name string - User name of account.
- Vpc
Cni stringType - Distinguish between shared network card multi-IP mode and independent network card mode.
- Vpc
Id string - Vpc ID of the cluster.
- Worker
Instances []GetLists Kubernetes Clusters List Worker Instances List - An information list of cvm within the WORKER clusters. Each element contains the following attributes.
- cdc
Id String - CDC ID.
- String
- The certificate used for access.
- claim
Expired DoubleSeconds - The expired seconds to recycle ENI.
- cluster
As BooleanEnabled - Indicates whether to enable cluster node auto scaler.
- cluster
Cidr String - A network address block of the cluster. Different from vpc cidr and cidr of other clusters within this VPC.
- cluster
Deploy StringType - Deployment type of the cluster.
- cluster
Desc String - Description of the cluster.
- cluster
External StringEndpoint - External network address to access.
- cluster
Extra List<GetArgs Kubernetes Clusters List Cluster Extra Arg> - Customized parameters for master component.
- cluster
Id String - ID of the cluster. Conflict with cluster_name, can not be set at the same time.
- cluster
Ipvs Boolean - Indicates whether ipvs is enabled.
- cluster
Max DoublePod Num - The maximum number of Pods per node in the cluster.
- cluster
Max DoubleService Num - The maximum number of services in the cluster.
- cluster
Name String - Name of the cluster. Conflict with cluster_id, can not be set at the same time.
- cluster
Node DoubleNum - Number of nodes in the cluster.
- cluster
Os String - Operating system of the cluster.
- cluster
Version String - Version of the cluster.
- container
Runtime String - (Deprecated) It has been deprecated from version 1.18.1. Container runtime of the cluster.
- deletion
Protection Boolean - Indicates whether cluster deletion protection is enabled.
- domain String
- Domain name for access.
- eni
Subnet List<String>Ids - Subnet IDs for cluster with VPC-CNI network mode.
- ignore
Cluster BooleanCidr Conflict - Indicates whether to ignore the cluster cidr conflict error.
- is
Non BooleanStatic Ip Mode - Indicates whether non-static ip mode is enabled.
- kube
Config String - Kubernetes config.
- kube
Config StringIntranet - Kubernetes config of private network.
- kube
Proxy StringMode - Cluster kube-proxy mode.
- network
Type String - Cluster network type.
- node
Name StringType - Node name type of cluster.
- password String
- Password of account.
- pgw
Endpoint String - The Intranet address used for access.
- project
Id Double - Project ID of the cluster.
- security
Policies List<String> - Access policy.
- service
Cidr String - The network address block of the cluster.
- Map<String,String>
- Tags of the cluster.
- user
Name String - User name of account.
- vpc
Cni StringType - Distinguish between shared network card multi-IP mode and independent network card mode.
- vpc
Id String - Vpc ID of the cluster.
- worker
Instances List<GetLists Kubernetes Clusters List Worker Instances List> - An information list of cvm within the WORKER clusters. Each element contains the following attributes.
- cdc
Id string - CDC ID.
- string
- The certificate used for access.
- claim
Expired numberSeconds - The expired seconds to recycle ENI.
- cluster
As booleanEnabled - Indicates whether to enable cluster node auto scaler.
- cluster
Cidr string - A network address block of the cluster. Different from vpc cidr and cidr of other clusters within this VPC.
- cluster
Deploy stringType - Deployment type of the cluster.
- cluster
Desc string - Description of the cluster.
- cluster
External stringEndpoint - External network address to access.
- cluster
Extra GetArgs Kubernetes Clusters List Cluster Extra Arg[] - Customized parameters for master component.
- cluster
Id string - ID of the cluster. Conflict with cluster_name, can not be set at the same time.
- cluster
Ipvs boolean - Indicates whether ipvs is enabled.
- cluster
Max numberPod Num - The maximum number of Pods per node in the cluster.
- cluster
Max numberService Num - The maximum number of services in the cluster.
- cluster
Name string - Name of the cluster. Conflict with cluster_id, can not be set at the same time.
- cluster
Node numberNum - Number of nodes in the cluster.
- cluster
Os string - Operating system of the cluster.
- cluster
Version string - Version of the cluster.
- container
Runtime string - (Deprecated) It has been deprecated from version 1.18.1. Container runtime of the cluster.
- deletion
Protection boolean - Indicates whether cluster deletion protection is enabled.
- domain string
- Domain name for access.
- eni
Subnet string[]Ids - Subnet IDs for cluster with VPC-CNI network mode.
- ignore
Cluster booleanCidr Conflict - Indicates whether to ignore the cluster cidr conflict error.
- is
Non booleanStatic Ip Mode - Indicates whether non-static ip mode is enabled.
- kube
Config string - Kubernetes config.
- kube
Config stringIntranet - Kubernetes config of private network.
- kube
Proxy stringMode - Cluster kube-proxy mode.
- network
Type string - Cluster network type.
- node
Name stringType - Node name type of cluster.
- password string
- Password of account.
- pgw
Endpoint string - The Intranet address used for access.
- project
Id number - Project ID of the cluster.
- security
Policies string[] - Access policy.
- service
Cidr string - The network address block of the cluster.
- {[key: string]: string}
- Tags of the cluster.
- user
Name string - User name of account.
- vpc
Cni stringType - Distinguish between shared network card multi-IP mode and independent network card mode.
- vpc
Id string - Vpc ID of the cluster.
- worker
Instances GetLists Kubernetes Clusters List Worker Instances List[] - An information list of cvm within the WORKER clusters. Each element contains the following attributes.
- cdc_
id str - CDC ID.
- str
- The certificate used for access.
- claim_
expired_ floatseconds - The expired seconds to recycle ENI.
- cluster_
as_ boolenabled - Indicates whether to enable cluster node auto scaler.
- cluster_
cidr str - A network address block of the cluster. Different from vpc cidr and cidr of other clusters within this VPC.
- cluster_
deploy_ strtype - Deployment type of the cluster.
- cluster_
desc str - Description of the cluster.
- cluster_
external_ strendpoint - External network address to access.
- cluster_
extra_ Sequence[Getargs Kubernetes Clusters List Cluster Extra Arg] - Customized parameters for master component.
- cluster_
id str - ID of the cluster. Conflict with cluster_name, can not be set at the same time.
- cluster_
ipvs bool - Indicates whether ipvs is enabled.
- cluster_
max_ floatpod_ num - The maximum number of Pods per node in the cluster.
- cluster_
max_ floatservice_ num - The maximum number of services in the cluster.
- cluster_
name str - Name of the cluster. Conflict with cluster_id, can not be set at the same time.
- cluster_
node_ floatnum - Number of nodes in the cluster.
- cluster_
os str - Operating system of the cluster.
- cluster_
version str - Version of the cluster.
- container_
runtime str - (Deprecated) It has been deprecated from version 1.18.1. Container runtime of the cluster.
- deletion_
protection bool - Indicates whether cluster deletion protection is enabled.
- domain str
- Domain name for access.
- eni_
subnet_ Sequence[str]ids - Subnet IDs for cluster with VPC-CNI network mode.
- ignore_
cluster_ boolcidr_ conflict - Indicates whether to ignore the cluster cidr conflict error.
- is_
non_ boolstatic_ ip_ mode - Indicates whether non-static ip mode is enabled.
- kube_
config str - Kubernetes config.
- kube_
config_ strintranet - Kubernetes config of private network.
- kube_
proxy_ strmode - Cluster kube-proxy mode.
- network_
type str - Cluster network type.
- node_
name_ strtype - Node name type of cluster.
- password str
- Password of account.
- pgw_
endpoint str - The Intranet address used for access.
- project_
id float - Project ID of the cluster.
- security_
policies Sequence[str] - Access policy.
- service_
cidr str - The network address block of the cluster.
- Mapping[str, str]
- Tags of the cluster.
- user_
name str - User name of account.
- vpc_
cni_ strtype - Distinguish between shared network card multi-IP mode and independent network card mode.
- vpc_
id str - Vpc ID of the cluster.
- worker_
instances_ Sequence[Getlists Kubernetes Clusters List Worker Instances List] - An information list of cvm within the WORKER clusters. Each element contains the following attributes.
- cdc
Id String - CDC ID.
- String
- The certificate used for access.
- claim
Expired NumberSeconds - The expired seconds to recycle ENI.
- cluster
As BooleanEnabled - Indicates whether to enable cluster node auto scaler.
- cluster
Cidr String - A network address block of the cluster. Different from vpc cidr and cidr of other clusters within this VPC.
- cluster
Deploy StringType - Deployment type of the cluster.
- cluster
Desc String - Description of the cluster.
- cluster
External StringEndpoint - External network address to access.
- cluster
Extra List<Property Map>Args - Customized parameters for master component.
- cluster
Id String - ID of the cluster. Conflict with cluster_name, can not be set at the same time.
- cluster
Ipvs Boolean - Indicates whether ipvs is enabled.
- cluster
Max NumberPod Num - The maximum number of Pods per node in the cluster.
- cluster
Max NumberService Num - The maximum number of services in the cluster.
- cluster
Name String - Name of the cluster. Conflict with cluster_id, can not be set at the same time.
- cluster
Node NumberNum - Number of nodes in the cluster.
- cluster
Os String - Operating system of the cluster.
- cluster
Version String - Version of the cluster.
- container
Runtime String - (Deprecated) It has been deprecated from version 1.18.1. Container runtime of the cluster.
- deletion
Protection Boolean - Indicates whether cluster deletion protection is enabled.
- domain String
- Domain name for access.
- eni
Subnet List<String>Ids - Subnet IDs for cluster with VPC-CNI network mode.
- ignore
Cluster BooleanCidr Conflict - Indicates whether to ignore the cluster cidr conflict error.
- is
Non BooleanStatic Ip Mode - Indicates whether non-static ip mode is enabled.
- kube
Config String - Kubernetes config.
- kube
Config StringIntranet - Kubernetes config of private network.
- kube
Proxy StringMode - Cluster kube-proxy mode.
- network
Type String - Cluster network type.
- node
Name StringType - Node name type of cluster.
- password String
- Password of account.
- pgw
Endpoint String - The Intranet address used for access.
- project
Id Number - Project ID of the cluster.
- security
Policies List<String> - Access policy.
- service
Cidr String - The network address block of the cluster.
- Map<String>
- Tags of the cluster.
- user
Name String - User name of account.
- vpc
Cni StringType - Distinguish between shared network card multi-IP mode and independent network card mode.
- vpc
Id String - Vpc ID of the cluster.
- worker
Instances List<Property Map>Lists - An information list of cvm within the WORKER clusters. Each element contains the following attributes.
GetKubernetesClustersListClusterExtraArg
- Kube
Apiservers List<string> - The customized parameters for kube-apiserver.
- Kube
Controller List<string>Managers - The customized parameters for kube-controller-manager.
- Kube
Schedulers List<string> - The customized parameters for kube-scheduler.
- Kube
Apiservers []string - The customized parameters for kube-apiserver.
- Kube
Controller []stringManagers - The customized parameters for kube-controller-manager.
- Kube
Schedulers []string - The customized parameters for kube-scheduler.
- kube
Apiservers List<String> - The customized parameters for kube-apiserver.
- kube
Controller List<String>Managers - The customized parameters for kube-controller-manager.
- kube
Schedulers List<String> - The customized parameters for kube-scheduler.
- kube
Apiservers string[] - The customized parameters for kube-apiserver.
- kube
Controller string[]Managers - The customized parameters for kube-controller-manager.
- kube
Schedulers string[] - The customized parameters for kube-scheduler.
- kube_
apiservers Sequence[str] - The customized parameters for kube-apiserver.
- kube_
controller_ Sequence[str]managers - The customized parameters for kube-controller-manager.
- kube_
schedulers Sequence[str] - The customized parameters for kube-scheduler.
- kube
Apiservers List<String> - The customized parameters for kube-apiserver.
- kube
Controller List<String>Managers - The customized parameters for kube-controller-manager.
- kube
Schedulers List<String> - The customized parameters for kube-scheduler.
GetKubernetesClustersListWorkerInstancesList
- Failed
Reason string - Information of the cvm when it is failed.
- Instance
Id string - ID of the cvm.
- Instance
Role string - Role of the cvm.
- Instance
State string - State of the cvm.
- Lan
Ip string - LAN IP of the cvm.
- Failed
Reason string - Information of the cvm when it is failed.
- Instance
Id string - ID of the cvm.
- Instance
Role string - Role of the cvm.
- Instance
State string - State of the cvm.
- Lan
Ip string - LAN IP of the cvm.
- failed
Reason String - Information of the cvm when it is failed.
- instance
Id String - ID of the cvm.
- instance
Role String - Role of the cvm.
- instance
State String - State of the cvm.
- lan
Ip String - LAN IP of the cvm.
- failed
Reason string - Information of the cvm when it is failed.
- instance
Id string - ID of the cvm.
- instance
Role string - Role of the cvm.
- instance
State string - State of the cvm.
- lan
Ip string - LAN IP of the cvm.
- failed_
reason str - Information of the cvm when it is failed.
- instance_
id str - ID of the cvm.
- instance_
role str - Role of the cvm.
- instance_
state str - State of the cvm.
- lan_
ip str - LAN IP of the cvm.
- failed
Reason String - Information of the cvm when it is failed.
- instance
Id String - ID of the cvm.
- instance
Role String - Role of the cvm.
- instance
State String - State of the cvm.
- lan
Ip String - LAN IP of the cvm.
Package Details
- Repository
- tencentcloud tencentcloudstack/terraform-provider-tencentcloud
- License
- Notes
- This Pulumi package is based on the
tencentcloudTerraform Provider.
tencentcloud 1.82.34 published on Wednesday, Nov 5, 2025 by tencentcloudstack
