tencentcloud 1.81.183 published on Wednesday, Apr 16, 2025 by tencentcloudstack
tencentcloud.getKubernetesClusterInstances
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 cluster_instances
Example Usage
import * as pulumi from "@pulumi/pulumi";
import * as tencentcloud from "@pulumi/tencentcloud";
const clusterInstances = tencentcloud.getKubernetesClusterInstances({
clusterId: "cls-ely08ic4",
filters: [{
name: "nodepool-id",
values: ["np-p4e6whqu"],
}],
instanceIds: ["ins-kqmx8dm2"],
instanceRole: "WORKER",
});
import pulumi
import pulumi_tencentcloud as tencentcloud
cluster_instances = tencentcloud.get_kubernetes_cluster_instances(cluster_id="cls-ely08ic4",
filters=[{
"name": "nodepool-id",
"values": ["np-p4e6whqu"],
}],
instance_ids=["ins-kqmx8dm2"],
instance_role="WORKER")
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.GetKubernetesClusterInstances(ctx, &tencentcloud.GetKubernetesClusterInstancesArgs{
ClusterId: "cls-ely08ic4",
Filters: []tencentcloud.GetKubernetesClusterInstancesFilter{
{
Name: "nodepool-id",
Values: []string{
"np-p4e6whqu",
},
},
},
InstanceIds: []string{
"ins-kqmx8dm2",
},
InstanceRole: pulumi.StringRef("WORKER"),
}, 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 clusterInstances = Tencentcloud.GetKubernetesClusterInstances.Invoke(new()
{
ClusterId = "cls-ely08ic4",
Filters = new[]
{
new Tencentcloud.Inputs.GetKubernetesClusterInstancesFilterInputArgs
{
Name = "nodepool-id",
Values = new[]
{
"np-p4e6whqu",
},
},
},
InstanceIds = new[]
{
"ins-kqmx8dm2",
},
InstanceRole = "WORKER",
});
});
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.GetKubernetesClusterInstancesArgs;
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 clusterInstances = TencentcloudFunctions.getKubernetesClusterInstances(GetKubernetesClusterInstancesArgs.builder()
.clusterId("cls-ely08ic4")
.filters(GetKubernetesClusterInstancesFilterArgs.builder()
.name("nodepool-id")
.values("np-p4e6whqu")
.build())
.instanceIds("ins-kqmx8dm2")
.instanceRole("WORKER")
.build());
}
}
variables:
clusterInstances:
fn::invoke:
function: tencentcloud:getKubernetesClusterInstances
arguments:
clusterId: cls-ely08ic4
filters:
- name: nodepool-id
values:
- np-p4e6whqu
instanceIds:
- ins-kqmx8dm2
instanceRole: WORKER
Using getKubernetesClusterInstances
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 getKubernetesClusterInstances(args: GetKubernetesClusterInstancesArgs, opts?: InvokeOptions): Promise<GetKubernetesClusterInstancesResult>
function getKubernetesClusterInstancesOutput(args: GetKubernetesClusterInstancesOutputArgs, opts?: InvokeOptions): Output<GetKubernetesClusterInstancesResult>
def get_kubernetes_cluster_instances(cluster_id: Optional[str] = None,
filters: Optional[Sequence[GetKubernetesClusterInstancesFilter]] = None,
id: Optional[str] = None,
instance_ids: Optional[Sequence[str]] = None,
instance_role: Optional[str] = None,
result_output_file: Optional[str] = None,
opts: Optional[InvokeOptions] = None) -> GetKubernetesClusterInstancesResult
def get_kubernetes_cluster_instances_output(cluster_id: Optional[pulumi.Input[str]] = None,
filters: Optional[pulumi.Input[Sequence[pulumi.Input[GetKubernetesClusterInstancesFilterArgs]]]] = None,
id: Optional[pulumi.Input[str]] = None,
instance_ids: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]] = None,
instance_role: Optional[pulumi.Input[str]] = None,
result_output_file: Optional[pulumi.Input[str]] = None,
opts: Optional[InvokeOptions] = None) -> Output[GetKubernetesClusterInstancesResult]
func GetKubernetesClusterInstances(ctx *Context, args *GetKubernetesClusterInstancesArgs, opts ...InvokeOption) (*GetKubernetesClusterInstancesResult, error)
func GetKubernetesClusterInstancesOutput(ctx *Context, args *GetKubernetesClusterInstancesOutputArgs, opts ...InvokeOption) GetKubernetesClusterInstancesResultOutput
> Note: This function is named GetKubernetesClusterInstances
in the Go SDK.
public static class GetKubernetesClusterInstances
{
public static Task<GetKubernetesClusterInstancesResult> InvokeAsync(GetKubernetesClusterInstancesArgs args, InvokeOptions? opts = null)
public static Output<GetKubernetesClusterInstancesResult> Invoke(GetKubernetesClusterInstancesInvokeArgs args, InvokeOptions? opts = null)
}
public static CompletableFuture<GetKubernetesClusterInstancesResult> getKubernetesClusterInstances(GetKubernetesClusterInstancesArgs args, InvokeOptions options)
public static Output<GetKubernetesClusterInstancesResult> getKubernetesClusterInstances(GetKubernetesClusterInstancesArgs args, InvokeOptions options)
fn::invoke:
function: tencentcloud:index/getKubernetesClusterInstances:getKubernetesClusterInstances
arguments:
# arguments dictionary
The following arguments are supported:
- Cluster
Id This property is required. string - ID of the cluster.
- Filters
List<Get
Kubernetes Cluster Instances Filter> - List of filter conditions. The optional values of Name are
nodepool-id
andnodepool-instance-type
. Name isnodepool-id
, which means filtering machines based on node pool id, and Value is the specific node pool id. Name isnodepool-instance-type
, which indicates how the node is added to the node pool. Value is MANUALLY_ADDED (manually added to the node pool), AUTOSCALING_ADDED (joined by scaling group expansion method), ALL (manually join the node pool and join the node pool through scaling group expansion). - Id string
- Instance
Ids List<string> - List of node instance IDs to be obtained. If it is empty, it means pulling all node instances in the cluster.
- Instance
Role string - Node role, MASTER, WORKER, ETCD, MASTER_ETCD,ALL, default is WORKER.
- Result
Output stringFile - Used to save results.
- Cluster
Id This property is required. string - ID of the cluster.
- Filters
[]Get
Kubernetes Cluster Instances Filter - List of filter conditions. The optional values of Name are
nodepool-id
andnodepool-instance-type
. Name isnodepool-id
, which means filtering machines based on node pool id, and Value is the specific node pool id. Name isnodepool-instance-type
, which indicates how the node is added to the node pool. Value is MANUALLY_ADDED (manually added to the node pool), AUTOSCALING_ADDED (joined by scaling group expansion method), ALL (manually join the node pool and join the node pool through scaling group expansion). - Id string
- Instance
Ids []string - List of node instance IDs to be obtained. If it is empty, it means pulling all node instances in the cluster.
- Instance
Role string - Node role, MASTER, WORKER, ETCD, MASTER_ETCD,ALL, default is WORKER.
- Result
Output stringFile - Used to save results.
- cluster
Id This property is required. String - ID of the cluster.
- filters
List<Get
Kubernetes Cluster Instances Filter> - List of filter conditions. The optional values of Name are
nodepool-id
andnodepool-instance-type
. Name isnodepool-id
, which means filtering machines based on node pool id, and Value is the specific node pool id. Name isnodepool-instance-type
, which indicates how the node is added to the node pool. Value is MANUALLY_ADDED (manually added to the node pool), AUTOSCALING_ADDED (joined by scaling group expansion method), ALL (manually join the node pool and join the node pool through scaling group expansion). - id String
- instance
Ids List<String> - List of node instance IDs to be obtained. If it is empty, it means pulling all node instances in the cluster.
- instance
Role String - Node role, MASTER, WORKER, ETCD, MASTER_ETCD,ALL, default is WORKER.
- result
Output StringFile - Used to save results.
- cluster
Id This property is required. string - ID of the cluster.
- filters
Get
Kubernetes Cluster Instances Filter[] - List of filter conditions. The optional values of Name are
nodepool-id
andnodepool-instance-type
. Name isnodepool-id
, which means filtering machines based on node pool id, and Value is the specific node pool id. Name isnodepool-instance-type
, which indicates how the node is added to the node pool. Value is MANUALLY_ADDED (manually added to the node pool), AUTOSCALING_ADDED (joined by scaling group expansion method), ALL (manually join the node pool and join the node pool through scaling group expansion). - id string
- instance
Ids string[] - List of node instance IDs to be obtained. If it is empty, it means pulling all node instances in the cluster.
- instance
Role string - Node role, MASTER, WORKER, ETCD, MASTER_ETCD,ALL, default is WORKER.
- result
Output stringFile - Used to save results.
- cluster_
id This property is required. str - ID of the cluster.
- filters
Sequence[Get
Kubernetes Cluster Instances Filter] - List of filter conditions. The optional values of Name are
nodepool-id
andnodepool-instance-type
. Name isnodepool-id
, which means filtering machines based on node pool id, and Value is the specific node pool id. Name isnodepool-instance-type
, which indicates how the node is added to the node pool. Value is MANUALLY_ADDED (manually added to the node pool), AUTOSCALING_ADDED (joined by scaling group expansion method), ALL (manually join the node pool and join the node pool through scaling group expansion). - id str
- instance_
ids Sequence[str] - List of node instance IDs to be obtained. If it is empty, it means pulling all node instances in the cluster.
- instance_
role str - Node role, MASTER, WORKER, ETCD, MASTER_ETCD,ALL, default is WORKER.
- result_
output_ strfile - Used to save results.
- cluster
Id This property is required. String - ID of the cluster.
- filters List<Property Map>
- List of filter conditions. The optional values of Name are
nodepool-id
andnodepool-instance-type
. Name isnodepool-id
, which means filtering machines based on node pool id, and Value is the specific node pool id. Name isnodepool-instance-type
, which indicates how the node is added to the node pool. Value is MANUALLY_ADDED (manually added to the node pool), AUTOSCALING_ADDED (joined by scaling group expansion method), ALL (manually join the node pool and join the node pool through scaling group expansion). - id String
- instance
Ids List<String> - List of node instance IDs to be obtained. If it is empty, it means pulling all node instances in the cluster.
- instance
Role String - Node role, MASTER, WORKER, ETCD, MASTER_ETCD,ALL, default is WORKER.
- result
Output StringFile - Used to save results.
getKubernetesClusterInstances Result
The following output properties are available:
- Cluster
Id string - Id string
- Instance
Sets List<GetKubernetes Cluster Instances Instance Set> - List of instances in the cluster.
- Filters
List<Get
Kubernetes Cluster Instances Filter> - Instance
Ids List<string> - Instance
Role string - Node role, MASTER, WORKER, ETCD, MASTER_ETCD,ALL, default is WORKER.
- Result
Output stringFile
- Cluster
Id string - Id string
- Instance
Sets []GetKubernetes Cluster Instances Instance Set - List of instances in the cluster.
- Filters
[]Get
Kubernetes Cluster Instances Filter - Instance
Ids []string - Instance
Role string - Node role, MASTER, WORKER, ETCD, MASTER_ETCD,ALL, default is WORKER.
- Result
Output stringFile
- cluster
Id String - id String
- instance
Sets List<GetKubernetes Cluster Instances Instance Set> - List of instances in the cluster.
- filters
List<Get
Kubernetes Cluster Instances Filter> - instance
Ids List<String> - instance
Role String - Node role, MASTER, WORKER, ETCD, MASTER_ETCD,ALL, default is WORKER.
- result
Output StringFile
- cluster
Id string - id string
- instance
Sets GetKubernetes Cluster Instances Instance Set[] - List of instances in the cluster.
- filters
Get
Kubernetes Cluster Instances Filter[] - instance
Ids string[] - instance
Role string - Node role, MASTER, WORKER, ETCD, MASTER_ETCD,ALL, default is WORKER.
- result
Output stringFile
- cluster_
id str - id str
- instance_
sets Sequence[GetKubernetes Cluster Instances Instance Set] - List of instances in the cluster.
- filters
Sequence[Get
Kubernetes Cluster Instances Filter] - instance_
ids Sequence[str] - instance_
role str - Node role, MASTER, WORKER, ETCD, MASTER_ETCD,ALL, default is WORKER.
- result_
output_ strfile
- cluster
Id String - id String
- instance
Sets List<Property Map> - List of instances in the cluster.
- filters List<Property Map>
- instance
Ids List<String> - instance
Role String - Node role, MASTER, WORKER, ETCD, MASTER_ETCD,ALL, default is WORKER.
- result
Output StringFile
Supporting Types
GetKubernetesClusterInstancesFilter
- Name
This property is required. string - The attribute name, if there are multiple filters, the relationship between the filters is a logical AND relationship.
- Values
This property is required. List<string> - Attribute values, if there are multiple values in the same filter, the relationship between values under the same filter is a logical OR relationship.
- Name
This property is required. string - The attribute name, if there are multiple filters, the relationship between the filters is a logical AND relationship.
- Values
This property is required. []string - Attribute values, if there are multiple values in the same filter, the relationship between values under the same filter is a logical OR relationship.
- name
This property is required. String - The attribute name, if there are multiple filters, the relationship between the filters is a logical AND relationship.
- values
This property is required. List<String> - Attribute values, if there are multiple values in the same filter, the relationship between values under the same filter is a logical OR relationship.
- name
This property is required. string - The attribute name, if there are multiple filters, the relationship between the filters is a logical AND relationship.
- values
This property is required. string[] - Attribute values, if there are multiple values in the same filter, the relationship between values under the same filter is a logical OR relationship.
- name
This property is required. str - The attribute name, if there are multiple filters, the relationship between the filters is a logical AND relationship.
- values
This property is required. Sequence[str] - Attribute values, if there are multiple values in the same filter, the relationship between values under the same filter is a logical OR relationship.
- name
This property is required. String - The attribute name, if there are multiple filters, the relationship between the filters is a logical AND relationship.
- values
This property is required. List<String> - Attribute values, if there are multiple values in the same filter, the relationship between values under the same filter is a logical OR relationship.
GetKubernetesClusterInstancesInstanceSet
- Autoscaling
Group Id This property is required. string - Auto scaling group ID.
- Created
Time This property is required. string - Add time.
- Drain
Status This property is required. string - Whether the instance is blocked.
- Failed
Reason This property is required. string - Reasons for instance exception (or being initialized).
- Instance
Advanced Settings This property is required. List<GetKubernetes Cluster Instances Instance Set Instance Advanced Setting> - Node configuration.
- Instance
Id This property is required. string - Instance ID.
- Instance
Role This property is required. string - Node role, MASTER, WORKER, ETCD, MASTER_ETCD,ALL, default is WORKER.
- Instance
State This property is required. string - The status of the instance (running, initializing, failed).
- Lan
Ip This property is required. string - Node intranet IP.
- Node
Pool Id This property is required. string - Resource pool ID.
- Autoscaling
Group Id This property is required. string - Auto scaling group ID.
- Created
Time This property is required. string - Add time.
- Drain
Status This property is required. string - Whether the instance is blocked.
- Failed
Reason This property is required. string - Reasons for instance exception (or being initialized).
- Instance
Advanced Settings This property is required. []GetKubernetes Cluster Instances Instance Set Instance Advanced Setting - Node configuration.
- Instance
Id This property is required. string - Instance ID.
- Instance
Role This property is required. string - Node role, MASTER, WORKER, ETCD, MASTER_ETCD,ALL, default is WORKER.
- Instance
State This property is required. string - The status of the instance (running, initializing, failed).
- Lan
Ip This property is required. string - Node intranet IP.
- Node
Pool Id This property is required. string - Resource pool ID.
- autoscaling
Group Id This property is required. String - Auto scaling group ID.
- created
Time This property is required. String - Add time.
- drain
Status This property is required. String - Whether the instance is blocked.
- failed
Reason This property is required. String - Reasons for instance exception (or being initialized).
- instance
Advanced Settings This property is required. List<GetKubernetes Cluster Instances Instance Set Instance Advanced Setting> - Node configuration.
- instance
Id This property is required. String - Instance ID.
- instance
Role This property is required. String - Node role, MASTER, WORKER, ETCD, MASTER_ETCD,ALL, default is WORKER.
- instance
State This property is required. String - The status of the instance (running, initializing, failed).
- lan
Ip This property is required. String - Node intranet IP.
- node
Pool Id This property is required. String - Resource pool ID.
- autoscaling
Group Id This property is required. string - Auto scaling group ID.
- created
Time This property is required. string - Add time.
- drain
Status This property is required. string - Whether the instance is blocked.
- failed
Reason This property is required. string - Reasons for instance exception (or being initialized).
- instance
Advanced Settings This property is required. GetKubernetes Cluster Instances Instance Set Instance Advanced Setting[] - Node configuration.
- instance
Id This property is required. string - Instance ID.
- instance
Role This property is required. string - Node role, MASTER, WORKER, ETCD, MASTER_ETCD,ALL, default is WORKER.
- instance
State This property is required. string - The status of the instance (running, initializing, failed).
- lan
Ip This property is required. string - Node intranet IP.
- node
Pool Id This property is required. string - Resource pool ID.
- autoscaling_
group_ id This property is required. str - Auto scaling group ID.
- created_
time This property is required. str - Add time.
- drain_
status This property is required. str - Whether the instance is blocked.
- failed_
reason This property is required. str - Reasons for instance exception (or being initialized).
- instance_
advanced_ settings This property is required. Sequence[GetKubernetes Cluster Instances Instance Set Instance Advanced Setting] - Node configuration.
- instance_
id This property is required. str - Instance ID.
- instance_
role This property is required. str - Node role, MASTER, WORKER, ETCD, MASTER_ETCD,ALL, default is WORKER.
- instance_
state This property is required. str - The status of the instance (running, initializing, failed).
- lan_
ip This property is required. str - Node intranet IP.
- node_
pool_ id This property is required. str - Resource pool ID.
- autoscaling
Group Id This property is required. String - Auto scaling group ID.
- created
Time This property is required. String - Add time.
- drain
Status This property is required. String - Whether the instance is blocked.
- failed
Reason This property is required. String - Reasons for instance exception (or being initialized).
- instance
Advanced Settings This property is required. List<Property Map> - Node configuration.
- instance
Id This property is required. String - Instance ID.
- instance
Role This property is required. String - Node role, MASTER, WORKER, ETCD, MASTER_ETCD,ALL, default is WORKER.
- instance
State This property is required. String - The status of the instance (running, initializing, failed).
- lan
Ip This property is required. String - Node intranet IP.
- node
Pool Id This property is required. String - Resource pool ID.
GetKubernetesClusterInstancesInstanceSetInstanceAdvancedSetting
- Data
Disks This property is required. List<GetKubernetes Cluster Instances Instance Set Instance Advanced Setting Data Disk> - Multi-disk data disk mounting information.
- Desired
Pod Number This property is required. double - When the node belongs to the podCIDR size customization mode, you can specify the upper limit of the number of pods running on the node.
- Docker
Graph Path This property is required. string - Dockerd --graph specifies the value, the default is /var/lib/docker.
- Extra
Args This property is required. List<GetKubernetes Cluster Instances Instance Set Instance Advanced Setting Extra Arg> - Node-related custom parameter information.
- Gpu
Args This property is required. List<GetKubernetes Cluster Instances Instance Set Instance Advanced Setting Gpu Arg> - GPU driver related parameters, obtain related GPU parameters: https://cloud.tencent.com/document/api/213/15715.
- Labels
This property is required. List<GetKubernetes Cluster Instances Instance Set Instance Advanced Setting Label> - Node Label array.
- Mount
Target This property is required. string - Data disk mount point, the data disk is not mounted by default. Formatted ext3, ext4, xfs file system data disks will be mounted directly. Other file systems or unformatted data disks will be automatically formatted as ext4 (tlinux system formatted as xfs) and mounted. Please pay attention to backing up the data. This setting does not take effect for cloud hosts that have no data disks or multiple data disks.
- Pre
Start User Script This property is required. string - Base64 encoded user script, executed before initializing the node, currently only effective for adding existing nodes.
- Taints
This property is required. List<GetKubernetes Cluster Instances Instance Set Instance Advanced Setting Taint> - Node taint.
- Unschedulable
This property is required. double - Set whether the added node participates in scheduling. The default value is 0, which means participating in scheduling; non-0 means not participating in scheduling. After the node initialization is completed, you can execute kubectl uncordon nodename to join the node in scheduling.
- User
Script This property is required. string - Base64 encoded userscript.
- Data
Disks This property is required. []GetKubernetes Cluster Instances Instance Set Instance Advanced Setting Data Disk - Multi-disk data disk mounting information.
- Desired
Pod Number This property is required. float64 - When the node belongs to the podCIDR size customization mode, you can specify the upper limit of the number of pods running on the node.
- Docker
Graph Path This property is required. string - Dockerd --graph specifies the value, the default is /var/lib/docker.
- Extra
Args This property is required. []GetKubernetes Cluster Instances Instance Set Instance Advanced Setting Extra Arg - Node-related custom parameter information.
- Gpu
Args This property is required. []GetKubernetes Cluster Instances Instance Set Instance Advanced Setting Gpu Arg - GPU driver related parameters, obtain related GPU parameters: https://cloud.tencent.com/document/api/213/15715.
- Labels
This property is required. []GetKubernetes Cluster Instances Instance Set Instance Advanced Setting Label - Node Label array.
- Mount
Target This property is required. string - Data disk mount point, the data disk is not mounted by default. Formatted ext3, ext4, xfs file system data disks will be mounted directly. Other file systems or unformatted data disks will be automatically formatted as ext4 (tlinux system formatted as xfs) and mounted. Please pay attention to backing up the data. This setting does not take effect for cloud hosts that have no data disks or multiple data disks.
- Pre
Start User Script This property is required. string - Base64 encoded user script, executed before initializing the node, currently only effective for adding existing nodes.
- Taints
This property is required. []GetKubernetes Cluster Instances Instance Set Instance Advanced Setting Taint - Node taint.
- Unschedulable
This property is required. float64 - Set whether the added node participates in scheduling. The default value is 0, which means participating in scheduling; non-0 means not participating in scheduling. After the node initialization is completed, you can execute kubectl uncordon nodename to join the node in scheduling.
- User
Script This property is required. string - Base64 encoded userscript.
- data
Disks This property is required. List<GetKubernetes Cluster Instances Instance Set Instance Advanced Setting Data Disk> - Multi-disk data disk mounting information.
- desired
Pod Number This property is required. Double - When the node belongs to the podCIDR size customization mode, you can specify the upper limit of the number of pods running on the node.
- docker
Graph Path This property is required. String - Dockerd --graph specifies the value, the default is /var/lib/docker.
- extra
Args This property is required. List<GetKubernetes Cluster Instances Instance Set Instance Advanced Setting Extra Arg> - Node-related custom parameter information.
- gpu
Args This property is required. List<GetKubernetes Cluster Instances Instance Set Instance Advanced Setting Gpu Arg> - GPU driver related parameters, obtain related GPU parameters: https://cloud.tencent.com/document/api/213/15715.
- labels
This property is required. List<GetKubernetes Cluster Instances Instance Set Instance Advanced Setting Label> - Node Label array.
- mount
Target This property is required. String - Data disk mount point, the data disk is not mounted by default. Formatted ext3, ext4, xfs file system data disks will be mounted directly. Other file systems or unformatted data disks will be automatically formatted as ext4 (tlinux system formatted as xfs) and mounted. Please pay attention to backing up the data. This setting does not take effect for cloud hosts that have no data disks or multiple data disks.
- pre
Start User Script This property is required. String - Base64 encoded user script, executed before initializing the node, currently only effective for adding existing nodes.
- taints
This property is required. List<GetKubernetes Cluster Instances Instance Set Instance Advanced Setting Taint> - Node taint.
- unschedulable
This property is required. Double - Set whether the added node participates in scheduling. The default value is 0, which means participating in scheduling; non-0 means not participating in scheduling. After the node initialization is completed, you can execute kubectl uncordon nodename to join the node in scheduling.
- user
Script This property is required. String - Base64 encoded userscript.
- data
Disks This property is required. GetKubernetes Cluster Instances Instance Set Instance Advanced Setting Data Disk[] - Multi-disk data disk mounting information.
- desired
Pod Number This property is required. number - When the node belongs to the podCIDR size customization mode, you can specify the upper limit of the number of pods running on the node.
- docker
Graph Path This property is required. string - Dockerd --graph specifies the value, the default is /var/lib/docker.
- extra
Args This property is required. GetKubernetes Cluster Instances Instance Set Instance Advanced Setting Extra Arg[] - Node-related custom parameter information.
- gpu
Args This property is required. GetKubernetes Cluster Instances Instance Set Instance Advanced Setting Gpu Arg[] - GPU driver related parameters, obtain related GPU parameters: https://cloud.tencent.com/document/api/213/15715.
- labels
This property is required. GetKubernetes Cluster Instances Instance Set Instance Advanced Setting Label[] - Node Label array.
- mount
Target This property is required. string - Data disk mount point, the data disk is not mounted by default. Formatted ext3, ext4, xfs file system data disks will be mounted directly. Other file systems or unformatted data disks will be automatically formatted as ext4 (tlinux system formatted as xfs) and mounted. Please pay attention to backing up the data. This setting does not take effect for cloud hosts that have no data disks or multiple data disks.
- pre
Start User Script This property is required. string - Base64 encoded user script, executed before initializing the node, currently only effective for adding existing nodes.
- taints
This property is required. GetKubernetes Cluster Instances Instance Set Instance Advanced Setting Taint[] - Node taint.
- unschedulable
This property is required. number - Set whether the added node participates in scheduling. The default value is 0, which means participating in scheduling; non-0 means not participating in scheduling. After the node initialization is completed, you can execute kubectl uncordon nodename to join the node in scheduling.
- user
Script This property is required. string - Base64 encoded userscript.
- data_
disks This property is required. Sequence[GetKubernetes Cluster Instances Instance Set Instance Advanced Setting Data Disk] - Multi-disk data disk mounting information.
- desired_
pod_ number This property is required. float - When the node belongs to the podCIDR size customization mode, you can specify the upper limit of the number of pods running on the node.
- docker_
graph_ path This property is required. str - Dockerd --graph specifies the value, the default is /var/lib/docker.
- extra_
args This property is required. Sequence[GetKubernetes Cluster Instances Instance Set Instance Advanced Setting Extra Arg] - Node-related custom parameter information.
- gpu_
args This property is required. Sequence[GetKubernetes Cluster Instances Instance Set Instance Advanced Setting Gpu Arg] - GPU driver related parameters, obtain related GPU parameters: https://cloud.tencent.com/document/api/213/15715.
- labels
This property is required. Sequence[GetKubernetes Cluster Instances Instance Set Instance Advanced Setting Label] - Node Label array.
- mount_
target This property is required. str - Data disk mount point, the data disk is not mounted by default. Formatted ext3, ext4, xfs file system data disks will be mounted directly. Other file systems or unformatted data disks will be automatically formatted as ext4 (tlinux system formatted as xfs) and mounted. Please pay attention to backing up the data. This setting does not take effect for cloud hosts that have no data disks or multiple data disks.
- pre_
start_ user_ script This property is required. str - Base64 encoded user script, executed before initializing the node, currently only effective for adding existing nodes.
- taints
This property is required. Sequence[GetKubernetes Cluster Instances Instance Set Instance Advanced Setting Taint] - Node taint.
- unschedulable
This property is required. float - Set whether the added node participates in scheduling. The default value is 0, which means participating in scheduling; non-0 means not participating in scheduling. After the node initialization is completed, you can execute kubectl uncordon nodename to join the node in scheduling.
- user_
script This property is required. str - Base64 encoded userscript.
- data
Disks This property is required. List<Property Map> - Multi-disk data disk mounting information.
- desired
Pod Number This property is required. Number - When the node belongs to the podCIDR size customization mode, you can specify the upper limit of the number of pods running on the node.
- docker
Graph Path This property is required. String - Dockerd --graph specifies the value, the default is /var/lib/docker.
- extra
Args This property is required. List<Property Map> - Node-related custom parameter information.
- gpu
Args This property is required. List<Property Map> - GPU driver related parameters, obtain related GPU parameters: https://cloud.tencent.com/document/api/213/15715.
- labels
This property is required. List<Property Map> - Node Label array.
- mount
Target This property is required. String - Data disk mount point, the data disk is not mounted by default. Formatted ext3, ext4, xfs file system data disks will be mounted directly. Other file systems or unformatted data disks will be automatically formatted as ext4 (tlinux system formatted as xfs) and mounted. Please pay attention to backing up the data. This setting does not take effect for cloud hosts that have no data disks or multiple data disks.
- pre
Start User Script This property is required. String - Base64 encoded user script, executed before initializing the node, currently only effective for adding existing nodes.
- taints
This property is required. List<Property Map> - Node taint.
- unschedulable
This property is required. Number - Set whether the added node participates in scheduling. The default value is 0, which means participating in scheduling; non-0 means not participating in scheduling. After the node initialization is completed, you can execute kubectl uncordon nodename to join the node in scheduling.
- user
Script This property is required. String - Base64 encoded userscript.
GetKubernetesClusterInstancesInstanceSetInstanceAdvancedSettingDataDisk
- Auto
Format And Mount This property is required. bool - Whether to automatically format the disk and mount it.
- Disk
Partition This property is required. string - Mount device name or partition name, required when and only when adding an existing node.
- Disk
Size This property is required. double - Cloud disk size (G).
- Disk
Type This property is required. string - Cloud disk type.
- File
System This property is required. string - File system (ext3/ext4/xfs).
- Mount
Target This property is required. string - Data disk mount point, the data disk is not mounted by default. Formatted ext3, ext4, xfs file system data disks will be mounted directly. Other file systems or unformatted data disks will be automatically formatted as ext4 (tlinux system formatted as xfs) and mounted. Please pay attention to backing up the data. This setting does not take effect for cloud hosts that have no data disks or multiple data disks.
- Auto
Format And Mount This property is required. bool - Whether to automatically format the disk and mount it.
- Disk
Partition This property is required. string - Mount device name or partition name, required when and only when adding an existing node.
- Disk
Size This property is required. float64 - Cloud disk size (G).
- Disk
Type This property is required. string - Cloud disk type.
- File
System This property is required. string - File system (ext3/ext4/xfs).
- Mount
Target This property is required. string - Data disk mount point, the data disk is not mounted by default. Formatted ext3, ext4, xfs file system data disks will be mounted directly. Other file systems or unformatted data disks will be automatically formatted as ext4 (tlinux system formatted as xfs) and mounted. Please pay attention to backing up the data. This setting does not take effect for cloud hosts that have no data disks or multiple data disks.
- auto
Format And Mount This property is required. Boolean - Whether to automatically format the disk and mount it.
- disk
Partition This property is required. String - Mount device name or partition name, required when and only when adding an existing node.
- disk
Size This property is required. Double - Cloud disk size (G).
- disk
Type This property is required. String - Cloud disk type.
- file
System This property is required. String - File system (ext3/ext4/xfs).
- mount
Target This property is required. String - Data disk mount point, the data disk is not mounted by default. Formatted ext3, ext4, xfs file system data disks will be mounted directly. Other file systems or unformatted data disks will be automatically formatted as ext4 (tlinux system formatted as xfs) and mounted. Please pay attention to backing up the data. This setting does not take effect for cloud hosts that have no data disks or multiple data disks.
- auto
Format And Mount This property is required. boolean - Whether to automatically format the disk and mount it.
- disk
Partition This property is required. string - Mount device name or partition name, required when and only when adding an existing node.
- disk
Size This property is required. number - Cloud disk size (G).
- disk
Type This property is required. string - Cloud disk type.
- file
System This property is required. string - File system (ext3/ext4/xfs).
- mount
Target This property is required. string - Data disk mount point, the data disk is not mounted by default. Formatted ext3, ext4, xfs file system data disks will be mounted directly. Other file systems or unformatted data disks will be automatically formatted as ext4 (tlinux system formatted as xfs) and mounted. Please pay attention to backing up the data. This setting does not take effect for cloud hosts that have no data disks or multiple data disks.
- auto_
format_ and_ mount This property is required. bool - Whether to automatically format the disk and mount it.
- disk_
partition This property is required. str - Mount device name or partition name, required when and only when adding an existing node.
- disk_
size This property is required. float - Cloud disk size (G).
- disk_
type This property is required. str - Cloud disk type.
- file_
system This property is required. str - File system (ext3/ext4/xfs).
- mount_
target This property is required. str - Data disk mount point, the data disk is not mounted by default. Formatted ext3, ext4, xfs file system data disks will be mounted directly. Other file systems or unformatted data disks will be automatically formatted as ext4 (tlinux system formatted as xfs) and mounted. Please pay attention to backing up the data. This setting does not take effect for cloud hosts that have no data disks or multiple data disks.
- auto
Format And Mount This property is required. Boolean - Whether to automatically format the disk and mount it.
- disk
Partition This property is required. String - Mount device name or partition name, required when and only when adding an existing node.
- disk
Size This property is required. Number - Cloud disk size (G).
- disk
Type This property is required. String - Cloud disk type.
- file
System This property is required. String - File system (ext3/ext4/xfs).
- mount
Target This property is required. String - Data disk mount point, the data disk is not mounted by default. Formatted ext3, ext4, xfs file system data disks will be mounted directly. Other file systems or unformatted data disks will be automatically formatted as ext4 (tlinux system formatted as xfs) and mounted. Please pay attention to backing up the data. This setting does not take effect for cloud hosts that have no data disks or multiple data disks.
GetKubernetesClusterInstancesInstanceSetInstanceAdvancedSettingExtraArg
- Kubelets
This property is required. List<string> - Kubelet custom parameters.
- Kubelets
This property is required. []string - Kubelet custom parameters.
- kubelets
This property is required. List<String> - Kubelet custom parameters.
- kubelets
This property is required. string[] - Kubelet custom parameters.
- kubelets
This property is required. Sequence[str] - Kubelet custom parameters.
- kubelets
This property is required. List<String> - Kubelet custom parameters.
GetKubernetesClusterInstancesInstanceSetInstanceAdvancedSettingGpuArg
- Cudas
This property is required. List<GetKubernetes Cluster Instances Instance Set Instance Advanced Setting Gpu Arg Cuda> - CUDA version information.
- Cudnns
This property is required. List<GetKubernetes Cluster Instances Instance Set Instance Advanced Setting Gpu Arg Cudnn> - CuDNN version information.
- Custom
Drivers This property is required. List<GetKubernetes Cluster Instances Instance Set Instance Advanced Setting Gpu Arg Custom Driver> - Custom GPU driver information.
- Drivers
This property is required. List<GetKubernetes Cluster Instances Instance Set Instance Advanced Setting Gpu Arg Driver> - GPU driver version information.
- Mig
Enable This property is required. bool - Whether to enable MIG features.
- Cudas
This property is required. []GetKubernetes Cluster Instances Instance Set Instance Advanced Setting Gpu Arg Cuda - CUDA version information.
- Cudnns
This property is required. []GetKubernetes Cluster Instances Instance Set Instance Advanced Setting Gpu Arg Cudnn - CuDNN version information.
- Custom
Drivers This property is required. []GetKubernetes Cluster Instances Instance Set Instance Advanced Setting Gpu Arg Custom Driver - Custom GPU driver information.
- Drivers
This property is required. []GetKubernetes Cluster Instances Instance Set Instance Advanced Setting Gpu Arg Driver - GPU driver version information.
- Mig
Enable This property is required. bool - Whether to enable MIG features.
- cudas
This property is required. List<GetKubernetes Cluster Instances Instance Set Instance Advanced Setting Gpu Arg Cuda> - CUDA version information.
- cudnns
This property is required. List<GetKubernetes Cluster Instances Instance Set Instance Advanced Setting Gpu Arg Cudnn> - CuDNN version information.
- custom
Drivers This property is required. List<GetKubernetes Cluster Instances Instance Set Instance Advanced Setting Gpu Arg Custom Driver> - Custom GPU driver information.
- drivers
This property is required. List<GetKubernetes Cluster Instances Instance Set Instance Advanced Setting Gpu Arg Driver> - GPU driver version information.
- mig
Enable This property is required. Boolean - Whether to enable MIG features.
- cudas
This property is required. GetKubernetes Cluster Instances Instance Set Instance Advanced Setting Gpu Arg Cuda[] - CUDA version information.
- cudnns
This property is required. GetKubernetes Cluster Instances Instance Set Instance Advanced Setting Gpu Arg Cudnn[] - CuDNN version information.
- custom
Drivers This property is required. GetKubernetes Cluster Instances Instance Set Instance Advanced Setting Gpu Arg Custom Driver[] - Custom GPU driver information.
- drivers
This property is required. GetKubernetes Cluster Instances Instance Set Instance Advanced Setting Gpu Arg Driver[] - GPU driver version information.
- mig
Enable This property is required. boolean - Whether to enable MIG features.
- cudas
This property is required. Sequence[GetKubernetes Cluster Instances Instance Set Instance Advanced Setting Gpu Arg Cuda] - CUDA version information.
- cudnns
This property is required. Sequence[GetKubernetes Cluster Instances Instance Set Instance Advanced Setting Gpu Arg Cudnn] - CuDNN version information.
- custom_
drivers This property is required. Sequence[GetKubernetes Cluster Instances Instance Set Instance Advanced Setting Gpu Arg Custom Driver] - Custom GPU driver information.
- drivers
This property is required. Sequence[GetKubernetes Cluster Instances Instance Set Instance Advanced Setting Gpu Arg Driver] - GPU driver version information.
- mig_
enable This property is required. bool - Whether to enable MIG features.
- cudas
This property is required. List<Property Map> - CUDA version information.
- cudnns
This property is required. List<Property Map> - CuDNN version information.
- custom
Drivers This property is required. List<Property Map> - Custom GPU driver information.
- drivers
This property is required. List<Property Map> - GPU driver version information.
- mig
Enable This property is required. Boolean - Whether to enable MIG features.
GetKubernetesClusterInstancesInstanceSetInstanceAdvancedSettingGpuArgCuda
GetKubernetesClusterInstancesInstanceSetInstanceAdvancedSettingGpuArgCudnn
GetKubernetesClusterInstancesInstanceSetInstanceAdvancedSettingGpuArgCustomDriver
- Address
This property is required. string - Custom GPU driver address link.
- Address
This property is required. string - Custom GPU driver address link.
- address
This property is required. String - Custom GPU driver address link.
- address
This property is required. string - Custom GPU driver address link.
- address
This property is required. str - Custom GPU driver address link.
- address
This property is required. String - Custom GPU driver address link.
GetKubernetesClusterInstancesInstanceSetInstanceAdvancedSettingGpuArgDriver
GetKubernetesClusterInstancesInstanceSetInstanceAdvancedSettingLabel
GetKubernetesClusterInstancesInstanceSetInstanceAdvancedSettingTaint
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