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

tencentcloud.KubernetesClusterAttachment

Explore with Pulumi AI

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

    Provide a resource to attach an existing cvm to kubernetes cluster.

    NOTE: Use unschedulable to set whether the join node participates in the schedule. The is_schedule of ‘worker_config’ and ‘worker_config_overrides’ was deprecated.

    Example Usage

    import * as pulumi from "@pulumi/pulumi";
    import * as tencentcloud from "@pulumi/tencentcloud";
    
    const config = new pulumi.Config();
    const availabilityZone = config.get("availabilityZone") || "ap-guangzhou-3";
    const clusterCidr = config.get("clusterCidr") || "172.16.0.0/16";
    const defaultInstanceType = config.get("defaultInstanceType") || "S1.SMALL1";
    const defaultImages = tencentcloud.getImages({
        imageTypes: ["PUBLIC_IMAGE"],
        osName: "centos",
    });
    const vpc = tencentcloud.getVpcSubnets({
        isDefault: true,
        availabilityZone: availabilityZone,
    });
    const defaultInstanceTypes = tencentcloud.getInstanceTypes({
        filters: [{
            name: "instance-family",
            values: ["SA2"],
        }],
        cpuCoreCount: 8,
        memorySize: 16,
    });
    const foo = new tencentcloud.Instance("foo", {
        instanceName: "tf-auto-test-1-1",
        availabilityZone: availabilityZone,
        imageId: defaultImages.then(defaultImages => defaultImages.images?.[0]?.imageId),
        instanceType: defaultInstanceType,
        systemDiskType: "CLOUD_PREMIUM",
        systemDiskSize: 50,
    });
    const managedCluster = new tencentcloud.KubernetesCluster("managedCluster", {
        vpcId: vpc.then(vpc => vpc.instanceLists?.[0]?.vpcId),
        clusterCidr: "10.1.0.0/16",
        clusterMaxPodNum: 32,
        clusterName: "keep",
        clusterDesc: "test cluster desc",
        clusterMaxServiceNum: 32,
        workerConfigs: [{
            count: 1,
            availabilityZone: availabilityZone,
            instanceType: defaultInstanceType,
            systemDiskType: "CLOUD_SSD",
            systemDiskSize: 60,
            internetChargeType: "TRAFFIC_POSTPAID_BY_HOUR",
            internetMaxBandwidthOut: 100,
            publicIpAssigned: true,
            subnetId: vpc.then(vpc => vpc.instanceLists?.[0]?.subnetId),
            dataDisks: [{
                diskType: "CLOUD_PREMIUM",
                diskSize: 50,
            }],
            enhancedSecurityService: false,
            enhancedMonitorService: false,
            userData: "dGVzdA==",
            password: "ZZXXccvv1212",
        }],
        clusterDeployType: "MANAGED_CLUSTER",
    });
    const testAttach = new tencentcloud.KubernetesClusterAttachment("testAttach", {
        clusterId: managedCluster.kubernetesClusterId,
        instanceId: foo.instanceId,
        password: "Lo4wbdit",
        labels: {
            test1: "test1",
            test2: "test2",
        },
        workerConfigOverrides: {
            desiredPodNum: 8,
        },
    });
    
    import pulumi
    import pulumi_tencentcloud as tencentcloud
    
    config = pulumi.Config()
    availability_zone = config.get("availabilityZone")
    if availability_zone is None:
        availability_zone = "ap-guangzhou-3"
    cluster_cidr = config.get("clusterCidr")
    if cluster_cidr is None:
        cluster_cidr = "172.16.0.0/16"
    default_instance_type = config.get("defaultInstanceType")
    if default_instance_type is None:
        default_instance_type = "S1.SMALL1"
    default_images = tencentcloud.get_images(image_types=["PUBLIC_IMAGE"],
        os_name="centos")
    vpc = tencentcloud.get_vpc_subnets(is_default=True,
        availability_zone=availability_zone)
    default_instance_types = tencentcloud.get_instance_types(filters=[{
            "name": "instance-family",
            "values": ["SA2"],
        }],
        cpu_core_count=8,
        memory_size=16)
    foo = tencentcloud.Instance("foo",
        instance_name="tf-auto-test-1-1",
        availability_zone=availability_zone,
        image_id=default_images.images[0].image_id,
        instance_type=default_instance_type,
        system_disk_type="CLOUD_PREMIUM",
        system_disk_size=50)
    managed_cluster = tencentcloud.KubernetesCluster("managedCluster",
        vpc_id=vpc.instance_lists[0].vpc_id,
        cluster_cidr="10.1.0.0/16",
        cluster_max_pod_num=32,
        cluster_name="keep",
        cluster_desc="test cluster desc",
        cluster_max_service_num=32,
        worker_configs=[{
            "count": 1,
            "availability_zone": availability_zone,
            "instance_type": default_instance_type,
            "system_disk_type": "CLOUD_SSD",
            "system_disk_size": 60,
            "internet_charge_type": "TRAFFIC_POSTPAID_BY_HOUR",
            "internet_max_bandwidth_out": 100,
            "public_ip_assigned": True,
            "subnet_id": vpc.instance_lists[0].subnet_id,
            "data_disks": [{
                "disk_type": "CLOUD_PREMIUM",
                "disk_size": 50,
            }],
            "enhanced_security_service": False,
            "enhanced_monitor_service": False,
            "user_data": "dGVzdA==",
            "password": "ZZXXccvv1212",
        }],
        cluster_deploy_type="MANAGED_CLUSTER")
    test_attach = tencentcloud.KubernetesClusterAttachment("testAttach",
        cluster_id=managed_cluster.kubernetes_cluster_id,
        instance_id=foo.instance_id,
        password="Lo4wbdit",
        labels={
            "test1": "test1",
            "test2": "test2",
        },
        worker_config_overrides={
            "desired_pod_num": 8,
        })
    
    package main
    
    import (
    	"github.com/pulumi/pulumi-terraform-provider/sdks/go/tencentcloud/tencentcloud"
    	"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
    	"github.com/pulumi/pulumi/sdk/v3/go/pulumi/config"
    )
    
    func main() {
    	pulumi.Run(func(ctx *pulumi.Context) error {
    		cfg := config.New(ctx, "")
    		availabilityZone := "ap-guangzhou-3"
    		if param := cfg.Get("availabilityZone"); param != "" {
    			availabilityZone = param
    		}
    		clusterCidr := "172.16.0.0/16"
    		if param := cfg.Get("clusterCidr"); param != "" {
    			clusterCidr = param
    		}
    		defaultInstanceType := "S1.SMALL1"
    		if param := cfg.Get("defaultInstanceType"); param != "" {
    			defaultInstanceType = param
    		}
    		defaultImages, err := tencentcloud.GetImages(ctx, &tencentcloud.GetImagesArgs{
    			ImageTypes: []string{
    				"PUBLIC_IMAGE",
    			},
    			OsName: pulumi.StringRef("centos"),
    		}, nil)
    		if err != nil {
    			return err
    		}
    		vpc, err := tencentcloud.GetVpcSubnets(ctx, &tencentcloud.GetVpcSubnetsArgs{
    			IsDefault:        pulumi.BoolRef(true),
    			AvailabilityZone: pulumi.StringRef(availabilityZone),
    		}, nil)
    		if err != nil {
    			return err
    		}
    		_, err = tencentcloud.GetInstanceTypes(ctx, &tencentcloud.GetInstanceTypesArgs{
    			Filters: []tencentcloud.GetInstanceTypesFilter{
    				{
    					Name: "instance-family",
    					Values: []string{
    						"SA2",
    					},
    				},
    			},
    			CpuCoreCount: pulumi.Float64Ref(8),
    			MemorySize:   pulumi.Float64Ref(16),
    		}, nil)
    		if err != nil {
    			return err
    		}
    		foo, err := tencentcloud.NewInstance(ctx, "foo", &tencentcloud.InstanceArgs{
    			InstanceName:     pulumi.String("tf-auto-test-1-1"),
    			AvailabilityZone: pulumi.String(availabilityZone),
    			ImageId:          pulumi.String(defaultImages.Images[0].ImageId),
    			InstanceType:     pulumi.String(defaultInstanceType),
    			SystemDiskType:   pulumi.String("CLOUD_PREMIUM"),
    			SystemDiskSize:   pulumi.Float64(50),
    		})
    		if err != nil {
    			return err
    		}
    		managedCluster, err := tencentcloud.NewKubernetesCluster(ctx, "managedCluster", &tencentcloud.KubernetesClusterArgs{
    			VpcId:                pulumi.String(vpc.InstanceLists[0].VpcId),
    			ClusterCidr:          pulumi.String("10.1.0.0/16"),
    			ClusterMaxPodNum:     pulumi.Float64(32),
    			ClusterName:          pulumi.String("keep"),
    			ClusterDesc:          pulumi.String("test cluster desc"),
    			ClusterMaxServiceNum: pulumi.Float64(32),
    			WorkerConfigs: tencentcloud.KubernetesClusterWorkerConfigArray{
    				&tencentcloud.KubernetesClusterWorkerConfigArgs{
    					Count:                   pulumi.Float64(1),
    					AvailabilityZone:        pulumi.String(availabilityZone),
    					InstanceType:            pulumi.String(defaultInstanceType),
    					SystemDiskType:          pulumi.String("CLOUD_SSD"),
    					SystemDiskSize:          pulumi.Float64(60),
    					InternetChargeType:      pulumi.String("TRAFFIC_POSTPAID_BY_HOUR"),
    					InternetMaxBandwidthOut: pulumi.Float64(100),
    					PublicIpAssigned:        pulumi.Bool(true),
    					SubnetId:                pulumi.String(vpc.InstanceLists[0].SubnetId),
    					DataDisks: tencentcloud.KubernetesClusterWorkerConfigDataDiskArray{
    						&tencentcloud.KubernetesClusterWorkerConfigDataDiskArgs{
    							DiskType: pulumi.String("CLOUD_PREMIUM"),
    							DiskSize: pulumi.Float64(50),
    						},
    					},
    					EnhancedSecurityService: pulumi.Bool(false),
    					EnhancedMonitorService:  pulumi.Bool(false),
    					UserData:                pulumi.String("dGVzdA=="),
    					Password:                pulumi.String("ZZXXccvv1212"),
    				},
    			},
    			ClusterDeployType: pulumi.String("MANAGED_CLUSTER"),
    		})
    		if err != nil {
    			return err
    		}
    		_, err = tencentcloud.NewKubernetesClusterAttachment(ctx, "testAttach", &tencentcloud.KubernetesClusterAttachmentArgs{
    			ClusterId:  managedCluster.KubernetesClusterId,
    			InstanceId: foo.InstanceId,
    			Password:   pulumi.String("Lo4wbdit"),
    			Labels: pulumi.StringMap{
    				"test1": pulumi.String("test1"),
    				"test2": pulumi.String("test2"),
    			},
    			WorkerConfigOverrides: &tencentcloud.KubernetesClusterAttachmentWorkerConfigOverridesArgs{
    				DesiredPodNum: pulumi.Float64(8),
    			},
    		})
    		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 config = new Config();
        var availabilityZone = config.Get("availabilityZone") ?? "ap-guangzhou-3";
        var clusterCidr = config.Get("clusterCidr") ?? "172.16.0.0/16";
        var defaultInstanceType = config.Get("defaultInstanceType") ?? "S1.SMALL1";
        var defaultImages = Tencentcloud.GetImages.Invoke(new()
        {
            ImageTypes = new[]
            {
                "PUBLIC_IMAGE",
            },
            OsName = "centos",
        });
    
        var vpc = Tencentcloud.GetVpcSubnets.Invoke(new()
        {
            IsDefault = true,
            AvailabilityZone = availabilityZone,
        });
    
        var defaultInstanceTypes = Tencentcloud.GetInstanceTypes.Invoke(new()
        {
            Filters = new[]
            {
                new Tencentcloud.Inputs.GetInstanceTypesFilterInputArgs
                {
                    Name = "instance-family",
                    Values = new[]
                    {
                        "SA2",
                    },
                },
            },
            CpuCoreCount = 8,
            MemorySize = 16,
        });
    
        var foo = new Tencentcloud.Instance("foo", new()
        {
            InstanceName = "tf-auto-test-1-1",
            AvailabilityZone = availabilityZone,
            ImageId = defaultImages.Apply(getImagesResult => getImagesResult.Images[0]?.ImageId),
            InstanceType = defaultInstanceType,
            SystemDiskType = "CLOUD_PREMIUM",
            SystemDiskSize = 50,
        });
    
        var managedCluster = new Tencentcloud.KubernetesCluster("managedCluster", new()
        {
            VpcId = vpc.Apply(getVpcSubnetsResult => getVpcSubnetsResult.InstanceLists[0]?.VpcId),
            ClusterCidr = "10.1.0.0/16",
            ClusterMaxPodNum = 32,
            ClusterName = "keep",
            ClusterDesc = "test cluster desc",
            ClusterMaxServiceNum = 32,
            WorkerConfigs = new[]
            {
                new Tencentcloud.Inputs.KubernetesClusterWorkerConfigArgs
                {
                    Count = 1,
                    AvailabilityZone = availabilityZone,
                    InstanceType = defaultInstanceType,
                    SystemDiskType = "CLOUD_SSD",
                    SystemDiskSize = 60,
                    InternetChargeType = "TRAFFIC_POSTPAID_BY_HOUR",
                    InternetMaxBandwidthOut = 100,
                    PublicIpAssigned = true,
                    SubnetId = vpc.Apply(getVpcSubnetsResult => getVpcSubnetsResult.InstanceLists[0]?.SubnetId),
                    DataDisks = new[]
                    {
                        new Tencentcloud.Inputs.KubernetesClusterWorkerConfigDataDiskArgs
                        {
                            DiskType = "CLOUD_PREMIUM",
                            DiskSize = 50,
                        },
                    },
                    EnhancedSecurityService = false,
                    EnhancedMonitorService = false,
                    UserData = "dGVzdA==",
                    Password = "ZZXXccvv1212",
                },
            },
            ClusterDeployType = "MANAGED_CLUSTER",
        });
    
        var testAttach = new Tencentcloud.KubernetesClusterAttachment("testAttach", new()
        {
            ClusterId = managedCluster.KubernetesClusterId,
            InstanceId = foo.InstanceId,
            Password = "Lo4wbdit",
            Labels = 
            {
                { "test1", "test1" },
                { "test2", "test2" },
            },
            WorkerConfigOverrides = new Tencentcloud.Inputs.KubernetesClusterAttachmentWorkerConfigOverridesArgs
            {
                DesiredPodNum = 8,
            },
        });
    
    });
    
    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.GetImagesArgs;
    import com.pulumi.tencentcloud.inputs.GetVpcSubnetsArgs;
    import com.pulumi.tencentcloud.inputs.GetInstanceTypesArgs;
    import com.pulumi.tencentcloud.Instance;
    import com.pulumi.tencentcloud.InstanceArgs;
    import com.pulumi.tencentcloud.KubernetesCluster;
    import com.pulumi.tencentcloud.KubernetesClusterArgs;
    import com.pulumi.tencentcloud.inputs.KubernetesClusterWorkerConfigArgs;
    import com.pulumi.tencentcloud.KubernetesClusterAttachment;
    import com.pulumi.tencentcloud.KubernetesClusterAttachmentArgs;
    import com.pulumi.tencentcloud.inputs.KubernetesClusterAttachmentWorkerConfigOverridesArgs;
    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 config = ctx.config();
            final var availabilityZone = config.get("availabilityZone").orElse("ap-guangzhou-3");
            final var clusterCidr = config.get("clusterCidr").orElse("172.16.0.0/16");
            final var defaultInstanceType = config.get("defaultInstanceType").orElse("S1.SMALL1");
            final var defaultImages = TencentcloudFunctions.getImages(GetImagesArgs.builder()
                .imageTypes("PUBLIC_IMAGE")
                .osName("centos")
                .build());
    
            final var vpc = TencentcloudFunctions.getVpcSubnets(GetVpcSubnetsArgs.builder()
                .isDefault(true)
                .availabilityZone(availabilityZone)
                .build());
    
            final var defaultInstanceTypes = TencentcloudFunctions.getInstanceTypes(GetInstanceTypesArgs.builder()
                .filters(GetInstanceTypesFilterArgs.builder()
                    .name("instance-family")
                    .values("SA2")
                    .build())
                .cpuCoreCount(8)
                .memorySize(16)
                .build());
    
            var foo = new Instance("foo", InstanceArgs.builder()
                .instanceName("tf-auto-test-1-1")
                .availabilityZone(availabilityZone)
                .imageId(defaultImages.applyValue(getImagesResult -> getImagesResult.images()[0].imageId()))
                .instanceType(defaultInstanceType)
                .systemDiskType("CLOUD_PREMIUM")
                .systemDiskSize(50)
                .build());
    
            var managedCluster = new KubernetesCluster("managedCluster", KubernetesClusterArgs.builder()
                .vpcId(vpc.applyValue(getVpcSubnetsResult -> getVpcSubnetsResult.instanceLists()[0].vpcId()))
                .clusterCidr("10.1.0.0/16")
                .clusterMaxPodNum(32)
                .clusterName("keep")
                .clusterDesc("test cluster desc")
                .clusterMaxServiceNum(32)
                .workerConfigs(KubernetesClusterWorkerConfigArgs.builder()
                    .count(1)
                    .availabilityZone(availabilityZone)
                    .instanceType(defaultInstanceType)
                    .systemDiskType("CLOUD_SSD")
                    .systemDiskSize(60)
                    .internetChargeType("TRAFFIC_POSTPAID_BY_HOUR")
                    .internetMaxBandwidthOut(100)
                    .publicIpAssigned(true)
                    .subnetId(vpc.applyValue(getVpcSubnetsResult -> getVpcSubnetsResult.instanceLists()[0].subnetId()))
                    .dataDisks(KubernetesClusterWorkerConfigDataDiskArgs.builder()
                        .diskType("CLOUD_PREMIUM")
                        .diskSize(50)
                        .build())
                    .enhancedSecurityService(false)
                    .enhancedMonitorService(false)
                    .userData("dGVzdA==")
                    .password("ZZXXccvv1212")
                    .build())
                .clusterDeployType("MANAGED_CLUSTER")
                .build());
    
            var testAttach = new KubernetesClusterAttachment("testAttach", KubernetesClusterAttachmentArgs.builder()
                .clusterId(managedCluster.kubernetesClusterId())
                .instanceId(foo.instanceId())
                .password("Lo4wbdit")
                .labels(Map.ofEntries(
                    Map.entry("test1", "test1"),
                    Map.entry("test2", "test2")
                ))
                .workerConfigOverrides(KubernetesClusterAttachmentWorkerConfigOverridesArgs.builder()
                    .desiredPodNum(8)
                    .build())
                .build());
    
        }
    }
    
    configuration:
      availabilityZone:
        type: string
        default: ap-guangzhou-3
      clusterCidr:
        type: string
        default: 172.16.0.0/16
      defaultInstanceType:
        type: string
        default: S1.SMALL1
    resources:
      foo:
        type: tencentcloud:Instance
        properties:
          instanceName: tf-auto-test-1-1
          availabilityZone: ${availabilityZone}
          imageId: ${defaultImages.images[0].imageId}
          instanceType: ${defaultInstanceType}
          systemDiskType: CLOUD_PREMIUM
          systemDiskSize: 50
      managedCluster:
        type: tencentcloud:KubernetesCluster
        properties:
          vpcId: ${vpc.instanceLists[0].vpcId}
          clusterCidr: 10.1.0.0/16
          clusterMaxPodNum: 32
          clusterName: keep
          clusterDesc: test cluster desc
          clusterMaxServiceNum: 32
          workerConfigs:
            - count: 1
              availabilityZone: ${availabilityZone}
              instanceType: ${defaultInstanceType}
              systemDiskType: CLOUD_SSD
              systemDiskSize: 60
              internetChargeType: TRAFFIC_POSTPAID_BY_HOUR
              internetMaxBandwidthOut: 100
              publicIpAssigned: true
              subnetId: ${vpc.instanceLists[0].subnetId}
              dataDisks:
                - diskType: CLOUD_PREMIUM
                  diskSize: 50
              enhancedSecurityService: false
              enhancedMonitorService: false
              userData: dGVzdA==
              password: ZZXXccvv1212
          clusterDeployType: MANAGED_CLUSTER
      testAttach:
        type: tencentcloud:KubernetesClusterAttachment
        properties:
          clusterId: ${managedCluster.kubernetesClusterId}
          instanceId: ${foo.instanceId}
          password: Lo4wbdit
          labels:
            test1: test1
            test2: test2
          workerConfigOverrides:
            desiredPodNum: 8
    variables:
      defaultImages:
        fn::invoke:
          function: tencentcloud:getImages
          arguments:
            imageTypes:
              - PUBLIC_IMAGE
            osName: centos
      vpc:
        fn::invoke:
          function: tencentcloud:getVpcSubnets
          arguments:
            isDefault: true
            availabilityZone: ${availabilityZone}
      defaultInstanceTypes:
        fn::invoke:
          function: tencentcloud:getInstanceTypes
          arguments:
            filters:
              - name: instance-family
                values:
                  - SA2
            cpuCoreCount: 8
            memorySize: 16
    

    Create KubernetesClusterAttachment Resource

    Resources are created with functions called constructors. To learn more about declaring and configuring resources, see Resources.

    Constructor syntax

    new KubernetesClusterAttachment(name: string, args: KubernetesClusterAttachmentArgs, opts?: CustomResourceOptions);
    @overload
    def KubernetesClusterAttachment(resource_name: str,
                                    args: KubernetesClusterAttachmentArgs,
                                    opts: Optional[ResourceOptions] = None)
    
    @overload
    def KubernetesClusterAttachment(resource_name: str,
                                    opts: Optional[ResourceOptions] = None,
                                    cluster_id: Optional[str] = None,
                                    instance_id: Optional[str] = None,
                                    hostname: Optional[str] = None,
                                    image_id: Optional[str] = None,
                                    key_ids: Optional[Sequence[str]] = None,
                                    kubernetes_cluster_attachment_id: Optional[str] = None,
                                    labels: Optional[Mapping[str, str]] = None,
                                    password: Optional[str] = None,
                                    security_groups: Optional[Sequence[str]] = None,
                                    unschedulable: Optional[float] = None,
                                    worker_config: Optional[KubernetesClusterAttachmentWorkerConfigArgs] = None,
                                    worker_config_overrides: Optional[KubernetesClusterAttachmentWorkerConfigOverridesArgs] = None)
    func NewKubernetesClusterAttachment(ctx *Context, name string, args KubernetesClusterAttachmentArgs, opts ...ResourceOption) (*KubernetesClusterAttachment, error)
    public KubernetesClusterAttachment(string name, KubernetesClusterAttachmentArgs args, CustomResourceOptions? opts = null)
    public KubernetesClusterAttachment(String name, KubernetesClusterAttachmentArgs args)
    public KubernetesClusterAttachment(String name, KubernetesClusterAttachmentArgs args, CustomResourceOptions options)
    
    type: tencentcloud:KubernetesClusterAttachment
    properties: # The arguments to resource properties.
    options: # Bag of options to control resource's behavior.
    
    

    Parameters

    name string
    The unique name of the resource.
    args KubernetesClusterAttachmentArgs
    The arguments to resource properties.
    opts CustomResourceOptions
    Bag of options to control resource's behavior.
    resource_name str
    The unique name of the resource.
    args KubernetesClusterAttachmentArgs
    The arguments to resource properties.
    opts ResourceOptions
    Bag of options to control resource's behavior.
    ctx Context
    Context object for the current deployment.
    name string
    The unique name of the resource.
    args KubernetesClusterAttachmentArgs
    The arguments to resource properties.
    opts ResourceOption
    Bag of options to control resource's behavior.
    name string
    The unique name of the resource.
    args KubernetesClusterAttachmentArgs
    The arguments to resource properties.
    opts CustomResourceOptions
    Bag of options to control resource's behavior.
    name String
    The unique name of the resource.
    args KubernetesClusterAttachmentArgs
    The arguments to resource properties.
    options CustomResourceOptions
    Bag of options to control resource's behavior.

    KubernetesClusterAttachment Resource Properties

    To learn more about resource properties and how to use them, see Inputs and Outputs in the Architecture and Concepts docs.

    Inputs

    In Python, inputs that are objects can be passed either as argument classes or as dictionary literals.

    The KubernetesClusterAttachment resource accepts the following input properties:

    ClusterId string
    ID of the cluster.
    InstanceId string
    ID of the CVM instance, this cvm will reinstall the system.
    Hostname string
    The host name of the attached instance. Dot (.) and dash (-) cannot be used as the first and last characters of HostName and cannot be used consecutively. Windows example: The length of the name character is [2, 15], letters (capitalization is not restricted), numbers and dashes (-) are allowed, dots (.) are not supported, and not all numbers are allowed. Examples of other types (Linux, etc.): The character length is [2, 60], and multiple dots are allowed. There is a segment between the dots. Each segment allows letters (with no limitation on capitalization), numbers and dashes (-).
    ImageId string
    ID of Node image.
    KeyIds List<string>
    The key pair to use for the instance, it looks like skey-16jig7tx, it should be set if password not set.
    KubernetesClusterAttachmentId string
    ID of the resource.
    Labels Dictionary<string, string>
    Labels of tke attachment exits CVM.
    Password string
    Password to access, should be set if key_ids not set.
    SecurityGroups List<string>
    A list of security group IDs after attach to cluster.
    Unschedulable double
    Sets whether the joining node participates in the schedule. Default is 0, which means it participates in scheduling. Non-zero(eg: 1) number means it does not participate in scheduling.
    WorkerConfig KubernetesClusterAttachmentWorkerConfig
    Deploy the machine configuration information of the 'WORKER', commonly used to attach existing instances.
    WorkerConfigOverrides KubernetesClusterAttachmentWorkerConfigOverrides
    Override variable worker_config, commonly used to attach existing instances.
    ClusterId string
    ID of the cluster.
    InstanceId string
    ID of the CVM instance, this cvm will reinstall the system.
    Hostname string
    The host name of the attached instance. Dot (.) and dash (-) cannot be used as the first and last characters of HostName and cannot be used consecutively. Windows example: The length of the name character is [2, 15], letters (capitalization is not restricted), numbers and dashes (-) are allowed, dots (.) are not supported, and not all numbers are allowed. Examples of other types (Linux, etc.): The character length is [2, 60], and multiple dots are allowed. There is a segment between the dots. Each segment allows letters (with no limitation on capitalization), numbers and dashes (-).
    ImageId string
    ID of Node image.
    KeyIds []string
    The key pair to use for the instance, it looks like skey-16jig7tx, it should be set if password not set.
    KubernetesClusterAttachmentId string
    ID of the resource.
    Labels map[string]string
    Labels of tke attachment exits CVM.
    Password string
    Password to access, should be set if key_ids not set.
    SecurityGroups []string
    A list of security group IDs after attach to cluster.
    Unschedulable float64
    Sets whether the joining node participates in the schedule. Default is 0, which means it participates in scheduling. Non-zero(eg: 1) number means it does not participate in scheduling.
    WorkerConfig KubernetesClusterAttachmentWorkerConfigArgs
    Deploy the machine configuration information of the 'WORKER', commonly used to attach existing instances.
    WorkerConfigOverrides KubernetesClusterAttachmentWorkerConfigOverridesArgs
    Override variable worker_config, commonly used to attach existing instances.
    clusterId String
    ID of the cluster.
    instanceId String
    ID of the CVM instance, this cvm will reinstall the system.
    hostname String
    The host name of the attached instance. Dot (.) and dash (-) cannot be used as the first and last characters of HostName and cannot be used consecutively. Windows example: The length of the name character is [2, 15], letters (capitalization is not restricted), numbers and dashes (-) are allowed, dots (.) are not supported, and not all numbers are allowed. Examples of other types (Linux, etc.): The character length is [2, 60], and multiple dots are allowed. There is a segment between the dots. Each segment allows letters (with no limitation on capitalization), numbers and dashes (-).
    imageId String
    ID of Node image.
    keyIds List<String>
    The key pair to use for the instance, it looks like skey-16jig7tx, it should be set if password not set.
    kubernetesClusterAttachmentId String
    ID of the resource.
    labels Map<String,String>
    Labels of tke attachment exits CVM.
    password String
    Password to access, should be set if key_ids not set.
    securityGroups List<String>
    A list of security group IDs after attach to cluster.
    unschedulable Double
    Sets whether the joining node participates in the schedule. Default is 0, which means it participates in scheduling. Non-zero(eg: 1) number means it does not participate in scheduling.
    workerConfig KubernetesClusterAttachmentWorkerConfig
    Deploy the machine configuration information of the 'WORKER', commonly used to attach existing instances.
    workerConfigOverrides KubernetesClusterAttachmentWorkerConfigOverrides
    Override variable worker_config, commonly used to attach existing instances.
    clusterId string
    ID of the cluster.
    instanceId string
    ID of the CVM instance, this cvm will reinstall the system.
    hostname string
    The host name of the attached instance. Dot (.) and dash (-) cannot be used as the first and last characters of HostName and cannot be used consecutively. Windows example: The length of the name character is [2, 15], letters (capitalization is not restricted), numbers and dashes (-) are allowed, dots (.) are not supported, and not all numbers are allowed. Examples of other types (Linux, etc.): The character length is [2, 60], and multiple dots are allowed. There is a segment between the dots. Each segment allows letters (with no limitation on capitalization), numbers and dashes (-).
    imageId string
    ID of Node image.
    keyIds string[]
    The key pair to use for the instance, it looks like skey-16jig7tx, it should be set if password not set.
    kubernetesClusterAttachmentId string
    ID of the resource.
    labels {[key: string]: string}
    Labels of tke attachment exits CVM.
    password string
    Password to access, should be set if key_ids not set.
    securityGroups string[]
    A list of security group IDs after attach to cluster.
    unschedulable number
    Sets whether the joining node participates in the schedule. Default is 0, which means it participates in scheduling. Non-zero(eg: 1) number means it does not participate in scheduling.
    workerConfig KubernetesClusterAttachmentWorkerConfig
    Deploy the machine configuration information of the 'WORKER', commonly used to attach existing instances.
    workerConfigOverrides KubernetesClusterAttachmentWorkerConfigOverrides
    Override variable worker_config, commonly used to attach existing instances.
    cluster_id str
    ID of the cluster.
    instance_id str
    ID of the CVM instance, this cvm will reinstall the system.
    hostname str
    The host name of the attached instance. Dot (.) and dash (-) cannot be used as the first and last characters of HostName and cannot be used consecutively. Windows example: The length of the name character is [2, 15], letters (capitalization is not restricted), numbers and dashes (-) are allowed, dots (.) are not supported, and not all numbers are allowed. Examples of other types (Linux, etc.): The character length is [2, 60], and multiple dots are allowed. There is a segment between the dots. Each segment allows letters (with no limitation on capitalization), numbers and dashes (-).
    image_id str
    ID of Node image.
    key_ids Sequence[str]
    The key pair to use for the instance, it looks like skey-16jig7tx, it should be set if password not set.
    kubernetes_cluster_attachment_id str
    ID of the resource.
    labels Mapping[str, str]
    Labels of tke attachment exits CVM.
    password str
    Password to access, should be set if key_ids not set.
    security_groups Sequence[str]
    A list of security group IDs after attach to cluster.
    unschedulable float
    Sets whether the joining node participates in the schedule. Default is 0, which means it participates in scheduling. Non-zero(eg: 1) number means it does not participate in scheduling.
    worker_config KubernetesClusterAttachmentWorkerConfigArgs
    Deploy the machine configuration information of the 'WORKER', commonly used to attach existing instances.
    worker_config_overrides KubernetesClusterAttachmentWorkerConfigOverridesArgs
    Override variable worker_config, commonly used to attach existing instances.
    clusterId String
    ID of the cluster.
    instanceId String
    ID of the CVM instance, this cvm will reinstall the system.
    hostname String
    The host name of the attached instance. Dot (.) and dash (-) cannot be used as the first and last characters of HostName and cannot be used consecutively. Windows example: The length of the name character is [2, 15], letters (capitalization is not restricted), numbers and dashes (-) are allowed, dots (.) are not supported, and not all numbers are allowed. Examples of other types (Linux, etc.): The character length is [2, 60], and multiple dots are allowed. There is a segment between the dots. Each segment allows letters (with no limitation on capitalization), numbers and dashes (-).
    imageId String
    ID of Node image.
    keyIds List<String>
    The key pair to use for the instance, it looks like skey-16jig7tx, it should be set if password not set.
    kubernetesClusterAttachmentId String
    ID of the resource.
    labels Map<String>
    Labels of tke attachment exits CVM.
    password String
    Password to access, should be set if key_ids not set.
    securityGroups List<String>
    A list of security group IDs after attach to cluster.
    unschedulable Number
    Sets whether the joining node participates in the schedule. Default is 0, which means it participates in scheduling. Non-zero(eg: 1) number means it does not participate in scheduling.
    workerConfig Property Map
    Deploy the machine configuration information of the 'WORKER', commonly used to attach existing instances.
    workerConfigOverrides Property Map
    Override variable worker_config, commonly used to attach existing instances.

    Outputs

    All input properties are implicitly available as output properties. Additionally, the KubernetesClusterAttachment resource produces the following output properties:

    Id string
    The provider-assigned unique ID for this managed resource.
    State string
    State of the node.
    Id string
    The provider-assigned unique ID for this managed resource.
    State string
    State of the node.
    id String
    The provider-assigned unique ID for this managed resource.
    state String
    State of the node.
    id string
    The provider-assigned unique ID for this managed resource.
    state string
    State of the node.
    id str
    The provider-assigned unique ID for this managed resource.
    state str
    State of the node.
    id String
    The provider-assigned unique ID for this managed resource.
    state String
    State of the node.

    Look up Existing KubernetesClusterAttachment Resource

    Get an existing KubernetesClusterAttachment resource’s state with the given name, ID, and optional extra properties used to qualify the lookup.

    public static get(name: string, id: Input<ID>, state?: KubernetesClusterAttachmentState, opts?: CustomResourceOptions): KubernetesClusterAttachment
    @staticmethod
    def get(resource_name: str,
            id: str,
            opts: Optional[ResourceOptions] = None,
            cluster_id: Optional[str] = None,
            hostname: Optional[str] = None,
            image_id: Optional[str] = None,
            instance_id: Optional[str] = None,
            key_ids: Optional[Sequence[str]] = None,
            kubernetes_cluster_attachment_id: Optional[str] = None,
            labels: Optional[Mapping[str, str]] = None,
            password: Optional[str] = None,
            security_groups: Optional[Sequence[str]] = None,
            state: Optional[str] = None,
            unschedulable: Optional[float] = None,
            worker_config: Optional[KubernetesClusterAttachmentWorkerConfigArgs] = None,
            worker_config_overrides: Optional[KubernetesClusterAttachmentWorkerConfigOverridesArgs] = None) -> KubernetesClusterAttachment
    func GetKubernetesClusterAttachment(ctx *Context, name string, id IDInput, state *KubernetesClusterAttachmentState, opts ...ResourceOption) (*KubernetesClusterAttachment, error)
    public static KubernetesClusterAttachment Get(string name, Input<string> id, KubernetesClusterAttachmentState? state, CustomResourceOptions? opts = null)
    public static KubernetesClusterAttachment get(String name, Output<String> id, KubernetesClusterAttachmentState state, CustomResourceOptions options)
    resources:  _:    type: tencentcloud:KubernetesClusterAttachment    get:      id: ${id}
    name
    The unique name of the resulting resource.
    id
    The unique provider ID of the resource to lookup.
    state
    Any extra arguments used during the lookup.
    opts
    A bag of options that control this resource's behavior.
    resource_name
    The unique name of the resulting resource.
    id
    The unique provider ID of the resource to lookup.
    name
    The unique name of the resulting resource.
    id
    The unique provider ID of the resource to lookup.
    state
    Any extra arguments used during the lookup.
    opts
    A bag of options that control this resource's behavior.
    name
    The unique name of the resulting resource.
    id
    The unique provider ID of the resource to lookup.
    state
    Any extra arguments used during the lookup.
    opts
    A bag of options that control this resource's behavior.
    name
    The unique name of the resulting resource.
    id
    The unique provider ID of the resource to lookup.
    state
    Any extra arguments used during the lookup.
    opts
    A bag of options that control this resource's behavior.
    The following state arguments are supported:
    ClusterId string
    ID of the cluster.
    Hostname string
    The host name of the attached instance. Dot (.) and dash (-) cannot be used as the first and last characters of HostName and cannot be used consecutively. Windows example: The length of the name character is [2, 15], letters (capitalization is not restricted), numbers and dashes (-) are allowed, dots (.) are not supported, and not all numbers are allowed. Examples of other types (Linux, etc.): The character length is [2, 60], and multiple dots are allowed. There is a segment between the dots. Each segment allows letters (with no limitation on capitalization), numbers and dashes (-).
    ImageId string
    ID of Node image.
    InstanceId string
    ID of the CVM instance, this cvm will reinstall the system.
    KeyIds List<string>
    The key pair to use for the instance, it looks like skey-16jig7tx, it should be set if password not set.
    KubernetesClusterAttachmentId string
    ID of the resource.
    Labels Dictionary<string, string>
    Labels of tke attachment exits CVM.
    Password string
    Password to access, should be set if key_ids not set.
    SecurityGroups List<string>
    A list of security group IDs after attach to cluster.
    State string
    State of the node.
    Unschedulable double
    Sets whether the joining node participates in the schedule. Default is 0, which means it participates in scheduling. Non-zero(eg: 1) number means it does not participate in scheduling.
    WorkerConfig KubernetesClusterAttachmentWorkerConfig
    Deploy the machine configuration information of the 'WORKER', commonly used to attach existing instances.
    WorkerConfigOverrides KubernetesClusterAttachmentWorkerConfigOverrides
    Override variable worker_config, commonly used to attach existing instances.
    ClusterId string
    ID of the cluster.
    Hostname string
    The host name of the attached instance. Dot (.) and dash (-) cannot be used as the first and last characters of HostName and cannot be used consecutively. Windows example: The length of the name character is [2, 15], letters (capitalization is not restricted), numbers and dashes (-) are allowed, dots (.) are not supported, and not all numbers are allowed. Examples of other types (Linux, etc.): The character length is [2, 60], and multiple dots are allowed. There is a segment between the dots. Each segment allows letters (with no limitation on capitalization), numbers and dashes (-).
    ImageId string
    ID of Node image.
    InstanceId string
    ID of the CVM instance, this cvm will reinstall the system.
    KeyIds []string
    The key pair to use for the instance, it looks like skey-16jig7tx, it should be set if password not set.
    KubernetesClusterAttachmentId string
    ID of the resource.
    Labels map[string]string
    Labels of tke attachment exits CVM.
    Password string
    Password to access, should be set if key_ids not set.
    SecurityGroups []string
    A list of security group IDs after attach to cluster.
    State string
    State of the node.
    Unschedulable float64
    Sets whether the joining node participates in the schedule. Default is 0, which means it participates in scheduling. Non-zero(eg: 1) number means it does not participate in scheduling.
    WorkerConfig KubernetesClusterAttachmentWorkerConfigArgs
    Deploy the machine configuration information of the 'WORKER', commonly used to attach existing instances.
    WorkerConfigOverrides KubernetesClusterAttachmentWorkerConfigOverridesArgs
    Override variable worker_config, commonly used to attach existing instances.
    clusterId String
    ID of the cluster.
    hostname String
    The host name of the attached instance. Dot (.) and dash (-) cannot be used as the first and last characters of HostName and cannot be used consecutively. Windows example: The length of the name character is [2, 15], letters (capitalization is not restricted), numbers and dashes (-) are allowed, dots (.) are not supported, and not all numbers are allowed. Examples of other types (Linux, etc.): The character length is [2, 60], and multiple dots are allowed. There is a segment between the dots. Each segment allows letters (with no limitation on capitalization), numbers and dashes (-).
    imageId String
    ID of Node image.
    instanceId String
    ID of the CVM instance, this cvm will reinstall the system.
    keyIds List<String>
    The key pair to use for the instance, it looks like skey-16jig7tx, it should be set if password not set.
    kubernetesClusterAttachmentId String
    ID of the resource.
    labels Map<String,String>
    Labels of tke attachment exits CVM.
    password String
    Password to access, should be set if key_ids not set.
    securityGroups List<String>
    A list of security group IDs after attach to cluster.
    state String
    State of the node.
    unschedulable Double
    Sets whether the joining node participates in the schedule. Default is 0, which means it participates in scheduling. Non-zero(eg: 1) number means it does not participate in scheduling.
    workerConfig KubernetesClusterAttachmentWorkerConfig
    Deploy the machine configuration information of the 'WORKER', commonly used to attach existing instances.
    workerConfigOverrides KubernetesClusterAttachmentWorkerConfigOverrides
    Override variable worker_config, commonly used to attach existing instances.
    clusterId string
    ID of the cluster.
    hostname string
    The host name of the attached instance. Dot (.) and dash (-) cannot be used as the first and last characters of HostName and cannot be used consecutively. Windows example: The length of the name character is [2, 15], letters (capitalization is not restricted), numbers and dashes (-) are allowed, dots (.) are not supported, and not all numbers are allowed. Examples of other types (Linux, etc.): The character length is [2, 60], and multiple dots are allowed. There is a segment between the dots. Each segment allows letters (with no limitation on capitalization), numbers and dashes (-).
    imageId string
    ID of Node image.
    instanceId string
    ID of the CVM instance, this cvm will reinstall the system.
    keyIds string[]
    The key pair to use for the instance, it looks like skey-16jig7tx, it should be set if password not set.
    kubernetesClusterAttachmentId string
    ID of the resource.
    labels {[key: string]: string}
    Labels of tke attachment exits CVM.
    password string
    Password to access, should be set if key_ids not set.
    securityGroups string[]
    A list of security group IDs after attach to cluster.
    state string
    State of the node.
    unschedulable number
    Sets whether the joining node participates in the schedule. Default is 0, which means it participates in scheduling. Non-zero(eg: 1) number means it does not participate in scheduling.
    workerConfig KubernetesClusterAttachmentWorkerConfig
    Deploy the machine configuration information of the 'WORKER', commonly used to attach existing instances.
    workerConfigOverrides KubernetesClusterAttachmentWorkerConfigOverrides
    Override variable worker_config, commonly used to attach existing instances.
    cluster_id str
    ID of the cluster.
    hostname str
    The host name of the attached instance. Dot (.) and dash (-) cannot be used as the first and last characters of HostName and cannot be used consecutively. Windows example: The length of the name character is [2, 15], letters (capitalization is not restricted), numbers and dashes (-) are allowed, dots (.) are not supported, and not all numbers are allowed. Examples of other types (Linux, etc.): The character length is [2, 60], and multiple dots are allowed. There is a segment between the dots. Each segment allows letters (with no limitation on capitalization), numbers and dashes (-).
    image_id str
    ID of Node image.
    instance_id str
    ID of the CVM instance, this cvm will reinstall the system.
    key_ids Sequence[str]
    The key pair to use for the instance, it looks like skey-16jig7tx, it should be set if password not set.
    kubernetes_cluster_attachment_id str
    ID of the resource.
    labels Mapping[str, str]
    Labels of tke attachment exits CVM.
    password str
    Password to access, should be set if key_ids not set.
    security_groups Sequence[str]
    A list of security group IDs after attach to cluster.
    state str
    State of the node.
    unschedulable float
    Sets whether the joining node participates in the schedule. Default is 0, which means it participates in scheduling. Non-zero(eg: 1) number means it does not participate in scheduling.
    worker_config KubernetesClusterAttachmentWorkerConfigArgs
    Deploy the machine configuration information of the 'WORKER', commonly used to attach existing instances.
    worker_config_overrides KubernetesClusterAttachmentWorkerConfigOverridesArgs
    Override variable worker_config, commonly used to attach existing instances.
    clusterId String
    ID of the cluster.
    hostname String
    The host name of the attached instance. Dot (.) and dash (-) cannot be used as the first and last characters of HostName and cannot be used consecutively. Windows example: The length of the name character is [2, 15], letters (capitalization is not restricted), numbers and dashes (-) are allowed, dots (.) are not supported, and not all numbers are allowed. Examples of other types (Linux, etc.): The character length is [2, 60], and multiple dots are allowed. There is a segment between the dots. Each segment allows letters (with no limitation on capitalization), numbers and dashes (-).
    imageId String
    ID of Node image.
    instanceId String
    ID of the CVM instance, this cvm will reinstall the system.
    keyIds List<String>
    The key pair to use for the instance, it looks like skey-16jig7tx, it should be set if password not set.
    kubernetesClusterAttachmentId String
    ID of the resource.
    labels Map<String>
    Labels of tke attachment exits CVM.
    password String
    Password to access, should be set if key_ids not set.
    securityGroups List<String>
    A list of security group IDs after attach to cluster.
    state String
    State of the node.
    unschedulable Number
    Sets whether the joining node participates in the schedule. Default is 0, which means it participates in scheduling. Non-zero(eg: 1) number means it does not participate in scheduling.
    workerConfig Property Map
    Deploy the machine configuration information of the 'WORKER', commonly used to attach existing instances.
    workerConfigOverrides Property Map
    Override variable worker_config, commonly used to attach existing instances.

    Supporting Types

    KubernetesClusterAttachmentWorkerConfig, KubernetesClusterAttachmentWorkerConfigArgs

    DataDisks List<KubernetesClusterAttachmentWorkerConfigDataDisk>
    Configurations of data disk.
    DesiredPodNum double
    Indicate to set desired pod number in node. valid when the cluster is podCIDR.
    DockerGraphPath string
    Docker graph path. Default is /var/lib/docker.
    ExtraArgs List<string>
    Custom parameter information related to the node. This is a white-list parameter.
    GpuArgs KubernetesClusterAttachmentWorkerConfigGpuArgs
    GPU driver parameters.
    IsSchedule bool
    This argument was deprecated, use unschedulable instead. Indicate to schedule the adding node or not. Default is true.

    Deprecated: Deprecated

    MountTarget string
    Mount target. Default is not mounting.
    PreStartUserScript string
    Base64-encoded user script, executed before initializing the node, currently only effective for adding existing nodes.
    Taints List<KubernetesClusterAttachmentWorkerConfigTaint>
    Node taint.
    UserData string
    Base64-encoded User Data text, the length limit is 16KB.
    DataDisks []KubernetesClusterAttachmentWorkerConfigDataDisk
    Configurations of data disk.
    DesiredPodNum float64
    Indicate to set desired pod number in node. valid when the cluster is podCIDR.
    DockerGraphPath string
    Docker graph path. Default is /var/lib/docker.
    ExtraArgs []string
    Custom parameter information related to the node. This is a white-list parameter.
    GpuArgs KubernetesClusterAttachmentWorkerConfigGpuArgs
    GPU driver parameters.
    IsSchedule bool
    This argument was deprecated, use unschedulable instead. Indicate to schedule the adding node or not. Default is true.

    Deprecated: Deprecated

    MountTarget string
    Mount target. Default is not mounting.
    PreStartUserScript string
    Base64-encoded user script, executed before initializing the node, currently only effective for adding existing nodes.
    Taints []KubernetesClusterAttachmentWorkerConfigTaint
    Node taint.
    UserData string
    Base64-encoded User Data text, the length limit is 16KB.
    dataDisks List<KubernetesClusterAttachmentWorkerConfigDataDisk>
    Configurations of data disk.
    desiredPodNum Double
    Indicate to set desired pod number in node. valid when the cluster is podCIDR.
    dockerGraphPath String
    Docker graph path. Default is /var/lib/docker.
    extraArgs List<String>
    Custom parameter information related to the node. This is a white-list parameter.
    gpuArgs KubernetesClusterAttachmentWorkerConfigGpuArgs
    GPU driver parameters.
    isSchedule Boolean
    This argument was deprecated, use unschedulable instead. Indicate to schedule the adding node or not. Default is true.

    Deprecated: Deprecated

    mountTarget String
    Mount target. Default is not mounting.
    preStartUserScript String
    Base64-encoded user script, executed before initializing the node, currently only effective for adding existing nodes.
    taints List<KubernetesClusterAttachmentWorkerConfigTaint>
    Node taint.
    userData String
    Base64-encoded User Data text, the length limit is 16KB.
    dataDisks KubernetesClusterAttachmentWorkerConfigDataDisk[]
    Configurations of data disk.
    desiredPodNum number
    Indicate to set desired pod number in node. valid when the cluster is podCIDR.
    dockerGraphPath string
    Docker graph path. Default is /var/lib/docker.
    extraArgs string[]
    Custom parameter information related to the node. This is a white-list parameter.
    gpuArgs KubernetesClusterAttachmentWorkerConfigGpuArgs
    GPU driver parameters.
    isSchedule boolean
    This argument was deprecated, use unschedulable instead. Indicate to schedule the adding node or not. Default is true.

    Deprecated: Deprecated

    mountTarget string
    Mount target. Default is not mounting.
    preStartUserScript string
    Base64-encoded user script, executed before initializing the node, currently only effective for adding existing nodes.
    taints KubernetesClusterAttachmentWorkerConfigTaint[]
    Node taint.
    userData string
    Base64-encoded User Data text, the length limit is 16KB.
    data_disks Sequence[KubernetesClusterAttachmentWorkerConfigDataDisk]
    Configurations of data disk.
    desired_pod_num float
    Indicate to set desired pod number in node. valid when the cluster is podCIDR.
    docker_graph_path str
    Docker graph path. Default is /var/lib/docker.
    extra_args Sequence[str]
    Custom parameter information related to the node. This is a white-list parameter.
    gpu_args KubernetesClusterAttachmentWorkerConfigGpuArgs
    GPU driver parameters.
    is_schedule bool
    This argument was deprecated, use unschedulable instead. Indicate to schedule the adding node or not. Default is true.

    Deprecated: Deprecated

    mount_target str
    Mount target. Default is not mounting.
    pre_start_user_script str
    Base64-encoded user script, executed before initializing the node, currently only effective for adding existing nodes.
    taints Sequence[KubernetesClusterAttachmentWorkerConfigTaint]
    Node taint.
    user_data str
    Base64-encoded User Data text, the length limit is 16KB.
    dataDisks List<Property Map>
    Configurations of data disk.
    desiredPodNum Number
    Indicate to set desired pod number in node. valid when the cluster is podCIDR.
    dockerGraphPath String
    Docker graph path. Default is /var/lib/docker.
    extraArgs List<String>
    Custom parameter information related to the node. This is a white-list parameter.
    gpuArgs Property Map
    GPU driver parameters.
    isSchedule Boolean
    This argument was deprecated, use unschedulable instead. Indicate to schedule the adding node or not. Default is true.

    Deprecated: Deprecated

    mountTarget String
    Mount target. Default is not mounting.
    preStartUserScript String
    Base64-encoded user script, executed before initializing the node, currently only effective for adding existing nodes.
    taints List<Property Map>
    Node taint.
    userData String
    Base64-encoded User Data text, the length limit is 16KB.

    KubernetesClusterAttachmentWorkerConfigDataDisk, KubernetesClusterAttachmentWorkerConfigDataDiskArgs

    AutoFormatAndMount bool
    Indicate whether to auto format and mount or not. Default is false.
    DiskPartition string
    The name of the device or partition to mount. NOTE: this argument doesn't support setting in node pool, or will leads to mount error.
    DiskSize double
    Volume of disk in GB. Default is 0.
    DiskType string
    Types of disk. Valid value: LOCAL_BASIC, LOCAL_SSD, CLOUD_BASIC, CLOUD_PREMIUM, CLOUD_SSD, CLOUD_HSSD, CLOUD_TSSD and CLOUD_BSSD.
    FileSystem string
    File system, e.g. ext3/ext4/xfs.
    MountTarget string
    Mount target.
    AutoFormatAndMount bool
    Indicate whether to auto format and mount or not. Default is false.
    DiskPartition string
    The name of the device or partition to mount. NOTE: this argument doesn't support setting in node pool, or will leads to mount error.
    DiskSize float64
    Volume of disk in GB. Default is 0.
    DiskType string
    Types of disk. Valid value: LOCAL_BASIC, LOCAL_SSD, CLOUD_BASIC, CLOUD_PREMIUM, CLOUD_SSD, CLOUD_HSSD, CLOUD_TSSD and CLOUD_BSSD.
    FileSystem string
    File system, e.g. ext3/ext4/xfs.
    MountTarget string
    Mount target.
    autoFormatAndMount Boolean
    Indicate whether to auto format and mount or not. Default is false.
    diskPartition String
    The name of the device or partition to mount. NOTE: this argument doesn't support setting in node pool, or will leads to mount error.
    diskSize Double
    Volume of disk in GB. Default is 0.
    diskType String
    Types of disk. Valid value: LOCAL_BASIC, LOCAL_SSD, CLOUD_BASIC, CLOUD_PREMIUM, CLOUD_SSD, CLOUD_HSSD, CLOUD_TSSD and CLOUD_BSSD.
    fileSystem String
    File system, e.g. ext3/ext4/xfs.
    mountTarget String
    Mount target.
    autoFormatAndMount boolean
    Indicate whether to auto format and mount or not. Default is false.
    diskPartition string
    The name of the device or partition to mount. NOTE: this argument doesn't support setting in node pool, or will leads to mount error.
    diskSize number
    Volume of disk in GB. Default is 0.
    diskType string
    Types of disk. Valid value: LOCAL_BASIC, LOCAL_SSD, CLOUD_BASIC, CLOUD_PREMIUM, CLOUD_SSD, CLOUD_HSSD, CLOUD_TSSD and CLOUD_BSSD.
    fileSystem string
    File system, e.g. ext3/ext4/xfs.
    mountTarget string
    Mount target.
    auto_format_and_mount bool
    Indicate whether to auto format and mount or not. Default is false.
    disk_partition str
    The name of the device or partition to mount. NOTE: this argument doesn't support setting in node pool, or will leads to mount error.
    disk_size float
    Volume of disk in GB. Default is 0.
    disk_type str
    Types of disk. Valid value: LOCAL_BASIC, LOCAL_SSD, CLOUD_BASIC, CLOUD_PREMIUM, CLOUD_SSD, CLOUD_HSSD, CLOUD_TSSD and CLOUD_BSSD.
    file_system str
    File system, e.g. ext3/ext4/xfs.
    mount_target str
    Mount target.
    autoFormatAndMount Boolean
    Indicate whether to auto format and mount or not. Default is false.
    diskPartition String
    The name of the device or partition to mount. NOTE: this argument doesn't support setting in node pool, or will leads to mount error.
    diskSize Number
    Volume of disk in GB. Default is 0.
    diskType String
    Types of disk. Valid value: LOCAL_BASIC, LOCAL_SSD, CLOUD_BASIC, CLOUD_PREMIUM, CLOUD_SSD, CLOUD_HSSD, CLOUD_TSSD and CLOUD_BSSD.
    fileSystem String
    File system, e.g. ext3/ext4/xfs.
    mountTarget String
    Mount target.

    KubernetesClusterAttachmentWorkerConfigGpuArgs, KubernetesClusterAttachmentWorkerConfigGpuArgsArgs

    Cuda Dictionary<string, string>
    CUDA version. Format like: { version: String, name: String }. version: Version of GPU driver or CUDA; name: Name of GPU driver or CUDA.
    Cudnn Dictionary<string, string>
    cuDNN version. Format like: { version: String, name: String, doc_name: String, dev_name: String }. version: cuDNN version; name: cuDNN name; doc_name: Doc name of cuDNN; dev_name: Dev name of cuDNN.
    CustomDriver Dictionary<string, string>
    Custom GPU driver. Format like: {address: String}. address: URL of custom GPU driver address.
    Driver Dictionary<string, string>
    GPU driver version. Format like: { version: String, name: String }. version: Version of GPU driver or CUDA; name: Name of GPU driver or CUDA.
    MigEnable bool
    Whether to enable MIG.
    Cuda map[string]string
    CUDA version. Format like: { version: String, name: String }. version: Version of GPU driver or CUDA; name: Name of GPU driver or CUDA.
    Cudnn map[string]string
    cuDNN version. Format like: { version: String, name: String, doc_name: String, dev_name: String }. version: cuDNN version; name: cuDNN name; doc_name: Doc name of cuDNN; dev_name: Dev name of cuDNN.
    CustomDriver map[string]string
    Custom GPU driver. Format like: {address: String}. address: URL of custom GPU driver address.
    Driver map[string]string
    GPU driver version. Format like: { version: String, name: String }. version: Version of GPU driver or CUDA; name: Name of GPU driver or CUDA.
    MigEnable bool
    Whether to enable MIG.
    cuda Map<String,String>
    CUDA version. Format like: { version: String, name: String }. version: Version of GPU driver or CUDA; name: Name of GPU driver or CUDA.
    cudnn Map<String,String>
    cuDNN version. Format like: { version: String, name: String, doc_name: String, dev_name: String }. version: cuDNN version; name: cuDNN name; doc_name: Doc name of cuDNN; dev_name: Dev name of cuDNN.
    customDriver Map<String,String>
    Custom GPU driver. Format like: {address: String}. address: URL of custom GPU driver address.
    driver Map<String,String>
    GPU driver version. Format like: { version: String, name: String }. version: Version of GPU driver or CUDA; name: Name of GPU driver or CUDA.
    migEnable Boolean
    Whether to enable MIG.
    cuda {[key: string]: string}
    CUDA version. Format like: { version: String, name: String }. version: Version of GPU driver or CUDA; name: Name of GPU driver or CUDA.
    cudnn {[key: string]: string}
    cuDNN version. Format like: { version: String, name: String, doc_name: String, dev_name: String }. version: cuDNN version; name: cuDNN name; doc_name: Doc name of cuDNN; dev_name: Dev name of cuDNN.
    customDriver {[key: string]: string}
    Custom GPU driver. Format like: {address: String}. address: URL of custom GPU driver address.
    driver {[key: string]: string}
    GPU driver version. Format like: { version: String, name: String }. version: Version of GPU driver or CUDA; name: Name of GPU driver or CUDA.
    migEnable boolean
    Whether to enable MIG.
    cuda Mapping[str, str]
    CUDA version. Format like: { version: String, name: String }. version: Version of GPU driver or CUDA; name: Name of GPU driver or CUDA.
    cudnn Mapping[str, str]
    cuDNN version. Format like: { version: String, name: String, doc_name: String, dev_name: String }. version: cuDNN version; name: cuDNN name; doc_name: Doc name of cuDNN; dev_name: Dev name of cuDNN.
    custom_driver Mapping[str, str]
    Custom GPU driver. Format like: {address: String}. address: URL of custom GPU driver address.
    driver Mapping[str, str]
    GPU driver version. Format like: { version: String, name: String }. version: Version of GPU driver or CUDA; name: Name of GPU driver or CUDA.
    mig_enable bool
    Whether to enable MIG.
    cuda Map<String>
    CUDA version. Format like: { version: String, name: String }. version: Version of GPU driver or CUDA; name: Name of GPU driver or CUDA.
    cudnn Map<String>
    cuDNN version. Format like: { version: String, name: String, doc_name: String, dev_name: String }. version: cuDNN version; name: cuDNN name; doc_name: Doc name of cuDNN; dev_name: Dev name of cuDNN.
    customDriver Map<String>
    Custom GPU driver. Format like: {address: String}. address: URL of custom GPU driver address.
    driver Map<String>
    GPU driver version. Format like: { version: String, name: String }. version: Version of GPU driver or CUDA; name: Name of GPU driver or CUDA.
    migEnable Boolean
    Whether to enable MIG.

    KubernetesClusterAttachmentWorkerConfigOverrides, KubernetesClusterAttachmentWorkerConfigOverridesArgs

    DataDisks List<KubernetesClusterAttachmentWorkerConfigOverridesDataDisk>
    Configurations of data disk.
    DesiredPodNum double
    Indicate to set desired pod number in node. valid when the cluster is podCIDR.
    DockerGraphPath string
    This argument was no longer supported by TencentCloud TKE. Docker graph path. Default is /var/lib/docker.

    Deprecated: Deprecated

    ExtraArgs List<string>
    This argument was no longer supported by TencentCloud TKE. Custom parameter information related to the node. This is a white-list parameter.

    Deprecated: Deprecated

    GpuArgs KubernetesClusterAttachmentWorkerConfigOverridesGpuArgs
    GPU driver parameters.
    IsSchedule bool
    This argument was deprecated, use unschedulable instead. Indicate to schedule the adding node or not. Default is true.

    Deprecated: Deprecated

    MountTarget string
    This argument was no longer supported by TencentCloud TKE. Mount target. Default is not mounting.

    Deprecated: Deprecated

    PreStartUserScript string
    This argument was no longer supported by TencentCloud TKE. Base64-encoded user script, executed before initializing the node, currently only effective for adding existing nodes.

    Deprecated: Deprecated

    UserData string
    This argument was no longer supported by TencentCloud TKE. Base64-encoded User Data text, the length limit is 16KB.

    Deprecated: Deprecated

    DataDisks []KubernetesClusterAttachmentWorkerConfigOverridesDataDisk
    Configurations of data disk.
    DesiredPodNum float64
    Indicate to set desired pod number in node. valid when the cluster is podCIDR.
    DockerGraphPath string
    This argument was no longer supported by TencentCloud TKE. Docker graph path. Default is /var/lib/docker.

    Deprecated: Deprecated

    ExtraArgs []string
    This argument was no longer supported by TencentCloud TKE. Custom parameter information related to the node. This is a white-list parameter.

    Deprecated: Deprecated

    GpuArgs KubernetesClusterAttachmentWorkerConfigOverridesGpuArgs
    GPU driver parameters.
    IsSchedule bool
    This argument was deprecated, use unschedulable instead. Indicate to schedule the adding node or not. Default is true.

    Deprecated: Deprecated

    MountTarget string
    This argument was no longer supported by TencentCloud TKE. Mount target. Default is not mounting.

    Deprecated: Deprecated

    PreStartUserScript string
    This argument was no longer supported by TencentCloud TKE. Base64-encoded user script, executed before initializing the node, currently only effective for adding existing nodes.

    Deprecated: Deprecated

    UserData string
    This argument was no longer supported by TencentCloud TKE. Base64-encoded User Data text, the length limit is 16KB.

    Deprecated: Deprecated

    dataDisks List<KubernetesClusterAttachmentWorkerConfigOverridesDataDisk>
    Configurations of data disk.
    desiredPodNum Double
    Indicate to set desired pod number in node. valid when the cluster is podCIDR.
    dockerGraphPath String
    This argument was no longer supported by TencentCloud TKE. Docker graph path. Default is /var/lib/docker.

    Deprecated: Deprecated

    extraArgs List<String>
    This argument was no longer supported by TencentCloud TKE. Custom parameter information related to the node. This is a white-list parameter.

    Deprecated: Deprecated

    gpuArgs KubernetesClusterAttachmentWorkerConfigOverridesGpuArgs
    GPU driver parameters.
    isSchedule Boolean
    This argument was deprecated, use unschedulable instead. Indicate to schedule the adding node or not. Default is true.

    Deprecated: Deprecated

    mountTarget String
    This argument was no longer supported by TencentCloud TKE. Mount target. Default is not mounting.

    Deprecated: Deprecated

    preStartUserScript String
    This argument was no longer supported by TencentCloud TKE. Base64-encoded user script, executed before initializing the node, currently only effective for adding existing nodes.

    Deprecated: Deprecated

    userData String
    This argument was no longer supported by TencentCloud TKE. Base64-encoded User Data text, the length limit is 16KB.

    Deprecated: Deprecated

    dataDisks KubernetesClusterAttachmentWorkerConfigOverridesDataDisk[]
    Configurations of data disk.
    desiredPodNum number
    Indicate to set desired pod number in node. valid when the cluster is podCIDR.
    dockerGraphPath string
    This argument was no longer supported by TencentCloud TKE. Docker graph path. Default is /var/lib/docker.

    Deprecated: Deprecated

    extraArgs string[]
    This argument was no longer supported by TencentCloud TKE. Custom parameter information related to the node. This is a white-list parameter.

    Deprecated: Deprecated

    gpuArgs KubernetesClusterAttachmentWorkerConfigOverridesGpuArgs
    GPU driver parameters.
    isSchedule boolean
    This argument was deprecated, use unschedulable instead. Indicate to schedule the adding node or not. Default is true.

    Deprecated: Deprecated

    mountTarget string
    This argument was no longer supported by TencentCloud TKE. Mount target. Default is not mounting.

    Deprecated: Deprecated

    preStartUserScript string
    This argument was no longer supported by TencentCloud TKE. Base64-encoded user script, executed before initializing the node, currently only effective for adding existing nodes.

    Deprecated: Deprecated

    userData string
    This argument was no longer supported by TencentCloud TKE. Base64-encoded User Data text, the length limit is 16KB.

    Deprecated: Deprecated

    data_disks Sequence[KubernetesClusterAttachmentWorkerConfigOverridesDataDisk]
    Configurations of data disk.
    desired_pod_num float
    Indicate to set desired pod number in node. valid when the cluster is podCIDR.
    docker_graph_path str
    This argument was no longer supported by TencentCloud TKE. Docker graph path. Default is /var/lib/docker.

    Deprecated: Deprecated

    extra_args Sequence[str]
    This argument was no longer supported by TencentCloud TKE. Custom parameter information related to the node. This is a white-list parameter.

    Deprecated: Deprecated

    gpu_args KubernetesClusterAttachmentWorkerConfigOverridesGpuArgs
    GPU driver parameters.
    is_schedule bool
    This argument was deprecated, use unschedulable instead. Indicate to schedule the adding node or not. Default is true.

    Deprecated: Deprecated

    mount_target str
    This argument was no longer supported by TencentCloud TKE. Mount target. Default is not mounting.

    Deprecated: Deprecated

    pre_start_user_script str
    This argument was no longer supported by TencentCloud TKE. Base64-encoded user script, executed before initializing the node, currently only effective for adding existing nodes.

    Deprecated: Deprecated

    user_data str
    This argument was no longer supported by TencentCloud TKE. Base64-encoded User Data text, the length limit is 16KB.

    Deprecated: Deprecated

    dataDisks List<Property Map>
    Configurations of data disk.
    desiredPodNum Number
    Indicate to set desired pod number in node. valid when the cluster is podCIDR.
    dockerGraphPath String
    This argument was no longer supported by TencentCloud TKE. Docker graph path. Default is /var/lib/docker.

    Deprecated: Deprecated

    extraArgs List<String>
    This argument was no longer supported by TencentCloud TKE. Custom parameter information related to the node. This is a white-list parameter.

    Deprecated: Deprecated

    gpuArgs Property Map
    GPU driver parameters.
    isSchedule Boolean
    This argument was deprecated, use unschedulable instead. Indicate to schedule the adding node or not. Default is true.

    Deprecated: Deprecated

    mountTarget String
    This argument was no longer supported by TencentCloud TKE. Mount target. Default is not mounting.

    Deprecated: Deprecated

    preStartUserScript String
    This argument was no longer supported by TencentCloud TKE. Base64-encoded user script, executed before initializing the node, currently only effective for adding existing nodes.

    Deprecated: Deprecated

    userData String
    This argument was no longer supported by TencentCloud TKE. Base64-encoded User Data text, the length limit is 16KB.

    Deprecated: Deprecated

    KubernetesClusterAttachmentWorkerConfigOverridesDataDisk, KubernetesClusterAttachmentWorkerConfigOverridesDataDiskArgs

    AutoFormatAndMount bool
    Indicate whether to auto format and mount or not. Default is false.
    DiskPartition string
    The name of the device or partition to mount. NOTE: this argument doesn't support setting in node pool, or will leads to mount error.
    DiskSize double
    Volume of disk in GB. Default is 0.
    DiskType string
    Types of disk. Valid value: LOCAL_BASIC, LOCAL_SSD, CLOUD_BASIC, CLOUD_PREMIUM, CLOUD_SSD, CLOUD_HSSD, CLOUD_TSSD and CLOUD_BSSD.
    FileSystem string
    File system, e.g. ext3/ext4/xfs.
    MountTarget string
    Mount target.
    AutoFormatAndMount bool
    Indicate whether to auto format and mount or not. Default is false.
    DiskPartition string
    The name of the device or partition to mount. NOTE: this argument doesn't support setting in node pool, or will leads to mount error.
    DiskSize float64
    Volume of disk in GB. Default is 0.
    DiskType string
    Types of disk. Valid value: LOCAL_BASIC, LOCAL_SSD, CLOUD_BASIC, CLOUD_PREMIUM, CLOUD_SSD, CLOUD_HSSD, CLOUD_TSSD and CLOUD_BSSD.
    FileSystem string
    File system, e.g. ext3/ext4/xfs.
    MountTarget string
    Mount target.
    autoFormatAndMount Boolean
    Indicate whether to auto format and mount or not. Default is false.
    diskPartition String
    The name of the device or partition to mount. NOTE: this argument doesn't support setting in node pool, or will leads to mount error.
    diskSize Double
    Volume of disk in GB. Default is 0.
    diskType String
    Types of disk. Valid value: LOCAL_BASIC, LOCAL_SSD, CLOUD_BASIC, CLOUD_PREMIUM, CLOUD_SSD, CLOUD_HSSD, CLOUD_TSSD and CLOUD_BSSD.
    fileSystem String
    File system, e.g. ext3/ext4/xfs.
    mountTarget String
    Mount target.
    autoFormatAndMount boolean
    Indicate whether to auto format and mount or not. Default is false.
    diskPartition string
    The name of the device or partition to mount. NOTE: this argument doesn't support setting in node pool, or will leads to mount error.
    diskSize number
    Volume of disk in GB. Default is 0.
    diskType string
    Types of disk. Valid value: LOCAL_BASIC, LOCAL_SSD, CLOUD_BASIC, CLOUD_PREMIUM, CLOUD_SSD, CLOUD_HSSD, CLOUD_TSSD and CLOUD_BSSD.
    fileSystem string
    File system, e.g. ext3/ext4/xfs.
    mountTarget string
    Mount target.
    auto_format_and_mount bool
    Indicate whether to auto format and mount or not. Default is false.
    disk_partition str
    The name of the device or partition to mount. NOTE: this argument doesn't support setting in node pool, or will leads to mount error.
    disk_size float
    Volume of disk in GB. Default is 0.
    disk_type str
    Types of disk. Valid value: LOCAL_BASIC, LOCAL_SSD, CLOUD_BASIC, CLOUD_PREMIUM, CLOUD_SSD, CLOUD_HSSD, CLOUD_TSSD and CLOUD_BSSD.
    file_system str
    File system, e.g. ext3/ext4/xfs.
    mount_target str
    Mount target.
    autoFormatAndMount Boolean
    Indicate whether to auto format and mount or not. Default is false.
    diskPartition String
    The name of the device or partition to mount. NOTE: this argument doesn't support setting in node pool, or will leads to mount error.
    diskSize Number
    Volume of disk in GB. Default is 0.
    diskType String
    Types of disk. Valid value: LOCAL_BASIC, LOCAL_SSD, CLOUD_BASIC, CLOUD_PREMIUM, CLOUD_SSD, CLOUD_HSSD, CLOUD_TSSD and CLOUD_BSSD.
    fileSystem String
    File system, e.g. ext3/ext4/xfs.
    mountTarget String
    Mount target.

    KubernetesClusterAttachmentWorkerConfigOverridesGpuArgs, KubernetesClusterAttachmentWorkerConfigOverridesGpuArgsArgs

    Cuda Dictionary<string, string>
    CUDA version. Format like: { version: String, name: String }. version: Version of GPU driver or CUDA; name: Name of GPU driver or CUDA.
    Cudnn Dictionary<string, string>
    cuDNN version. Format like: { version: String, name: String, doc_name: String, dev_name: String }. version: cuDNN version; name: cuDNN name; doc_name: Doc name of cuDNN; dev_name: Dev name of cuDNN.
    CustomDriver Dictionary<string, string>
    Custom GPU driver. Format like: {address: String}. address: URL of custom GPU driver address.
    Driver Dictionary<string, string>
    GPU driver version. Format like: { version: String, name: String }. version: Version of GPU driver or CUDA; name: Name of GPU driver or CUDA.
    MigEnable bool
    Whether to enable MIG.
    Cuda map[string]string
    CUDA version. Format like: { version: String, name: String }. version: Version of GPU driver or CUDA; name: Name of GPU driver or CUDA.
    Cudnn map[string]string
    cuDNN version. Format like: { version: String, name: String, doc_name: String, dev_name: String }. version: cuDNN version; name: cuDNN name; doc_name: Doc name of cuDNN; dev_name: Dev name of cuDNN.
    CustomDriver map[string]string
    Custom GPU driver. Format like: {address: String}. address: URL of custom GPU driver address.
    Driver map[string]string
    GPU driver version. Format like: { version: String, name: String }. version: Version of GPU driver or CUDA; name: Name of GPU driver or CUDA.
    MigEnable bool
    Whether to enable MIG.
    cuda Map<String,String>
    CUDA version. Format like: { version: String, name: String }. version: Version of GPU driver or CUDA; name: Name of GPU driver or CUDA.
    cudnn Map<String,String>
    cuDNN version. Format like: { version: String, name: String, doc_name: String, dev_name: String }. version: cuDNN version; name: cuDNN name; doc_name: Doc name of cuDNN; dev_name: Dev name of cuDNN.
    customDriver Map<String,String>
    Custom GPU driver. Format like: {address: String}. address: URL of custom GPU driver address.
    driver Map<String,String>
    GPU driver version. Format like: { version: String, name: String }. version: Version of GPU driver or CUDA; name: Name of GPU driver or CUDA.
    migEnable Boolean
    Whether to enable MIG.
    cuda {[key: string]: string}
    CUDA version. Format like: { version: String, name: String }. version: Version of GPU driver or CUDA; name: Name of GPU driver or CUDA.
    cudnn {[key: string]: string}
    cuDNN version. Format like: { version: String, name: String, doc_name: String, dev_name: String }. version: cuDNN version; name: cuDNN name; doc_name: Doc name of cuDNN; dev_name: Dev name of cuDNN.
    customDriver {[key: string]: string}
    Custom GPU driver. Format like: {address: String}. address: URL of custom GPU driver address.
    driver {[key: string]: string}
    GPU driver version. Format like: { version: String, name: String }. version: Version of GPU driver or CUDA; name: Name of GPU driver or CUDA.
    migEnable boolean
    Whether to enable MIG.
    cuda Mapping[str, str]
    CUDA version. Format like: { version: String, name: String }. version: Version of GPU driver or CUDA; name: Name of GPU driver or CUDA.
    cudnn Mapping[str, str]
    cuDNN version. Format like: { version: String, name: String, doc_name: String, dev_name: String }. version: cuDNN version; name: cuDNN name; doc_name: Doc name of cuDNN; dev_name: Dev name of cuDNN.
    custom_driver Mapping[str, str]
    Custom GPU driver. Format like: {address: String}. address: URL of custom GPU driver address.
    driver Mapping[str, str]
    GPU driver version. Format like: { version: String, name: String }. version: Version of GPU driver or CUDA; name: Name of GPU driver or CUDA.
    mig_enable bool
    Whether to enable MIG.
    cuda Map<String>
    CUDA version. Format like: { version: String, name: String }. version: Version of GPU driver or CUDA; name: Name of GPU driver or CUDA.
    cudnn Map<String>
    cuDNN version. Format like: { version: String, name: String, doc_name: String, dev_name: String }. version: cuDNN version; name: cuDNN name; doc_name: Doc name of cuDNN; dev_name: Dev name of cuDNN.
    customDriver Map<String>
    Custom GPU driver. Format like: {address: String}. address: URL of custom GPU driver address.
    driver Map<String>
    GPU driver version. Format like: { version: String, name: String }. version: Version of GPU driver or CUDA; name: Name of GPU driver or CUDA.
    migEnable Boolean
    Whether to enable MIG.

    KubernetesClusterAttachmentWorkerConfigTaint, KubernetesClusterAttachmentWorkerConfigTaintArgs

    Effect string
    Effect of the taint.
    Key string
    Key of the taint.
    Value string
    Value of the taint.
    Effect string
    Effect of the taint.
    Key string
    Key of the taint.
    Value string
    Value of the taint.
    effect String
    Effect of the taint.
    key String
    Key of the taint.
    value String
    Value of the taint.
    effect string
    Effect of the taint.
    key string
    Key of the taint.
    value string
    Value of the taint.
    effect str
    Effect of the taint.
    key str
    Key of the taint.
    value str
    Value of the taint.
    effect String
    Effect of the taint.
    key String
    Key of the taint.
    value String
    Value of the taint.

    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