1. Packages
  2. Tencentcloud Provider
  3. API Docs
  4. getKubernetesClusters
tencentcloud 1.81.189 published on Wednesday, Apr 30, 2025 by tencentcloudstack

tencentcloud.getKubernetesClusters

Explore with Pulumi AI

tencentcloud logo
tencentcloud 1.81.189 published on Wednesday, Apr 30, 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 dictionary

    The following arguments are supported:

    ClusterId string
    ID of the cluster. Conflict with cluster_name, can not be set at the same time.
    ClusterName string
    Name of the cluster. Conflict with cluster_id, can not be set at the same time.
    Id string
    KubeConfigFilePrefix string
    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.
    ResultOutputFile string
    Used to save results.
    Tags Dictionary<string, string>
    Tags of the cluster.
    ClusterId string
    ID of the cluster. Conflict with cluster_name, can not be set at the same time.
    ClusterName string
    Name of the cluster. Conflict with cluster_id, can not be set at the same time.
    Id string
    KubeConfigFilePrefix string
    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.
    ResultOutputFile string
    Used to save results.
    Tags map[string]string
    Tags of the cluster.
    clusterId String
    ID of the cluster. Conflict with cluster_name, can not be set at the same time.
    clusterName String
    Name of the cluster. Conflict with cluster_id, can not be set at the same time.
    id String
    kubeConfigFilePrefix String
    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.
    resultOutputFile String
    Used to save results.
    tags Map<String,String>
    Tags of the cluster.
    clusterId string
    ID of the cluster. Conflict with cluster_name, can not be set at the same time.
    clusterName string
    Name of the cluster. Conflict with cluster_id, can not be set at the same time.
    id string
    kubeConfigFilePrefix string
    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.
    resultOutputFile string
    Used to save results.
    tags {[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_file_prefix str
    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_file str
    Used to save results.
    tags Mapping[str, str]
    Tags of the cluster.
    clusterId String
    ID of the cluster. Conflict with cluster_name, can not be set at the same time.
    clusterName String
    Name of the cluster. Conflict with cluster_id, can not be set at the same time.
    id String
    kubeConfigFilePrefix String
    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.
    resultOutputFile String
    Used to save results.
    tags Map<String>
    Tags of the cluster.

    getKubernetesClusters Result

    The following output properties are available:

    Id string
    Lists List<GetKubernetesClustersList>
    An information list of kubernetes clusters. Each element contains the following attributes:
    ClusterId string
    ID of cluster.
    ClusterName string
    Name of the cluster.
    KubeConfigFilePrefix string
    ResultOutputFile string
    Tags Dictionary<string, string>
    Tags of the cluster.
    Id string
    Lists []GetKubernetesClustersList
    An information list of kubernetes clusters. Each element contains the following attributes:
    ClusterId string
    ID of cluster.
    ClusterName string
    Name of the cluster.
    KubeConfigFilePrefix string
    ResultOutputFile string
    Tags map[string]string
    Tags of the cluster.
    id String
    lists List<GetKubernetesClustersList>
    An information list of kubernetes clusters. Each element contains the following attributes:
    clusterId String
    ID of cluster.
    clusterName String
    Name of the cluster.
    kubeConfigFilePrefix String
    resultOutputFile String
    tags Map<String,String>
    Tags of the cluster.
    id string
    lists GetKubernetesClustersList[]
    An information list of kubernetes clusters. Each element contains the following attributes:
    clusterId string
    ID of cluster.
    clusterName string
    Name of the cluster.
    kubeConfigFilePrefix string
    resultOutputFile string
    tags {[key: string]: string}
    Tags of the cluster.
    id str
    lists Sequence[GetKubernetesClustersList]
    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_file_prefix str
    result_output_file str
    tags 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:
    clusterId String
    ID of cluster.
    clusterName String
    Name of the cluster.
    kubeConfigFilePrefix String
    resultOutputFile String
    tags Map<String>
    Tags of the cluster.

    Supporting Types

    GetKubernetesClustersList

    CdcId string
    CDC ID.
    CertificationAuthority string
    The certificate used for access.
    ClaimExpiredSeconds double
    The expired seconds to recycle ENI.
    ClusterAsEnabled bool
    Indicates whether to enable cluster node auto scaler.
    ClusterCidr string
    A network address block of the cluster. Different from vpc cidr and cidr of other clusters within this VPC.
    ClusterDeployType string
    Deployment type of the cluster.
    ClusterDesc string
    Description of the cluster.
    ClusterExternalEndpoint string
    External network address to access.
    ClusterExtraArgs List<GetKubernetesClustersListClusterExtraArg>
    Customized parameters for master component.
    ClusterId string
    ID of the cluster. Conflict with cluster_name, can not be set at the same time.
    ClusterIpvs bool
    Indicates whether ipvs is enabled.
    ClusterMaxPodNum double
    The maximum number of Pods per node in the cluster.
    ClusterMaxServiceNum double
    The maximum number of services in the cluster.
    ClusterName string
    Name of the cluster. Conflict with cluster_id, can not be set at the same time.
    ClusterNodeNum double
    Number of nodes in the cluster.
    ClusterOs string
    Operating system of the cluster.
    ClusterVersion string
    Version of the cluster.
    ContainerRuntime string
    (Deprecated) It has been deprecated from version 1.18.1. Container runtime of the cluster.
    DeletionProtection bool
    Indicates whether cluster deletion protection is enabled.
    Domain string
    Domain name for access.
    EniSubnetIds List<string>
    Subnet IDs for cluster with VPC-CNI network mode.
    IgnoreClusterCidrConflict bool
    Indicates whether to ignore the cluster cidr conflict error.
    IsNonStaticIpMode bool
    Indicates whether non-static ip mode is enabled.
    KubeConfig string
    Kubernetes config.
    KubeConfigIntranet string
    Kubernetes config of private network.
    KubeProxyMode string
    Cluster kube-proxy mode.
    NetworkType string
    Cluster network type.
    NodeNameType string
    Node name type of cluster.
    Password string
    Password of account.
    PgwEndpoint string
    The Intranet address used for access.
    ProjectId double
    Project ID of the cluster.
    SecurityPolicies List<string>
    Access policy.
    ServiceCidr string
    The network address block of the cluster.
    Tags Dictionary<string, string>
    Tags of the cluster.
    UserName string
    User name of account.
    VpcCniType string
    Distinguish between shared network card multi-IP mode and independent network card mode.
    VpcId string
    Vpc ID of the cluster.
    WorkerInstancesLists List<GetKubernetesClustersListWorkerInstancesList>
    An information list of cvm within the WORKER clusters. Each element contains the following attributes.
    CdcId string
    CDC ID.
    CertificationAuthority string
    The certificate used for access.
    ClaimExpiredSeconds float64
    The expired seconds to recycle ENI.
    ClusterAsEnabled bool
    Indicates whether to enable cluster node auto scaler.
    ClusterCidr string
    A network address block of the cluster. Different from vpc cidr and cidr of other clusters within this VPC.
    ClusterDeployType string
    Deployment type of the cluster.
    ClusterDesc string
    Description of the cluster.
    ClusterExternalEndpoint string
    External network address to access.
    ClusterExtraArgs []GetKubernetesClustersListClusterExtraArg
    Customized parameters for master component.
    ClusterId string
    ID of the cluster. Conflict with cluster_name, can not be set at the same time.
    ClusterIpvs bool
    Indicates whether ipvs is enabled.
    ClusterMaxPodNum float64
    The maximum number of Pods per node in the cluster.
    ClusterMaxServiceNum float64
    The maximum number of services in the cluster.
    ClusterName string
    Name of the cluster. Conflict with cluster_id, can not be set at the same time.
    ClusterNodeNum float64
    Number of nodes in the cluster.
    ClusterOs string
    Operating system of the cluster.
    ClusterVersion string
    Version of the cluster.
    ContainerRuntime string
    (Deprecated) It has been deprecated from version 1.18.1. Container runtime of the cluster.
    DeletionProtection bool
    Indicates whether cluster deletion protection is enabled.
    Domain string
    Domain name for access.
    EniSubnetIds []string
    Subnet IDs for cluster with VPC-CNI network mode.
    IgnoreClusterCidrConflict bool
    Indicates whether to ignore the cluster cidr conflict error.
    IsNonStaticIpMode bool
    Indicates whether non-static ip mode is enabled.
    KubeConfig string
    Kubernetes config.
    KubeConfigIntranet string
    Kubernetes config of private network.
    KubeProxyMode string
    Cluster kube-proxy mode.
    NetworkType string
    Cluster network type.
    NodeNameType string
    Node name type of cluster.
    Password string
    Password of account.
    PgwEndpoint string
    The Intranet address used for access.
    ProjectId float64
    Project ID of the cluster.
    SecurityPolicies []string
    Access policy.
    ServiceCidr string
    The network address block of the cluster.
    Tags map[string]string
    Tags of the cluster.
    UserName string
    User name of account.
    VpcCniType string
    Distinguish between shared network card multi-IP mode and independent network card mode.
    VpcId string
    Vpc ID of the cluster.
    WorkerInstancesLists []GetKubernetesClustersListWorkerInstancesList
    An information list of cvm within the WORKER clusters. Each element contains the following attributes.
    cdcId String
    CDC ID.
    certificationAuthority String
    The certificate used for access.
    claimExpiredSeconds Double
    The expired seconds to recycle ENI.
    clusterAsEnabled Boolean
    Indicates whether to enable cluster node auto scaler.
    clusterCidr String
    A network address block of the cluster. Different from vpc cidr and cidr of other clusters within this VPC.
    clusterDeployType String
    Deployment type of the cluster.
    clusterDesc String
    Description of the cluster.
    clusterExternalEndpoint String
    External network address to access.
    clusterExtraArgs List<GetKubernetesClustersListClusterExtraArg>
    Customized parameters for master component.
    clusterId String
    ID of the cluster. Conflict with cluster_name, can not be set at the same time.
    clusterIpvs Boolean
    Indicates whether ipvs is enabled.
    clusterMaxPodNum Double
    The maximum number of Pods per node in the cluster.
    clusterMaxServiceNum Double
    The maximum number of services in the cluster.
    clusterName String
    Name of the cluster. Conflict with cluster_id, can not be set at the same time.
    clusterNodeNum Double
    Number of nodes in the cluster.
    clusterOs String
    Operating system of the cluster.
    clusterVersion String
    Version of the cluster.
    containerRuntime String
    (Deprecated) It has been deprecated from version 1.18.1. Container runtime of the cluster.
    deletionProtection Boolean
    Indicates whether cluster deletion protection is enabled.
    domain String
    Domain name for access.
    eniSubnetIds List<String>
    Subnet IDs for cluster with VPC-CNI network mode.
    ignoreClusterCidrConflict Boolean
    Indicates whether to ignore the cluster cidr conflict error.
    isNonStaticIpMode Boolean
    Indicates whether non-static ip mode is enabled.
    kubeConfig String
    Kubernetes config.
    kubeConfigIntranet String
    Kubernetes config of private network.
    kubeProxyMode String
    Cluster kube-proxy mode.
    networkType String
    Cluster network type.
    nodeNameType String
    Node name type of cluster.
    password String
    Password of account.
    pgwEndpoint String
    The Intranet address used for access.
    projectId Double
    Project ID of the cluster.
    securityPolicies List<String>
    Access policy.
    serviceCidr String
    The network address block of the cluster.
    tags Map<String,String>
    Tags of the cluster.
    userName String
    User name of account.
    vpcCniType String
    Distinguish between shared network card multi-IP mode and independent network card mode.
    vpcId String
    Vpc ID of the cluster.
    workerInstancesLists List<GetKubernetesClustersListWorkerInstancesList>
    An information list of cvm within the WORKER clusters. Each element contains the following attributes.
    cdcId string
    CDC ID.
    certificationAuthority string
    The certificate used for access.
    claimExpiredSeconds number
    The expired seconds to recycle ENI.
    clusterAsEnabled boolean
    Indicates whether to enable cluster node auto scaler.
    clusterCidr string
    A network address block of the cluster. Different from vpc cidr and cidr of other clusters within this VPC.
    clusterDeployType string
    Deployment type of the cluster.
    clusterDesc string
    Description of the cluster.
    clusterExternalEndpoint string
    External network address to access.
    clusterExtraArgs GetKubernetesClustersListClusterExtraArg[]
    Customized parameters for master component.
    clusterId string
    ID of the cluster. Conflict with cluster_name, can not be set at the same time.
    clusterIpvs boolean
    Indicates whether ipvs is enabled.
    clusterMaxPodNum number
    The maximum number of Pods per node in the cluster.
    clusterMaxServiceNum number
    The maximum number of services in the cluster.
    clusterName string
    Name of the cluster. Conflict with cluster_id, can not be set at the same time.
    clusterNodeNum number
    Number of nodes in the cluster.
    clusterOs string
    Operating system of the cluster.
    clusterVersion string
    Version of the cluster.
    containerRuntime string
    (Deprecated) It has been deprecated from version 1.18.1. Container runtime of the cluster.
    deletionProtection boolean
    Indicates whether cluster deletion protection is enabled.
    domain string
    Domain name for access.
    eniSubnetIds string[]
    Subnet IDs for cluster with VPC-CNI network mode.
    ignoreClusterCidrConflict boolean
    Indicates whether to ignore the cluster cidr conflict error.
    isNonStaticIpMode boolean
    Indicates whether non-static ip mode is enabled.
    kubeConfig string
    Kubernetes config.
    kubeConfigIntranet string
    Kubernetes config of private network.
    kubeProxyMode string
    Cluster kube-proxy mode.
    networkType string
    Cluster network type.
    nodeNameType string
    Node name type of cluster.
    password string
    Password of account.
    pgwEndpoint string
    The Intranet address used for access.
    projectId number
    Project ID of the cluster.
    securityPolicies string[]
    Access policy.
    serviceCidr string
    The network address block of the cluster.
    tags {[key: string]: string}
    Tags of the cluster.
    userName string
    User name of account.
    vpcCniType string
    Distinguish between shared network card multi-IP mode and independent network card mode.
    vpcId string
    Vpc ID of the cluster.
    workerInstancesLists GetKubernetesClustersListWorkerInstancesList[]
    An information list of cvm within the WORKER clusters. Each element contains the following attributes.
    cdc_id str
    CDC ID.
    certification_authority str
    The certificate used for access.
    claim_expired_seconds float
    The expired seconds to recycle ENI.
    cluster_as_enabled bool
    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_type str
    Deployment type of the cluster.
    cluster_desc str
    Description of the cluster.
    cluster_external_endpoint str
    External network address to access.
    cluster_extra_args Sequence[GetKubernetesClustersListClusterExtraArg]
    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_pod_num float
    The maximum number of Pods per node in the cluster.
    cluster_max_service_num float
    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_num float
    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_ids Sequence[str]
    Subnet IDs for cluster with VPC-CNI network mode.
    ignore_cluster_cidr_conflict bool
    Indicates whether to ignore the cluster cidr conflict error.
    is_non_static_ip_mode bool
    Indicates whether non-static ip mode is enabled.
    kube_config str
    Kubernetes config.
    kube_config_intranet str
    Kubernetes config of private network.
    kube_proxy_mode str
    Cluster kube-proxy mode.
    network_type str
    Cluster network type.
    node_name_type str
    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.
    tags Mapping[str, str]
    Tags of the cluster.
    user_name str
    User name of account.
    vpc_cni_type str
    Distinguish between shared network card multi-IP mode and independent network card mode.
    vpc_id str
    Vpc ID of the cluster.
    worker_instances_lists Sequence[GetKubernetesClustersListWorkerInstancesList]
    An information list of cvm within the WORKER clusters. Each element contains the following attributes.
    cdcId String
    CDC ID.
    certificationAuthority String
    The certificate used for access.
    claimExpiredSeconds Number
    The expired seconds to recycle ENI.
    clusterAsEnabled Boolean
    Indicates whether to enable cluster node auto scaler.
    clusterCidr String
    A network address block of the cluster. Different from vpc cidr and cidr of other clusters within this VPC.
    clusterDeployType String
    Deployment type of the cluster.
    clusterDesc String
    Description of the cluster.
    clusterExternalEndpoint String
    External network address to access.
    clusterExtraArgs List<Property Map>
    Customized parameters for master component.
    clusterId String
    ID of the cluster. Conflict with cluster_name, can not be set at the same time.
    clusterIpvs Boolean
    Indicates whether ipvs is enabled.
    clusterMaxPodNum Number
    The maximum number of Pods per node in the cluster.
    clusterMaxServiceNum Number
    The maximum number of services in the cluster.
    clusterName String
    Name of the cluster. Conflict with cluster_id, can not be set at the same time.
    clusterNodeNum Number
    Number of nodes in the cluster.
    clusterOs String
    Operating system of the cluster.
    clusterVersion String
    Version of the cluster.
    containerRuntime String
    (Deprecated) It has been deprecated from version 1.18.1. Container runtime of the cluster.
    deletionProtection Boolean
    Indicates whether cluster deletion protection is enabled.
    domain String
    Domain name for access.
    eniSubnetIds List<String>
    Subnet IDs for cluster with VPC-CNI network mode.
    ignoreClusterCidrConflict Boolean
    Indicates whether to ignore the cluster cidr conflict error.
    isNonStaticIpMode Boolean
    Indicates whether non-static ip mode is enabled.
    kubeConfig String
    Kubernetes config.
    kubeConfigIntranet String
    Kubernetes config of private network.
    kubeProxyMode String
    Cluster kube-proxy mode.
    networkType String
    Cluster network type.
    nodeNameType String
    Node name type of cluster.
    password String
    Password of account.
    pgwEndpoint String
    The Intranet address used for access.
    projectId Number
    Project ID of the cluster.
    securityPolicies List<String>
    Access policy.
    serviceCidr String
    The network address block of the cluster.
    tags Map<String>
    Tags of the cluster.
    userName String
    User name of account.
    vpcCniType String
    Distinguish between shared network card multi-IP mode and independent network card mode.
    vpcId String
    Vpc ID of the cluster.
    workerInstancesLists List<Property Map>
    An information list of cvm within the WORKER clusters. Each element contains the following attributes.

    GetKubernetesClustersListClusterExtraArg

    KubeApiservers List<string>
    The customized parameters for kube-apiserver.
    KubeControllerManagers List<string>
    The customized parameters for kube-controller-manager.
    KubeSchedulers List<string>
    The customized parameters for kube-scheduler.
    KubeApiservers []string
    The customized parameters for kube-apiserver.
    KubeControllerManagers []string
    The customized parameters for kube-controller-manager.
    KubeSchedulers []string
    The customized parameters for kube-scheduler.
    kubeApiservers List<String>
    The customized parameters for kube-apiserver.
    kubeControllerManagers List<String>
    The customized parameters for kube-controller-manager.
    kubeSchedulers List<String>
    The customized parameters for kube-scheduler.
    kubeApiservers string[]
    The customized parameters for kube-apiserver.
    kubeControllerManagers string[]
    The customized parameters for kube-controller-manager.
    kubeSchedulers string[]
    The customized parameters for kube-scheduler.
    kube_apiservers Sequence[str]
    The customized parameters for kube-apiserver.
    kube_controller_managers Sequence[str]
    The customized parameters for kube-controller-manager.
    kube_schedulers Sequence[str]
    The customized parameters for kube-scheduler.
    kubeApiservers List<String>
    The customized parameters for kube-apiserver.
    kubeControllerManagers List<String>
    The customized parameters for kube-controller-manager.
    kubeSchedulers List<String>
    The customized parameters for kube-scheduler.

    GetKubernetesClustersListWorkerInstancesList

    FailedReason string
    Information of the cvm when it is failed.
    InstanceId string
    ID of the cvm.
    InstanceRole string
    Role of the cvm.
    InstanceState string
    State of the cvm.
    LanIp string
    LAN IP of the cvm.
    FailedReason string
    Information of the cvm when it is failed.
    InstanceId string
    ID of the cvm.
    InstanceRole string
    Role of the cvm.
    InstanceState string
    State of the cvm.
    LanIp string
    LAN IP of the cvm.
    failedReason String
    Information of the cvm when it is failed.
    instanceId String
    ID of the cvm.
    instanceRole String
    Role of the cvm.
    instanceState String
    State of the cvm.
    lanIp String
    LAN IP of the cvm.
    failedReason string
    Information of the cvm when it is failed.
    instanceId string
    ID of the cvm.
    instanceRole string
    Role of the cvm.
    instanceState string
    State of the cvm.
    lanIp 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.
    failedReason String
    Information of the cvm when it is failed.
    instanceId String
    ID of the cvm.
    instanceRole String
    Role of the cvm.
    instanceState String
    State of the cvm.
    lanIp String
    LAN IP of the cvm.

    Package Details

    Repository
    tencentcloud tencentcloudstack/terraform-provider-tencentcloud
    License
    Notes
    This Pulumi package is based on the tencentcloud Terraform Provider.
    tencentcloud logo
    tencentcloud 1.81.189 published on Wednesday, Apr 30, 2025 by tencentcloudstack