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

tencentcloud.getKubernetesClusterInstances

Explore with Pulumi AI

tencentcloud logo
tencentcloud 1.81.189 published on Wednesday, Apr 30, 2025 by tencentcloudstack

    Use this data source to query detailed information of kubernetes 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:

    ClusterId string
    ID of the cluster.
    Filters List<GetKubernetesClusterInstancesFilter>
    List of filter conditions. The optional values of Name are nodepool-id and nodepool-instance-type. Name is nodepool-id, which means filtering machines based on node pool id, and Value is the specific node pool id. Name is nodepool-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
    InstanceIds List<string>
    List of node instance IDs to be obtained. If it is empty, it means pulling all node instances in the cluster.
    InstanceRole string
    Node role, MASTER, WORKER, ETCD, MASTER_ETCD,ALL, default is WORKER.
    ResultOutputFile string
    Used to save results.
    ClusterId string
    ID of the cluster.
    Filters []GetKubernetesClusterInstancesFilter
    List of filter conditions. The optional values of Name are nodepool-id and nodepool-instance-type. Name is nodepool-id, which means filtering machines based on node pool id, and Value is the specific node pool id. Name is nodepool-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
    InstanceIds []string
    List of node instance IDs to be obtained. If it is empty, it means pulling all node instances in the cluster.
    InstanceRole string
    Node role, MASTER, WORKER, ETCD, MASTER_ETCD,ALL, default is WORKER.
    ResultOutputFile string
    Used to save results.
    clusterId String
    ID of the cluster.
    filters List<GetKubernetesClusterInstancesFilter>
    List of filter conditions. The optional values of Name are nodepool-id and nodepool-instance-type. Name is nodepool-id, which means filtering machines based on node pool id, and Value is the specific node pool id. Name is nodepool-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
    instanceIds List<String>
    List of node instance IDs to be obtained. If it is empty, it means pulling all node instances in the cluster.
    instanceRole String
    Node role, MASTER, WORKER, ETCD, MASTER_ETCD,ALL, default is WORKER.
    resultOutputFile String
    Used to save results.
    clusterId string
    ID of the cluster.
    filters GetKubernetesClusterInstancesFilter[]
    List of filter conditions. The optional values of Name are nodepool-id and nodepool-instance-type. Name is nodepool-id, which means filtering machines based on node pool id, and Value is the specific node pool id. Name is nodepool-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
    instanceIds string[]
    List of node instance IDs to be obtained. If it is empty, it means pulling all node instances in the cluster.
    instanceRole string
    Node role, MASTER, WORKER, ETCD, MASTER_ETCD,ALL, default is WORKER.
    resultOutputFile string
    Used to save results.
    cluster_id str
    ID of the cluster.
    filters Sequence[GetKubernetesClusterInstancesFilter]
    List of filter conditions. The optional values of Name are nodepool-id and nodepool-instance-type. Name is nodepool-id, which means filtering machines based on node pool id, and Value is the specific node pool id. Name is nodepool-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_file str
    Used to save results.
    clusterId String
    ID of the cluster.
    filters List<Property Map>
    List of filter conditions. The optional values of Name are nodepool-id and nodepool-instance-type. Name is nodepool-id, which means filtering machines based on node pool id, and Value is the specific node pool id. Name is nodepool-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
    instanceIds List<String>
    List of node instance IDs to be obtained. If it is empty, it means pulling all node instances in the cluster.
    instanceRole String
    Node role, MASTER, WORKER, ETCD, MASTER_ETCD,ALL, default is WORKER.
    resultOutputFile String
    Used to save results.

    getKubernetesClusterInstances Result

    The following output properties are available:

    ClusterId string
    Id string
    InstanceSets List<GetKubernetesClusterInstancesInstanceSet>
    List of instances in the cluster.
    Filters List<GetKubernetesClusterInstancesFilter>
    InstanceIds List<string>
    InstanceRole string
    Node role, MASTER, WORKER, ETCD, MASTER_ETCD,ALL, default is WORKER.
    ResultOutputFile string
    ClusterId string
    Id string
    InstanceSets []GetKubernetesClusterInstancesInstanceSet
    List of instances in the cluster.
    Filters []GetKubernetesClusterInstancesFilter
    InstanceIds []string
    InstanceRole string
    Node role, MASTER, WORKER, ETCD, MASTER_ETCD,ALL, default is WORKER.
    ResultOutputFile string
    clusterId String
    id String
    instanceSets List<GetKubernetesClusterInstancesInstanceSet>
    List of instances in the cluster.
    filters List<GetKubernetesClusterInstancesFilter>
    instanceIds List<String>
    instanceRole String
    Node role, MASTER, WORKER, ETCD, MASTER_ETCD,ALL, default is WORKER.
    resultOutputFile String
    clusterId string
    id string
    instanceSets GetKubernetesClusterInstancesInstanceSet[]
    List of instances in the cluster.
    filters GetKubernetesClusterInstancesFilter[]
    instanceIds string[]
    instanceRole string
    Node role, MASTER, WORKER, ETCD, MASTER_ETCD,ALL, default is WORKER.
    resultOutputFile string
    cluster_id str
    id str
    instance_sets Sequence[GetKubernetesClusterInstancesInstanceSet]
    List of instances in the cluster.
    filters Sequence[GetKubernetesClusterInstancesFilter]
    instance_ids Sequence[str]
    instance_role str
    Node role, MASTER, WORKER, ETCD, MASTER_ETCD,ALL, default is WORKER.
    result_output_file str
    clusterId String
    id String
    instanceSets List<Property Map>
    List of instances in the cluster.
    filters List<Property Map>
    instanceIds List<String>
    instanceRole String
    Node role, MASTER, WORKER, ETCD, MASTER_ETCD,ALL, default is WORKER.
    resultOutputFile String

    Supporting Types

    GetKubernetesClusterInstancesFilter

    Name string
    The attribute name, if there are multiple filters, the relationship between the filters is a logical AND relationship.
    Values 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 string
    The attribute name, if there are multiple filters, the relationship between the filters is a logical AND relationship.
    Values []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 String
    The attribute name, if there are multiple filters, the relationship between the filters is a logical AND relationship.
    values 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 string
    The attribute name, if there are multiple filters, the relationship between the filters is a logical AND relationship.
    values 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 str
    The attribute name, if there are multiple filters, the relationship between the filters is a logical AND relationship.
    values 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 String
    The attribute name, if there are multiple filters, the relationship between the filters is a logical AND relationship.
    values 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

    AutoscalingGroupId string
    Auto scaling group ID.
    CreatedTime string
    Add time.
    DrainStatus string
    Whether the instance is blocked.
    FailedReason string
    Reasons for instance exception (or being initialized).
    InstanceAdvancedSettings List<GetKubernetesClusterInstancesInstanceSetInstanceAdvancedSetting>
    Node configuration.
    InstanceId string
    Instance ID.
    InstanceRole string
    Node role, MASTER, WORKER, ETCD, MASTER_ETCD,ALL, default is WORKER.
    InstanceState string
    The status of the instance (running, initializing, failed).
    LanIp string
    Node intranet IP.
    NodePoolId string
    Resource pool ID.
    AutoscalingGroupId string
    Auto scaling group ID.
    CreatedTime string
    Add time.
    DrainStatus string
    Whether the instance is blocked.
    FailedReason string
    Reasons for instance exception (or being initialized).
    InstanceAdvancedSettings []GetKubernetesClusterInstancesInstanceSetInstanceAdvancedSetting
    Node configuration.
    InstanceId string
    Instance ID.
    InstanceRole string
    Node role, MASTER, WORKER, ETCD, MASTER_ETCD,ALL, default is WORKER.
    InstanceState string
    The status of the instance (running, initializing, failed).
    LanIp string
    Node intranet IP.
    NodePoolId string
    Resource pool ID.
    autoscalingGroupId String
    Auto scaling group ID.
    createdTime String
    Add time.
    drainStatus String
    Whether the instance is blocked.
    failedReason String
    Reasons for instance exception (or being initialized).
    instanceAdvancedSettings List<GetKubernetesClusterInstancesInstanceSetInstanceAdvancedSetting>
    Node configuration.
    instanceId String
    Instance ID.
    instanceRole String
    Node role, MASTER, WORKER, ETCD, MASTER_ETCD,ALL, default is WORKER.
    instanceState String
    The status of the instance (running, initializing, failed).
    lanIp String
    Node intranet IP.
    nodePoolId String
    Resource pool ID.
    autoscalingGroupId string
    Auto scaling group ID.
    createdTime string
    Add time.
    drainStatus string
    Whether the instance is blocked.
    failedReason string
    Reasons for instance exception (or being initialized).
    instanceAdvancedSettings GetKubernetesClusterInstancesInstanceSetInstanceAdvancedSetting[]
    Node configuration.
    instanceId string
    Instance ID.
    instanceRole string
    Node role, MASTER, WORKER, ETCD, MASTER_ETCD,ALL, default is WORKER.
    instanceState string
    The status of the instance (running, initializing, failed).
    lanIp string
    Node intranet IP.
    nodePoolId string
    Resource pool ID.
    autoscaling_group_id str
    Auto scaling group ID.
    created_time str
    Add time.
    drain_status str
    Whether the instance is blocked.
    failed_reason str
    Reasons for instance exception (or being initialized).
    instance_advanced_settings Sequence[GetKubernetesClusterInstancesInstanceSetInstanceAdvancedSetting]
    Node configuration.
    instance_id str
    Instance ID.
    instance_role str
    Node role, MASTER, WORKER, ETCD, MASTER_ETCD,ALL, default is WORKER.
    instance_state str
    The status of the instance (running, initializing, failed).
    lan_ip str
    Node intranet IP.
    node_pool_id str
    Resource pool ID.
    autoscalingGroupId String
    Auto scaling group ID.
    createdTime String
    Add time.
    drainStatus String
    Whether the instance is blocked.
    failedReason String
    Reasons for instance exception (or being initialized).
    instanceAdvancedSettings List<Property Map>
    Node configuration.
    instanceId String
    Instance ID.
    instanceRole String
    Node role, MASTER, WORKER, ETCD, MASTER_ETCD,ALL, default is WORKER.
    instanceState String
    The status of the instance (running, initializing, failed).
    lanIp String
    Node intranet IP.
    nodePoolId String
    Resource pool ID.

    GetKubernetesClusterInstancesInstanceSetInstanceAdvancedSetting

    DataDisks List<GetKubernetesClusterInstancesInstanceSetInstanceAdvancedSettingDataDisk>
    Multi-disk data disk mounting information.
    DesiredPodNumber 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.
    DockerGraphPath string
    Dockerd --graph specifies the value, the default is /var/lib/docker.
    ExtraArgs List<GetKubernetesClusterInstancesInstanceSetInstanceAdvancedSettingExtraArg>
    Node-related custom parameter information.
    GpuArgs List<GetKubernetesClusterInstancesInstanceSetInstanceAdvancedSettingGpuArg>
    GPU driver related parameters, obtain related GPU parameters: https://cloud.tencent.com/document/api/213/15715.
    Labels List<GetKubernetesClusterInstancesInstanceSetInstanceAdvancedSettingLabel>
    Node Label array.
    MountTarget 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.
    PreStartUserScript string
    Base64 encoded user script, executed before initializing the node, currently only effective for adding existing nodes.
    Taints List<GetKubernetesClusterInstancesInstanceSetInstanceAdvancedSettingTaint>
    Node taint.
    Unschedulable 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.
    UserScript string
    Base64 encoded userscript.
    DataDisks []GetKubernetesClusterInstancesInstanceSetInstanceAdvancedSettingDataDisk
    Multi-disk data disk mounting information.
    DesiredPodNumber 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.
    DockerGraphPath string
    Dockerd --graph specifies the value, the default is /var/lib/docker.
    ExtraArgs []GetKubernetesClusterInstancesInstanceSetInstanceAdvancedSettingExtraArg
    Node-related custom parameter information.
    GpuArgs []GetKubernetesClusterInstancesInstanceSetInstanceAdvancedSettingGpuArg
    GPU driver related parameters, obtain related GPU parameters: https://cloud.tencent.com/document/api/213/15715.
    Labels []GetKubernetesClusterInstancesInstanceSetInstanceAdvancedSettingLabel
    Node Label array.
    MountTarget 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.
    PreStartUserScript string
    Base64 encoded user script, executed before initializing the node, currently only effective for adding existing nodes.
    Taints []GetKubernetesClusterInstancesInstanceSetInstanceAdvancedSettingTaint
    Node taint.
    Unschedulable 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.
    UserScript string
    Base64 encoded userscript.
    dataDisks List<GetKubernetesClusterInstancesInstanceSetInstanceAdvancedSettingDataDisk>
    Multi-disk data disk mounting information.
    desiredPodNumber 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.
    dockerGraphPath String
    Dockerd --graph specifies the value, the default is /var/lib/docker.
    extraArgs List<GetKubernetesClusterInstancesInstanceSetInstanceAdvancedSettingExtraArg>
    Node-related custom parameter information.
    gpuArgs List<GetKubernetesClusterInstancesInstanceSetInstanceAdvancedSettingGpuArg>
    GPU driver related parameters, obtain related GPU parameters: https://cloud.tencent.com/document/api/213/15715.
    labels List<GetKubernetesClusterInstancesInstanceSetInstanceAdvancedSettingLabel>
    Node Label array.
    mountTarget 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.
    preStartUserScript String
    Base64 encoded user script, executed before initializing the node, currently only effective for adding existing nodes.
    taints List<GetKubernetesClusterInstancesInstanceSetInstanceAdvancedSettingTaint>
    Node taint.
    unschedulable 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.
    userScript String
    Base64 encoded userscript.
    dataDisks GetKubernetesClusterInstancesInstanceSetInstanceAdvancedSettingDataDisk[]
    Multi-disk data disk mounting information.
    desiredPodNumber 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.
    dockerGraphPath string
    Dockerd --graph specifies the value, the default is /var/lib/docker.
    extraArgs GetKubernetesClusterInstancesInstanceSetInstanceAdvancedSettingExtraArg[]
    Node-related custom parameter information.
    gpuArgs GetKubernetesClusterInstancesInstanceSetInstanceAdvancedSettingGpuArg[]
    GPU driver related parameters, obtain related GPU parameters: https://cloud.tencent.com/document/api/213/15715.
    labels GetKubernetesClusterInstancesInstanceSetInstanceAdvancedSettingLabel[]
    Node Label array.
    mountTarget 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.
    preStartUserScript string
    Base64 encoded user script, executed before initializing the node, currently only effective for adding existing nodes.
    taints GetKubernetesClusterInstancesInstanceSetInstanceAdvancedSettingTaint[]
    Node taint.
    unschedulable 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.
    userScript string
    Base64 encoded userscript.
    data_disks Sequence[GetKubernetesClusterInstancesInstanceSetInstanceAdvancedSettingDataDisk]
    Multi-disk data disk mounting information.
    desired_pod_number 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 str
    Dockerd --graph specifies the value, the default is /var/lib/docker.
    extra_args Sequence[GetKubernetesClusterInstancesInstanceSetInstanceAdvancedSettingExtraArg]
    Node-related custom parameter information.
    gpu_args Sequence[GetKubernetesClusterInstancesInstanceSetInstanceAdvancedSettingGpuArg]
    GPU driver related parameters, obtain related GPU parameters: https://cloud.tencent.com/document/api/213/15715.
    labels Sequence[GetKubernetesClusterInstancesInstanceSetInstanceAdvancedSettingLabel]
    Node Label array.
    mount_target 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 str
    Base64 encoded user script, executed before initializing the node, currently only effective for adding existing nodes.
    taints Sequence[GetKubernetesClusterInstancesInstanceSetInstanceAdvancedSettingTaint]
    Node taint.
    unschedulable 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 str
    Base64 encoded userscript.
    dataDisks List<Property Map>
    Multi-disk data disk mounting information.
    desiredPodNumber 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.
    dockerGraphPath String
    Dockerd --graph specifies the value, the default is /var/lib/docker.
    extraArgs List<Property Map>
    Node-related custom parameter information.
    gpuArgs List<Property Map>
    GPU driver related parameters, obtain related GPU parameters: https://cloud.tencent.com/document/api/213/15715.
    labels List<Property Map>
    Node Label array.
    mountTarget 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.
    preStartUserScript String
    Base64 encoded user script, executed before initializing the node, currently only effective for adding existing nodes.
    taints List<Property Map>
    Node taint.
    unschedulable 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.
    userScript String
    Base64 encoded userscript.

    GetKubernetesClusterInstancesInstanceSetInstanceAdvancedSettingDataDisk

    AutoFormatAndMount bool
    Whether to automatically format the disk and mount it.
    DiskPartition string
    Mount device name or partition name, required when and only when adding an existing node.
    DiskSize double
    Cloud disk size (G).
    DiskType string
    Cloud disk type.
    FileSystem string
    File system (ext3/ext4/xfs).
    MountTarget 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.
    AutoFormatAndMount bool
    Whether to automatically format the disk and mount it.
    DiskPartition string
    Mount device name or partition name, required when and only when adding an existing node.
    DiskSize float64
    Cloud disk size (G).
    DiskType string
    Cloud disk type.
    FileSystem string
    File system (ext3/ext4/xfs).
    MountTarget 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.
    autoFormatAndMount Boolean
    Whether to automatically format the disk and mount it.
    diskPartition String
    Mount device name or partition name, required when and only when adding an existing node.
    diskSize Double
    Cloud disk size (G).
    diskType String
    Cloud disk type.
    fileSystem String
    File system (ext3/ext4/xfs).
    mountTarget 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.
    autoFormatAndMount boolean
    Whether to automatically format the disk and mount it.
    diskPartition string
    Mount device name or partition name, required when and only when adding an existing node.
    diskSize number
    Cloud disk size (G).
    diskType string
    Cloud disk type.
    fileSystem string
    File system (ext3/ext4/xfs).
    mountTarget 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 bool
    Whether to automatically format the disk and mount it.
    disk_partition str
    Mount device name or partition name, required when and only when adding an existing node.
    disk_size float
    Cloud disk size (G).
    disk_type str
    Cloud disk type.
    file_system str
    File system (ext3/ext4/xfs).
    mount_target 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.
    autoFormatAndMount Boolean
    Whether to automatically format the disk and mount it.
    diskPartition String
    Mount device name or partition name, required when and only when adding an existing node.
    diskSize Number
    Cloud disk size (G).
    diskType String
    Cloud disk type.
    fileSystem String
    File system (ext3/ext4/xfs).
    mountTarget 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 List<string>
    Kubelet custom parameters.
    Kubelets []string
    Kubelet custom parameters.
    kubelets List<String>
    Kubelet custom parameters.
    kubelets string[]
    Kubelet custom parameters.
    kubelets Sequence[str]
    Kubelet custom parameters.
    kubelets List<String>
    Kubelet custom parameters.

    GetKubernetesClusterInstancesInstanceSetInstanceAdvancedSettingGpuArg

    cudas List<Property Map>
    CUDA version information.
    cudnns List<Property Map>
    CuDNN version information.
    customDrivers List<Property Map>
    Custom GPU driver information.
    drivers List<Property Map>
    GPU driver version information.
    migEnable Boolean
    Whether to enable MIG features.

    GetKubernetesClusterInstancesInstanceSetInstanceAdvancedSettingGpuArgCuda

    Name string
    Name in the map table.
    Version string
    GPU driver or CUDA version.
    Name string
    Name in the map table.
    Version string
    GPU driver or CUDA version.
    name String
    Name in the map table.
    version String
    GPU driver or CUDA version.
    name string
    Name in the map table.
    version string
    GPU driver or CUDA version.
    name str
    Name in the map table.
    version str
    GPU driver or CUDA version.
    name String
    Name in the map table.
    version String
    GPU driver or CUDA version.

    GetKubernetesClusterInstancesInstanceSetInstanceAdvancedSettingGpuArgCudnn

    DevName string
    Dev name of cuDNN.
    DocName string
    Doc name of cuDNN.
    Name string
    Name in the map table.
    Version string
    GPU driver or CUDA version.
    DevName string
    Dev name of cuDNN.
    DocName string
    Doc name of cuDNN.
    Name string
    Name in the map table.
    Version string
    GPU driver or CUDA version.
    devName String
    Dev name of cuDNN.
    docName String
    Doc name of cuDNN.
    name String
    Name in the map table.
    version String
    GPU driver or CUDA version.
    devName string
    Dev name of cuDNN.
    docName string
    Doc name of cuDNN.
    name string
    Name in the map table.
    version string
    GPU driver or CUDA version.
    dev_name str
    Dev name of cuDNN.
    doc_name str
    Doc name of cuDNN.
    name str
    Name in the map table.
    version str
    GPU driver or CUDA version.
    devName String
    Dev name of cuDNN.
    docName String
    Doc name of cuDNN.
    name String
    Name in the map table.
    version String
    GPU driver or CUDA version.

    GetKubernetesClusterInstancesInstanceSetInstanceAdvancedSettingGpuArgCustomDriver

    Address string
    Custom GPU driver address link.
    Address string
    Custom GPU driver address link.
    address String
    Custom GPU driver address link.
    address string
    Custom GPU driver address link.
    address str
    Custom GPU driver address link.
    address String
    Custom GPU driver address link.

    GetKubernetesClusterInstancesInstanceSetInstanceAdvancedSettingGpuArgDriver

    Name string
    Name in the map table.
    Version string
    GPU driver or CUDA version.
    Name string
    Name in the map table.
    Version string
    GPU driver or CUDA version.
    name String
    Name in the map table.
    version String
    GPU driver or CUDA version.
    name string
    Name in the map table.
    version string
    GPU driver or CUDA version.
    name str
    Name in the map table.
    version str
    GPU driver or CUDA version.
    name String
    Name in the map table.
    version String
    GPU driver or CUDA version.

    GetKubernetesClusterInstancesInstanceSetInstanceAdvancedSettingLabel

    Name string
    Name in the map table.
    Value string
    Value of taints mark.
    Name string
    Name in the map table.
    Value string
    Value of taints mark.
    name String
    Name in the map table.
    value String
    Value of taints mark.
    name string
    Name in the map table.
    value string
    Value of taints mark.
    name str
    Name in the map table.
    value str
    Value of taints mark.
    name String
    Name in the map table.
    value String
    Value of taints mark.

    GetKubernetesClusterInstancesInstanceSetInstanceAdvancedSettingTaint

    Effect string
    Effect of taints mark.
    Key string
    Key of taints mark.
    Value string
    Value of taints mark.
    Effect string
    Effect of taints mark.
    Key string
    Key of taints mark.
    Value string
    Value of taints mark.
    effect String
    Effect of taints mark.
    key String
    Key of taints mark.
    value String
    Value of taints mark.
    effect string
    Effect of taints mark.
    key string
    Key of taints mark.
    value string
    Value of taints mark.
    effect str
    Effect of taints mark.
    key str
    Key of taints mark.
    value str
    Value of taints mark.
    effect String
    Effect of taints mark.
    key String
    Key of taints mark.
    value String
    Value of taints mark.

    Package Details

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