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

tencentcloud.getKubernetesClusters

Explore with Pulumi AI

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",
});
Copy
import pulumi
import pulumi_tencentcloud as tencentcloud

name = tencentcloud.get_kubernetes_clusters(cluster_name="terraform")
id = tencentcloud.get_kubernetes_clusters(cluster_id="cls-godovr32")
Copy
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
	})
}
Copy
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",
    });

});
Copy
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());

    }
}
Copy
variables:
  name:
    fn::invoke:
      function: tencentcloud:getKubernetesClusters
      arguments:
        clusterName: terraform
  id:
    fn::invoke:
      function: tencentcloud:getKubernetesClusters
      arguments:
        clusterId: cls-godovr32
Copy

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>
Copy
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]
Copy
func GetKubernetesClusters(ctx *Context, args *GetKubernetesClustersArgs, opts ...InvokeOption) (*GetKubernetesClustersResult, error)
func GetKubernetesClustersOutput(ctx *Context, args *GetKubernetesClustersOutputArgs, opts ...InvokeOption) GetKubernetesClustersResultOutput
Copy

> 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)
}
Copy
public static CompletableFuture<GetKubernetesClustersResult> getKubernetesClusters(GetKubernetesClustersArgs args, InvokeOptions options)
public static Output<GetKubernetesClustersResult> getKubernetesClusters(GetKubernetesClustersArgs args, InvokeOptions options)
Copy
fn::invoke:
  function: tencentcloud:index/getKubernetesClusters:getKubernetesClusters
  arguments:
    # arguments dictionary
Copy

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

GetKubernetesClustersListClusterExtraArg

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

GetKubernetesClustersListWorkerInstancesList

FailedReason This property is required. string
Information of the cvm when it is failed.
InstanceId This property is required. string
ID of the cvm.
InstanceRole This property is required. string
Role of the cvm.
InstanceState This property is required. string
State of the cvm.
LanIp This property is required. string
LAN IP of the cvm.
FailedReason This property is required. string
Information of the cvm when it is failed.
InstanceId This property is required. string
ID of the cvm.
InstanceRole This property is required. string
Role of the cvm.
InstanceState This property is required. string
State of the cvm.
LanIp This property is required. string
LAN IP of the cvm.
failedReason This property is required. String
Information of the cvm when it is failed.
instanceId This property is required. String
ID of the cvm.
instanceRole This property is required. String
Role of the cvm.
instanceState This property is required. String
State of the cvm.
lanIp This property is required. String
LAN IP of the cvm.
failedReason This property is required. string
Information of the cvm when it is failed.
instanceId This property is required. string
ID of the cvm.
instanceRole This property is required. string
Role of the cvm.
instanceState This property is required. string
State of the cvm.
lanIp This property is required. string
LAN IP of the cvm.
failed_reason This property is required. str
Information of the cvm when it is failed.
instance_id This property is required. str
ID of the cvm.
instance_role This property is required. str
Role of the cvm.
instance_state This property is required. str
State of the cvm.
lan_ip This property is required. str
LAN IP of the cvm.
failedReason This property is required. String
Information of the cvm when it is failed.
instanceId This property is required. String
ID of the cvm.
instanceRole This property is required. String
Role of the cvm.
instanceState This property is required. String
State of the cvm.
lanIp This property is required. 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.