tencentcloud 1.81.183 published on Wednesday, Apr 16, 2025 by tencentcloudstack
tencentcloud.getKubernetesClusters
Explore with Pulumi AI
tencentcloud 1.81.183 published on Wednesday, Apr 16, 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:
- 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 This property is required. string - CDC ID.
This property is required. string- The certificate used for access.
- Claim
Expired Seconds This property is required. double - 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. string - 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. string - Deployment type of the cluster.
- Cluster
Desc This property is required. string - Description of the cluster.
- Cluster
External Endpoint This property is required. string - External network address to access.
- Cluster
Extra Args This property is required. List<GetKubernetes Clusters List Cluster Extra Arg> - Customized parameters for master component.
- Cluster
Id This property is required. string - 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. double - The maximum number of Pods per node in the cluster.
- Cluster
Max Service Num This property is required. double - The maximum number of services in the cluster.
- Cluster
Name This property is required. string - Name of the cluster. Conflict with cluster_id, can not be set at the same time.
- Cluster
Node Num This property is required. double - Number of nodes in the cluster.
- Cluster
Os This property is required. string - Operating system of the cluster.
- Cluster
Version This property is required. string - Version of the cluster.
- Container
Runtime This property is required. string - (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. string - Domain name for access.
- Eni
Subnet Ids This property is required. List<string> - 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. string - Kubernetes config.
- Kube
Config Intranet This property is required. string - Kubernetes config of private network.
- Kube
Proxy Mode This property is required. string - Cluster kube-proxy mode.
- Network
Type This property is required. string - Cluster network type.
- Node
Name Type This property is required. string - Node name type of cluster.
- Password
This property is required. string - Password of account.
- Pgw
Endpoint This property is required. string - The Intranet address used for access.
- Project
Id This property is required. double - Project ID of the cluster.
- Security
Policies This property is required. List<string> - Access policy.
- Service
Cidr This property is required. string - The network address block of the cluster.
This property is required. Dictionary<string, string>- Tags of the cluster.
- User
Name This property is required. string - User name of account.
- Vpc
Cni Type This property is required. string - Distinguish between shared network card multi-IP mode and independent network card mode.
- Vpc
Id This property is required. string - Vpc ID of the cluster.
- Worker
Instances Lists This property is required. List<GetKubernetes Clusters List Worker Instances List> - An information list of cvm within the WORKER clusters. Each element contains the following attributes.
- Cdc
Id This property is required. string - CDC ID.
This property is required. string- The certificate used for access.
- Claim
Expired Seconds This property is required. float64 - 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. string - 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. string - Deployment type of the cluster.
- Cluster
Desc This property is required. string - Description of the cluster.
- Cluster
External Endpoint This property is required. string - External network address to access.
- Cluster
Extra Args This property is required. []GetKubernetes Clusters List Cluster Extra Arg - Customized parameters for master component.
- Cluster
Id This property is required. string - 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. float64 - The maximum number of Pods per node in the cluster.
- Cluster
Max Service Num This property is required. float64 - The maximum number of services in the cluster.
- Cluster
Name This property is required. string - Name of the cluster. Conflict with cluster_id, can not be set at the same time.
- Cluster
Node Num This property is required. float64 - Number of nodes in the cluster.
- Cluster
Os This property is required. string - Operating system of the cluster.
- Cluster
Version This property is required. string - Version of the cluster.
- Container
Runtime This property is required. string - (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. string - Domain name for access.
- Eni
Subnet Ids This property is required. []string - 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. string - Kubernetes config.
- Kube
Config Intranet This property is required. string - Kubernetes config of private network.
- Kube
Proxy Mode This property is required. string - Cluster kube-proxy mode.
- Network
Type This property is required. string - Cluster network type.
- Node
Name Type This property is required. string - Node name type of cluster.
- Password
This property is required. string - Password of account.
- Pgw
Endpoint This property is required. string - The Intranet address used for access.
- Project
Id This property is required. float64 - Project ID of the cluster.
- Security
Policies This property is required. []string - Access policy.
- Service
Cidr This property is required. string - The network address block of the cluster.
This property is required. map[string]string- Tags of the cluster.
- User
Name This property is required. string - User name of account.
- Vpc
Cni Type This property is required. string - Distinguish between shared network card multi-IP mode and independent network card mode.
- Vpc
Id This property is required. string - Vpc ID of the cluster.
- Worker
Instances Lists This property is required. []GetKubernetes Clusters List Worker Instances List - An information list of cvm within the WORKER clusters. Each element contains the following attributes.
- cdc
Id This property is required. String - CDC ID.
This property is required. String- The certificate used for access.
- claim
Expired Seconds This property is required. Double - The expired seconds to recycle ENI.
- cluster
As Enabled This property is required. Boolean - Indicates whether to enable cluster node auto scaler.
- cluster
Cidr This property is required. String - 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. String - Deployment type of the cluster.
- cluster
Desc This property is required. String - Description of the cluster.
- cluster
External Endpoint This property is required. String - External network address to access.
- cluster
Extra Args This property is required. List<GetKubernetes Clusters List Cluster Extra Arg> - Customized parameters for master component.
- cluster
Id This property is required. String - ID of the cluster. Conflict with cluster_name, can not be set at the same time.
- cluster
Ipvs This property is required. Boolean - Indicates whether ipvs is enabled.
- cluster
Max Pod Num This property is required. Double - The maximum number of Pods per node in the cluster.
- cluster
Max Service Num This property is required. Double - The maximum number of services in the cluster.
- cluster
Name This property is required. String - Name of the cluster. Conflict with cluster_id, can not be set at the same time.
- cluster
Node Num This property is required. Double - Number of nodes in the cluster.
- cluster
Os This property is required. String - Operating system of the cluster.
- cluster
Version This property is required. String - Version of the cluster.
- container
Runtime This property is required. String - (Deprecated) It has been deprecated from version 1.18.1. Container runtime of the cluster.
- deletion
Protection This property is required. Boolean - Indicates whether cluster deletion protection is enabled.
- domain
This property is required. String - Domain name for access.
- eni
Subnet Ids This property is required. List<String> - Subnet IDs for cluster with VPC-CNI network mode.
- ignore
Cluster Cidr Conflict This property is required. Boolean - Indicates whether to ignore the cluster cidr conflict error.
- is
Non Static Ip Mode This property is required. Boolean - Indicates whether non-static ip mode is enabled.
- kube
Config This property is required. String - Kubernetes config.
- kube
Config Intranet This property is required. String - Kubernetes config of private network.
- kube
Proxy Mode This property is required. String - Cluster kube-proxy mode.
- network
Type This property is required. String - Cluster network type.
- node
Name Type This property is required. String - Node name type of cluster.
- password
This property is required. String - Password of account.
- pgw
Endpoint This property is required. String - The Intranet address used for access.
- project
Id This property is required. Double - Project ID of the cluster.
- security
Policies This property is required. List<String> - Access policy.
- service
Cidr This property is required. String - The network address block of the cluster.
This property is required. Map<String,String>- Tags of the cluster.
- user
Name This property is required. String - User name of account.
- vpc
Cni Type This property is required. String - Distinguish between shared network card multi-IP mode and independent network card mode.
- vpc
Id This property is required. String - Vpc ID of the cluster.
- worker
Instances Lists This property is required. List<GetKubernetes Clusters List Worker Instances List> - An information list of cvm within the WORKER clusters. Each element contains the following attributes.
- cdc
Id This property is required. string - CDC ID.
This property is required. string- The certificate used for access.
- claim
Expired Seconds This property is required. number - The expired seconds to recycle ENI.
- cluster
As Enabled This property is required. boolean - Indicates whether to enable cluster node auto scaler.
- cluster
Cidr This property is required. string - 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. string - Deployment type of the cluster.
- cluster
Desc This property is required. string - Description of the cluster.
- cluster
External Endpoint This property is required. string - External network address to access.
- cluster
Extra Args This property is required. GetKubernetes Clusters List Cluster Extra Arg[] - Customized parameters for master component.
- cluster
Id This property is required. string - ID of the cluster. Conflict with cluster_name, can not be set at the same time.
- cluster
Ipvs This property is required. boolean - Indicates whether ipvs is enabled.
- cluster
Max Pod Num This property is required. number - The maximum number of Pods per node in the cluster.
- cluster
Max Service Num This property is required. number - The maximum number of services in the cluster.
- cluster
Name This property is required. string - Name of the cluster. Conflict with cluster_id, can not be set at the same time.
- cluster
Node Num This property is required. number - Number of nodes in the cluster.
- cluster
Os This property is required. string - Operating system of the cluster.
- cluster
Version This property is required. string - Version of the cluster.
- container
Runtime This property is required. string - (Deprecated) It has been deprecated from version 1.18.1. Container runtime of the cluster.
- deletion
Protection This property is required. boolean - Indicates whether cluster deletion protection is enabled.
- domain
This property is required. string - Domain name for access.
- eni
Subnet Ids This property is required. string[] - Subnet IDs for cluster with VPC-CNI network mode.
- ignore
Cluster Cidr Conflict This property is required. boolean - Indicates whether to ignore the cluster cidr conflict error.
- is
Non Static Ip Mode This property is required. boolean - Indicates whether non-static ip mode is enabled.
- kube
Config This property is required. string - Kubernetes config.
- kube
Config Intranet This property is required. string - Kubernetes config of private network.
- kube
Proxy Mode This property is required. string - Cluster kube-proxy mode.
- network
Type This property is required. string - Cluster network type.
- node
Name Type This property is required. string - Node name type of cluster.
- password
This property is required. string - Password of account.
- pgw
Endpoint This property is required. string - The Intranet address used for access.
- project
Id This property is required. number - Project ID of the cluster.
- security
Policies This property is required. string[] - Access policy.
- service
Cidr This property is required. string - The network address block of the cluster.
This property is required. {[key: string]: string}- Tags of the cluster.
- user
Name This property is required. string - User name of account.
- vpc
Cni Type This property is required. string - Distinguish between shared network card multi-IP mode and independent network card mode.
- vpc
Id This property is required. string - Vpc ID of the cluster.
- worker
Instances Lists This property is required. GetKubernetes Clusters List Worker Instances List[] - An information list of cvm within the WORKER clusters. Each element contains the following attributes.
- cdc_
id This property is required. str - CDC ID.
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[GetKubernetes Clusters List Cluster Extra Arg] - 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.
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[GetKubernetes Clusters List Worker Instances List] - An information list of cvm within the WORKER clusters. Each element contains the following attributes.
- cdc
Id This property is required. String - CDC ID.
This property is required. String- The certificate used for access.
- claim
Expired Seconds This property is required. Number - The expired seconds to recycle ENI.
- cluster
As Enabled This property is required. Boolean - Indicates whether to enable cluster node auto scaler.
- cluster
Cidr This property is required. String - 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. String - Deployment type of the cluster.
- cluster
Desc This property is required. String - Description of the cluster.
- cluster
External Endpoint This property is required. String - External network address to access.
- cluster
Extra Args This property is required. List<Property Map> - Customized parameters for master component.
- cluster
Id This property is required. String - ID of the cluster. Conflict with cluster_name, can not be set at the same time.
- cluster
Ipvs This property is required. Boolean - Indicates whether ipvs is enabled.
- cluster
Max Pod Num This property is required. Number - The maximum number of Pods per node in the cluster.
- cluster
Max Service Num This property is required. Number - The maximum number of services in the cluster.
- cluster
Name This property is required. String - Name of the cluster. Conflict with cluster_id, can not be set at the same time.
- cluster
Node Num This property is required. Number - Number of nodes in the cluster.
- cluster
Os This property is required. String - Operating system of the cluster.
- cluster
Version This property is required. String - Version of the cluster.
- container
Runtime This property is required. String - (Deprecated) It has been deprecated from version 1.18.1. Container runtime of the cluster.
- deletion
Protection This property is required. Boolean - Indicates whether cluster deletion protection is enabled.
- domain
This property is required. String - Domain name for access.
- eni
Subnet Ids This property is required. List<String> - Subnet IDs for cluster with VPC-CNI network mode.
- ignore
Cluster Cidr Conflict This property is required. Boolean - Indicates whether to ignore the cluster cidr conflict error.
- is
Non Static Ip Mode This property is required. Boolean - Indicates whether non-static ip mode is enabled.
- kube
Config This property is required. String - Kubernetes config.
- kube
Config Intranet This property is required. String - Kubernetes config of private network.
- kube
Proxy Mode This property is required. String - Cluster kube-proxy mode.
- network
Type This property is required. String - Cluster network type.
- node
Name Type This property is required. String - Node name type of cluster.
- password
This property is required. String - Password of account.
- pgw
Endpoint This property is required. String - The Intranet address used for access.
- project
Id This property is required. Number - Project ID of the cluster.
- security
Policies This property is required. List<String> - Access policy.
- service
Cidr This property is required. String - The network address block of the cluster.
This property is required. Map<String>- Tags of the cluster.
- user
Name This property is required. String - User name of account.
- vpc
Cni Type This property is required. String - Distinguish between shared network card multi-IP mode and independent network card mode.
- vpc
Id This property is required. String - Vpc ID of the cluster.
- worker
Instances Lists This property is required. List<Property Map> - An information list of cvm within the WORKER clusters. Each element contains the following attributes.
GetKubernetesClustersListClusterExtraArg
- Kube
Apiservers This property is required. List<string> - The customized parameters for kube-apiserver.
- Kube
Controller Managers This property is required. List<string> - The customized parameters for kube-controller-manager.
- Kube
Schedulers This property is required. List<string> - The customized parameters for kube-scheduler.
- Kube
Apiservers This property is required. []string - The customized parameters for kube-apiserver.
- Kube
Controller Managers This property is required. []string - The customized parameters for kube-controller-manager.
- Kube
Schedulers This property is required. []string - The customized parameters for kube-scheduler.
- kube
Apiservers This property is required. List<String> - The customized parameters for kube-apiserver.
- kube
Controller Managers This property is required. List<String> - The customized parameters for kube-controller-manager.
- kube
Schedulers This property is required. List<String> - The customized parameters for kube-scheduler.
- kube
Apiservers This property is required. string[] - The customized parameters for kube-apiserver.
- kube
Controller Managers This property is required. string[] - The customized parameters for kube-controller-manager.
- kube
Schedulers 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.
- kube
Apiservers This property is required. List<String> - The customized parameters for kube-apiserver.
- kube
Controller Managers This property is required. List<String> - The customized parameters for kube-controller-manager.
- kube
Schedulers This property is required. List<String> - The customized parameters for kube-scheduler.
GetKubernetesClustersListWorkerInstancesList
- Failed
Reason This property is required. string - Information of the cvm when it is failed.
- Instance
Id This property is required. string - ID of the cvm.
- Instance
Role This property is required. string - Role of the cvm.
- Instance
State This property is required. string - State of the cvm.
- Lan
Ip This property is required. string - LAN IP of the cvm.
- Failed
Reason This property is required. string - Information of the cvm when it is failed.
- Instance
Id This property is required. string - ID of the cvm.
- Instance
Role This property is required. string - Role of the cvm.
- Instance
State This property is required. string - State of the cvm.
- Lan
Ip This property is required. string - LAN IP of the cvm.
- failed
Reason This property is required. String - Information of the cvm when it is failed.
- instance
Id This property is required. String - ID of the cvm.
- instance
Role This property is required. String - Role of the cvm.
- instance
State This property is required. String - State of the cvm.
- lan
Ip This property is required. String - LAN IP of the cvm.
- failed
Reason This property is required. string - Information of the cvm when it is failed.
- instance
Id This property is required. string - ID of the cvm.
- instance
Role This property is required. string - Role of the cvm.
- instance
State This property is required. string - State of the cvm.
- lan
Ip 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.
- failed
Reason This property is required. String - Information of the cvm when it is failed.
- instance
Id This property is required. String - ID of the cvm.
- instance
Role This property is required. String - Role of the cvm.
- instance
State This property is required. String - State of the cvm.
- lan
Ip 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.
tencentcloud 1.81.183 published on Wednesday, Apr 16, 2025 by tencentcloudstack