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

tencentcloud.KubernetesScaleWorker

Explore with Pulumi AI

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

    Provide a resource to increase instance to cluster

    NOTE: To use the custom Kubernetes component startup parameter function (parameter extra_args), you need to submit a ticket for application.

    NOTE: Import Node: Currently, only one node can be imported at a time.

    NOTE: If you need to view error messages during instance creation, you can use parameter create_result_output_file to set the file save path

    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 subnet = config.get("subnet") || "subnet-pqfek0t8";
    const scaleInstanceType = config.get("scaleInstanceType") || "S2.LARGE16";
    const example = new tencentcloud.KubernetesScaleWorker("example", {
        clusterId: "cls-godovr32",
        desiredPodNum: 16,
        labels: {
            test1: "test1",
            test2: "test2",
        },
        workerConfig: {
            count: 3,
            availabilityZone: availabilityZone,
            instanceType: scaleInstanceType,
            subnetId: subnet,
            systemDiskType: "CLOUD_SSD",
            systemDiskSize: 50,
            internetChargeType: "TRAFFIC_POSTPAID_BY_HOUR",
            internetMaxBandwidthOut: 100,
            publicIpAssigned: true,
            dataDisks: [{
                diskType: "CLOUD_PREMIUM",
                diskSize: 50,
            }],
            enhancedSecurityService: false,
            enhancedMonitorService: false,
            userData: "dGVzdA==",
            password: "Password@123",
            tags: [{
                key: "createBy",
                value: "Terraform",
            }],
        },
        createResultOutputFile: "my_output_file_path",
    });
    
    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"
    subnet = config.get("subnet")
    if subnet is None:
        subnet = "subnet-pqfek0t8"
    scale_instance_type = config.get("scaleInstanceType")
    if scale_instance_type is None:
        scale_instance_type = "S2.LARGE16"
    example = tencentcloud.KubernetesScaleWorker("example",
        cluster_id="cls-godovr32",
        desired_pod_num=16,
        labels={
            "test1": "test1",
            "test2": "test2",
        },
        worker_config={
            "count": 3,
            "availability_zone": availability_zone,
            "instance_type": scale_instance_type,
            "subnet_id": subnet,
            "system_disk_type": "CLOUD_SSD",
            "system_disk_size": 50,
            "internet_charge_type": "TRAFFIC_POSTPAID_BY_HOUR",
            "internet_max_bandwidth_out": 100,
            "public_ip_assigned": True,
            "data_disks": [{
                "disk_type": "CLOUD_PREMIUM",
                "disk_size": 50,
            }],
            "enhanced_security_service": False,
            "enhanced_monitor_service": False,
            "user_data": "dGVzdA==",
            "password": "Password@123",
            "tags": [{
                "key": "createBy",
                "value": "Terraform",
            }],
        },
        create_result_output_file="my_output_file_path")
    
    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
    		}
    		subnet := "subnet-pqfek0t8"
    		if param := cfg.Get("subnet"); param != "" {
    			subnet = param
    		}
    		scaleInstanceType := "S2.LARGE16"
    		if param := cfg.Get("scaleInstanceType"); param != "" {
    			scaleInstanceType = param
    		}
    		_, err := tencentcloud.NewKubernetesScaleWorker(ctx, "example", &tencentcloud.KubernetesScaleWorkerArgs{
    			ClusterId:     pulumi.String("cls-godovr32"),
    			DesiredPodNum: pulumi.Float64(16),
    			Labels: pulumi.StringMap{
    				"test1": pulumi.String("test1"),
    				"test2": pulumi.String("test2"),
    			},
    			WorkerConfig: &tencentcloud.KubernetesScaleWorkerWorkerConfigArgs{
    				Count:                   pulumi.Float64(3),
    				AvailabilityZone:        pulumi.String(availabilityZone),
    				InstanceType:            pulumi.String(scaleInstanceType),
    				SubnetId:                pulumi.String(subnet),
    				SystemDiskType:          pulumi.String("CLOUD_SSD"),
    				SystemDiskSize:          pulumi.Float64(50),
    				InternetChargeType:      pulumi.String("TRAFFIC_POSTPAID_BY_HOUR"),
    				InternetMaxBandwidthOut: pulumi.Float64(100),
    				PublicIpAssigned:        pulumi.Bool(true),
    				DataDisks: tencentcloud.KubernetesScaleWorkerWorkerConfigDataDiskArray{
    					&tencentcloud.KubernetesScaleWorkerWorkerConfigDataDiskArgs{
    						DiskType: pulumi.String("CLOUD_PREMIUM"),
    						DiskSize: pulumi.Float64(50),
    					},
    				},
    				EnhancedSecurityService: pulumi.Bool(false),
    				EnhancedMonitorService:  pulumi.Bool(false),
    				UserData:                pulumi.String("dGVzdA=="),
    				Password:                pulumi.String("Password@123"),
    				Tags: tencentcloud.KubernetesScaleWorkerWorkerConfigTagArray{
    					&tencentcloud.KubernetesScaleWorkerWorkerConfigTagArgs{
    						Key:   pulumi.String("createBy"),
    						Value: pulumi.String("Terraform"),
    					},
    				},
    			},
    			CreateResultOutputFile: pulumi.String("my_output_file_path"),
    		})
    		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 subnet = config.Get("subnet") ?? "subnet-pqfek0t8";
        var scaleInstanceType = config.Get("scaleInstanceType") ?? "S2.LARGE16";
        var example = new Tencentcloud.KubernetesScaleWorker("example", new()
        {
            ClusterId = "cls-godovr32",
            DesiredPodNum = 16,
            Labels = 
            {
                { "test1", "test1" },
                { "test2", "test2" },
            },
            WorkerConfig = new Tencentcloud.Inputs.KubernetesScaleWorkerWorkerConfigArgs
            {
                Count = 3,
                AvailabilityZone = availabilityZone,
                InstanceType = scaleInstanceType,
                SubnetId = subnet,
                SystemDiskType = "CLOUD_SSD",
                SystemDiskSize = 50,
                InternetChargeType = "TRAFFIC_POSTPAID_BY_HOUR",
                InternetMaxBandwidthOut = 100,
                PublicIpAssigned = true,
                DataDisks = new[]
                {
                    new Tencentcloud.Inputs.KubernetesScaleWorkerWorkerConfigDataDiskArgs
                    {
                        DiskType = "CLOUD_PREMIUM",
                        DiskSize = 50,
                    },
                },
                EnhancedSecurityService = false,
                EnhancedMonitorService = false,
                UserData = "dGVzdA==",
                Password = "Password@123",
                Tags = new[]
                {
                    new Tencentcloud.Inputs.KubernetesScaleWorkerWorkerConfigTagArgs
                    {
                        Key = "createBy",
                        Value = "Terraform",
                    },
                },
            },
            CreateResultOutputFile = "my_output_file_path",
        });
    
    });
    
    package generated_program;
    
    import com.pulumi.Context;
    import com.pulumi.Pulumi;
    import com.pulumi.core.Output;
    import com.pulumi.tencentcloud.KubernetesScaleWorker;
    import com.pulumi.tencentcloud.KubernetesScaleWorkerArgs;
    import com.pulumi.tencentcloud.inputs.KubernetesScaleWorkerWorkerConfigArgs;
    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 subnet = config.get("subnet").orElse("subnet-pqfek0t8");
            final var scaleInstanceType = config.get("scaleInstanceType").orElse("S2.LARGE16");
            var example = new KubernetesScaleWorker("example", KubernetesScaleWorkerArgs.builder()
                .clusterId("cls-godovr32")
                .desiredPodNum(16)
                .labels(Map.ofEntries(
                    Map.entry("test1", "test1"),
                    Map.entry("test2", "test2")
                ))
                .workerConfig(KubernetesScaleWorkerWorkerConfigArgs.builder()
                    .count(3)
                    .availabilityZone(availabilityZone)
                    .instanceType(scaleInstanceType)
                    .subnetId(subnet)
                    .systemDiskType("CLOUD_SSD")
                    .systemDiskSize(50)
                    .internetChargeType("TRAFFIC_POSTPAID_BY_HOUR")
                    .internetMaxBandwidthOut(100)
                    .publicIpAssigned(true)
                    .dataDisks(KubernetesScaleWorkerWorkerConfigDataDiskArgs.builder()
                        .diskType("CLOUD_PREMIUM")
                        .diskSize(50)
                        .build())
                    .enhancedSecurityService(false)
                    .enhancedMonitorService(false)
                    .userData("dGVzdA==")
                    .password("Password@123")
                    .tags(KubernetesScaleWorkerWorkerConfigTagArgs.builder()
                        .key("createBy")
                        .value("Terraform")
                        .build())
                    .build())
                .createResultOutputFile("my_output_file_path")
                .build());
    
        }
    }
    
    configuration:
      availabilityZone:
        type: string
        default: ap-guangzhou-3
      subnet:
        type: string
        default: subnet-pqfek0t8
      scaleInstanceType:
        type: string
        default: S2.LARGE16
    resources:
      example:
        type: tencentcloud:KubernetesScaleWorker
        properties:
          clusterId: cls-godovr32
          desiredPodNum: 16
          labels:
            test1: test1
            test2: test2
          workerConfig:
            count: 3
            availabilityZone: ${availabilityZone}
            instanceType: ${scaleInstanceType}
            subnetId: ${subnet}
            systemDiskType: CLOUD_SSD
            systemDiskSize: 50
            internetChargeType: TRAFFIC_POSTPAID_BY_HOUR
            internetMaxBandwidthOut: 100
            publicIpAssigned: true
            dataDisks:
              - diskType: CLOUD_PREMIUM
                diskSize: 50
            enhancedSecurityService: false
            enhancedMonitorService: false
            userData: dGVzdA==
            password: Password@123
            tags:
              - key: createBy
                value: Terraform
          createResultOutputFile: my_output_file_path
    

    Use Kubelet

    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 subnet = config.get("subnet") || "subnet-pqfek0t8";
    const scaleInstanceType = config.get("scaleInstanceType") || "S2.LARGE16";
    const example = new tencentcloud.KubernetesScaleWorker("example", {
        clusterId: "cls-godovr32",
        extraArgs: ["root-dir=/var/lib/kubelet"],
        labels: {
            test1: "test1",
            test2: "test2",
        },
        workerConfig: {
            count: 3,
            availabilityZone: availabilityZone,
            instanceType: scaleInstanceType,
            subnetId: subnet,
            systemDiskType: "CLOUD_SSD",
            systemDiskSize: 50,
            internetChargeType: "TRAFFIC_POSTPAID_BY_HOUR",
            internetMaxBandwidthOut: 100,
            publicIpAssigned: true,
            dataDisks: [{
                diskType: "CLOUD_PREMIUM",
                diskSize: 50,
            }],
            enhancedSecurityService: false,
            enhancedMonitorService: false,
            userData: "dGVzdA==",
            password: "Password@123",
        },
    });
    
    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"
    subnet = config.get("subnet")
    if subnet is None:
        subnet = "subnet-pqfek0t8"
    scale_instance_type = config.get("scaleInstanceType")
    if scale_instance_type is None:
        scale_instance_type = "S2.LARGE16"
    example = tencentcloud.KubernetesScaleWorker("example",
        cluster_id="cls-godovr32",
        extra_args=["root-dir=/var/lib/kubelet"],
        labels={
            "test1": "test1",
            "test2": "test2",
        },
        worker_config={
            "count": 3,
            "availability_zone": availability_zone,
            "instance_type": scale_instance_type,
            "subnet_id": subnet,
            "system_disk_type": "CLOUD_SSD",
            "system_disk_size": 50,
            "internet_charge_type": "TRAFFIC_POSTPAID_BY_HOUR",
            "internet_max_bandwidth_out": 100,
            "public_ip_assigned": True,
            "data_disks": [{
                "disk_type": "CLOUD_PREMIUM",
                "disk_size": 50,
            }],
            "enhanced_security_service": False,
            "enhanced_monitor_service": False,
            "user_data": "dGVzdA==",
            "password": "Password@123",
        })
    
    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
    		}
    		subnet := "subnet-pqfek0t8"
    		if param := cfg.Get("subnet"); param != "" {
    			subnet = param
    		}
    		scaleInstanceType := "S2.LARGE16"
    		if param := cfg.Get("scaleInstanceType"); param != "" {
    			scaleInstanceType = param
    		}
    		_, err := tencentcloud.NewKubernetesScaleWorker(ctx, "example", &tencentcloud.KubernetesScaleWorkerArgs{
    			ClusterId: pulumi.String("cls-godovr32"),
    			ExtraArgs: pulumi.StringArray{
    				pulumi.String("root-dir=/var/lib/kubelet"),
    			},
    			Labels: pulumi.StringMap{
    				"test1": pulumi.String("test1"),
    				"test2": pulumi.String("test2"),
    			},
    			WorkerConfig: &tencentcloud.KubernetesScaleWorkerWorkerConfigArgs{
    				Count:                   pulumi.Float64(3),
    				AvailabilityZone:        pulumi.String(availabilityZone),
    				InstanceType:            pulumi.String(scaleInstanceType),
    				SubnetId:                pulumi.String(subnet),
    				SystemDiskType:          pulumi.String("CLOUD_SSD"),
    				SystemDiskSize:          pulumi.Float64(50),
    				InternetChargeType:      pulumi.String("TRAFFIC_POSTPAID_BY_HOUR"),
    				InternetMaxBandwidthOut: pulumi.Float64(100),
    				PublicIpAssigned:        pulumi.Bool(true),
    				DataDisks: tencentcloud.KubernetesScaleWorkerWorkerConfigDataDiskArray{
    					&tencentcloud.KubernetesScaleWorkerWorkerConfigDataDiskArgs{
    						DiskType: pulumi.String("CLOUD_PREMIUM"),
    						DiskSize: pulumi.Float64(50),
    					},
    				},
    				EnhancedSecurityService: pulumi.Bool(false),
    				EnhancedMonitorService:  pulumi.Bool(false),
    				UserData:                pulumi.String("dGVzdA=="),
    				Password:                pulumi.String("Password@123"),
    			},
    		})
    		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 subnet = config.Get("subnet") ?? "subnet-pqfek0t8";
        var scaleInstanceType = config.Get("scaleInstanceType") ?? "S2.LARGE16";
        var example = new Tencentcloud.KubernetesScaleWorker("example", new()
        {
            ClusterId = "cls-godovr32",
            ExtraArgs = new[]
            {
                "root-dir=/var/lib/kubelet",
            },
            Labels = 
            {
                { "test1", "test1" },
                { "test2", "test2" },
            },
            WorkerConfig = new Tencentcloud.Inputs.KubernetesScaleWorkerWorkerConfigArgs
            {
                Count = 3,
                AvailabilityZone = availabilityZone,
                InstanceType = scaleInstanceType,
                SubnetId = subnet,
                SystemDiskType = "CLOUD_SSD",
                SystemDiskSize = 50,
                InternetChargeType = "TRAFFIC_POSTPAID_BY_HOUR",
                InternetMaxBandwidthOut = 100,
                PublicIpAssigned = true,
                DataDisks = new[]
                {
                    new Tencentcloud.Inputs.KubernetesScaleWorkerWorkerConfigDataDiskArgs
                    {
                        DiskType = "CLOUD_PREMIUM",
                        DiskSize = 50,
                    },
                },
                EnhancedSecurityService = false,
                EnhancedMonitorService = false,
                UserData = "dGVzdA==",
                Password = "Password@123",
            },
        });
    
    });
    
    package generated_program;
    
    import com.pulumi.Context;
    import com.pulumi.Pulumi;
    import com.pulumi.core.Output;
    import com.pulumi.tencentcloud.KubernetesScaleWorker;
    import com.pulumi.tencentcloud.KubernetesScaleWorkerArgs;
    import com.pulumi.tencentcloud.inputs.KubernetesScaleWorkerWorkerConfigArgs;
    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 subnet = config.get("subnet").orElse("subnet-pqfek0t8");
            final var scaleInstanceType = config.get("scaleInstanceType").orElse("S2.LARGE16");
            var example = new KubernetesScaleWorker("example", KubernetesScaleWorkerArgs.builder()
                .clusterId("cls-godovr32")
                .extraArgs("root-dir=/var/lib/kubelet")
                .labels(Map.ofEntries(
                    Map.entry("test1", "test1"),
                    Map.entry("test2", "test2")
                ))
                .workerConfig(KubernetesScaleWorkerWorkerConfigArgs.builder()
                    .count(3)
                    .availabilityZone(availabilityZone)
                    .instanceType(scaleInstanceType)
                    .subnetId(subnet)
                    .systemDiskType("CLOUD_SSD")
                    .systemDiskSize(50)
                    .internetChargeType("TRAFFIC_POSTPAID_BY_HOUR")
                    .internetMaxBandwidthOut(100)
                    .publicIpAssigned(true)
                    .dataDisks(KubernetesScaleWorkerWorkerConfigDataDiskArgs.builder()
                        .diskType("CLOUD_PREMIUM")
                        .diskSize(50)
                        .build())
                    .enhancedSecurityService(false)
                    .enhancedMonitorService(false)
                    .userData("dGVzdA==")
                    .password("Password@123")
                    .build())
                .build());
    
        }
    }
    
    configuration:
      availabilityZone:
        type: string
        default: ap-guangzhou-3
      subnet:
        type: string
        default: subnet-pqfek0t8
      scaleInstanceType:
        type: string
        default: S2.LARGE16
    resources:
      example:
        type: tencentcloud:KubernetesScaleWorker
        properties:
          clusterId: cls-godovr32
          extraArgs:
            - root-dir=/var/lib/kubelet
          labels:
            test1: test1
            test2: test2
          workerConfig:
            count: 3
            availabilityZone: ${availabilityZone}
            instanceType: ${scaleInstanceType}
            subnetId: ${subnet}
            systemDiskType: CLOUD_SSD
            systemDiskSize: 50
            internetChargeType: TRAFFIC_POSTPAID_BY_HOUR
            internetMaxBandwidthOut: 100
            publicIpAssigned: true
            dataDisks:
              - diskType: CLOUD_PREMIUM
                diskSize: 50
            enhancedSecurityService: false
            enhancedMonitorService: false
            userData: dGVzdA==
            password: Password@123
    

    Create KubernetesScaleWorker Resource

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

    Constructor syntax

    new KubernetesScaleWorker(name: string, args: KubernetesScaleWorkerArgs, opts?: CustomResourceOptions);
    @overload
    def KubernetesScaleWorker(resource_name: str,
                              args: KubernetesScaleWorkerArgs,
                              opts: Optional[ResourceOptions] = None)
    
    @overload
    def KubernetesScaleWorker(resource_name: str,
                              opts: Optional[ResourceOptions] = None,
                              cluster_id: Optional[str] = None,
                              worker_config: Optional[KubernetesScaleWorkerWorkerConfigArgs] = None,
                              gpu_args: Optional[KubernetesScaleWorkerGpuArgsArgs] = None,
                              desired_pod_num: Optional[float] = None,
                              docker_graph_path: Optional[str] = None,
                              extra_args: Optional[Sequence[str]] = None,
                              data_disks: Optional[Sequence[KubernetesScaleWorkerDataDiskArgs]] = None,
                              kubernetes_scale_worker_id: Optional[str] = None,
                              labels: Optional[Mapping[str, str]] = None,
                              mount_target: Optional[str] = None,
                              pre_start_user_script: Optional[str] = None,
                              taints: Optional[Sequence[KubernetesScaleWorkerTaintArgs]] = None,
                              unschedulable: Optional[float] = None,
                              user_script: Optional[str] = None,
                              create_result_output_file: Optional[str] = None)
    func NewKubernetesScaleWorker(ctx *Context, name string, args KubernetesScaleWorkerArgs, opts ...ResourceOption) (*KubernetesScaleWorker, error)
    public KubernetesScaleWorker(string name, KubernetesScaleWorkerArgs args, CustomResourceOptions? opts = null)
    public KubernetesScaleWorker(String name, KubernetesScaleWorkerArgs args)
    public KubernetesScaleWorker(String name, KubernetesScaleWorkerArgs args, CustomResourceOptions options)
    
    type: tencentcloud:KubernetesScaleWorker
    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 KubernetesScaleWorkerArgs
    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 KubernetesScaleWorkerArgs
    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 KubernetesScaleWorkerArgs
    The arguments to resource properties.
    opts ResourceOption
    Bag of options to control resource's behavior.
    name string
    The unique name of the resource.
    args KubernetesScaleWorkerArgs
    The arguments to resource properties.
    opts CustomResourceOptions
    Bag of options to control resource's behavior.
    name String
    The unique name of the resource.
    args KubernetesScaleWorkerArgs
    The arguments to resource properties.
    options CustomResourceOptions
    Bag of options to control resource's behavior.

    KubernetesScaleWorker 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 KubernetesScaleWorker resource accepts the following input properties:

    ClusterId string
    ID of the cluster.
    WorkerConfig KubernetesScaleWorkerWorkerConfig
    Deploy the machine configuration information of the 'WORK' service, and create <=20 units for common users.
    CreateResultOutputFile string
    Used to save results of CVMs creation error messages.
    DataDisks List<KubernetesScaleWorkerDataDisk>
    Configurations of tke data disk.
    DesiredPodNum double
    Indicate to set desired pod number in current node. Valid when the cluster enable customized pod cidr.
    DockerGraphPath string
    Docker graph path. Default is /var/lib/docker.
    ExtraArgs List<string>
    Custom parameter information related to the node.
    GpuArgs KubernetesScaleWorkerGpuArgs
    GPU driver parameters.
    KubernetesScaleWorkerId string
    ID of the resource.
    Labels Dictionary<string, string>
    Labels of kubernetes scale worker created nodes.
    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<KubernetesScaleWorkerTaint>
    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 user script, this script will be executed after the k8s component is run. The user needs to ensure that the script is reentrant and retry logic. The script and its generated log files can be viewed in the /data/ccs_userscript/ path of the node, if required. The node needs to be initialized before it can be added to the schedule. It can be used with the unschedulable parameter. After the final initialization of userScript is completed, add the kubectl uncordon nodename --kubeconfig=/root/.kube/config command to add the node to the schedule.
    ClusterId string
    ID of the cluster.
    WorkerConfig KubernetesScaleWorkerWorkerConfigArgs
    Deploy the machine configuration information of the 'WORK' service, and create <=20 units for common users.
    CreateResultOutputFile string
    Used to save results of CVMs creation error messages.
    DataDisks []KubernetesScaleWorkerDataDiskArgs
    Configurations of tke data disk.
    DesiredPodNum float64
    Indicate to set desired pod number in current node. Valid when the cluster enable customized pod cidr.
    DockerGraphPath string
    Docker graph path. Default is /var/lib/docker.
    ExtraArgs []string
    Custom parameter information related to the node.
    GpuArgs KubernetesScaleWorkerGpuArgsArgs
    GPU driver parameters.
    KubernetesScaleWorkerId string
    ID of the resource.
    Labels map[string]string
    Labels of kubernetes scale worker created nodes.
    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 []KubernetesScaleWorkerTaintArgs
    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 user script, this script will be executed after the k8s component is run. The user needs to ensure that the script is reentrant and retry logic. The script and its generated log files can be viewed in the /data/ccs_userscript/ path of the node, if required. The node needs to be initialized before it can be added to the schedule. It can be used with the unschedulable parameter. After the final initialization of userScript is completed, add the kubectl uncordon nodename --kubeconfig=/root/.kube/config command to add the node to the schedule.
    clusterId String
    ID of the cluster.
    workerConfig KubernetesScaleWorkerWorkerConfig
    Deploy the machine configuration information of the 'WORK' service, and create <=20 units for common users.
    createResultOutputFile String
    Used to save results of CVMs creation error messages.
    dataDisks List<KubernetesScaleWorkerDataDisk>
    Configurations of tke data disk.
    desiredPodNum Double
    Indicate to set desired pod number in current node. Valid when the cluster enable customized pod cidr.
    dockerGraphPath String
    Docker graph path. Default is /var/lib/docker.
    extraArgs List<String>
    Custom parameter information related to the node.
    gpuArgs KubernetesScaleWorkerGpuArgs
    GPU driver parameters.
    kubernetesScaleWorkerId String
    ID of the resource.
    labels Map<String,String>
    Labels of kubernetes scale worker created nodes.
    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<KubernetesScaleWorkerTaint>
    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 user script, this script will be executed after the k8s component is run. The user needs to ensure that the script is reentrant and retry logic. The script and its generated log files can be viewed in the /data/ccs_userscript/ path of the node, if required. The node needs to be initialized before it can be added to the schedule. It can be used with the unschedulable parameter. After the final initialization of userScript is completed, add the kubectl uncordon nodename --kubeconfig=/root/.kube/config command to add the node to the schedule.
    clusterId string
    ID of the cluster.
    workerConfig KubernetesScaleWorkerWorkerConfig
    Deploy the machine configuration information of the 'WORK' service, and create <=20 units for common users.
    createResultOutputFile string
    Used to save results of CVMs creation error messages.
    dataDisks KubernetesScaleWorkerDataDisk[]
    Configurations of tke data disk.
    desiredPodNum number
    Indicate to set desired pod number in current node. Valid when the cluster enable customized pod cidr.
    dockerGraphPath string
    Docker graph path. Default is /var/lib/docker.
    extraArgs string[]
    Custom parameter information related to the node.
    gpuArgs KubernetesScaleWorkerGpuArgs
    GPU driver parameters.
    kubernetesScaleWorkerId string
    ID of the resource.
    labels {[key: string]: string}
    Labels of kubernetes scale worker created nodes.
    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 KubernetesScaleWorkerTaint[]
    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 user script, this script will be executed after the k8s component is run. The user needs to ensure that the script is reentrant and retry logic. The script and its generated log files can be viewed in the /data/ccs_userscript/ path of the node, if required. The node needs to be initialized before it can be added to the schedule. It can be used with the unschedulable parameter. After the final initialization of userScript is completed, add the kubectl uncordon nodename --kubeconfig=/root/.kube/config command to add the node to the schedule.
    cluster_id str
    ID of the cluster.
    worker_config KubernetesScaleWorkerWorkerConfigArgs
    Deploy the machine configuration information of the 'WORK' service, and create <=20 units for common users.
    create_result_output_file str
    Used to save results of CVMs creation error messages.
    data_disks Sequence[KubernetesScaleWorkerDataDiskArgs]
    Configurations of tke data disk.
    desired_pod_num float
    Indicate to set desired pod number in current node. Valid when the cluster enable customized pod cidr.
    docker_graph_path str
    Docker graph path. Default is /var/lib/docker.
    extra_args Sequence[str]
    Custom parameter information related to the node.
    gpu_args KubernetesScaleWorkerGpuArgsArgs
    GPU driver parameters.
    kubernetes_scale_worker_id str
    ID of the resource.
    labels Mapping[str, str]
    Labels of kubernetes scale worker created nodes.
    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[KubernetesScaleWorkerTaintArgs]
    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 user script, this script will be executed after the k8s component is run. The user needs to ensure that the script is reentrant and retry logic. The script and its generated log files can be viewed in the /data/ccs_userscript/ path of the node, if required. The node needs to be initialized before it can be added to the schedule. It can be used with the unschedulable parameter. After the final initialization of userScript is completed, add the kubectl uncordon nodename --kubeconfig=/root/.kube/config command to add the node to the schedule.
    clusterId String
    ID of the cluster.
    workerConfig Property Map
    Deploy the machine configuration information of the 'WORK' service, and create <=20 units for common users.
    createResultOutputFile String
    Used to save results of CVMs creation error messages.
    dataDisks List<Property Map>
    Configurations of tke data disk.
    desiredPodNum Number
    Indicate to set desired pod number in current node. Valid when the cluster enable customized pod cidr.
    dockerGraphPath String
    Docker graph path. Default is /var/lib/docker.
    extraArgs List<String>
    Custom parameter information related to the node.
    gpuArgs Property Map
    GPU driver parameters.
    kubernetesScaleWorkerId String
    ID of the resource.
    labels Map<String>
    Labels of kubernetes scale worker created nodes.
    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.
    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 user script, this script will be executed after the k8s component is run. The user needs to ensure that the script is reentrant and retry logic. The script and its generated log files can be viewed in the /data/ccs_userscript/ path of the node, if required. The node needs to be initialized before it can be added to the schedule. It can be used with the unschedulable parameter. After the final initialization of userScript is completed, add the kubectl uncordon nodename --kubeconfig=/root/.kube/config command to add the node to the schedule.

    Outputs

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

    Id string
    The provider-assigned unique ID for this managed resource.
    WorkerInstancesLists List<KubernetesScaleWorkerWorkerInstancesList>
    An information list of kubernetes cluster 'WORKER'. Each element contains the following attributes:
    Id string
    The provider-assigned unique ID for this managed resource.
    WorkerInstancesLists []KubernetesScaleWorkerWorkerInstancesList
    An information list of kubernetes cluster 'WORKER'. Each element contains the following attributes:
    id String
    The provider-assigned unique ID for this managed resource.
    workerInstancesLists List<KubernetesScaleWorkerWorkerInstancesList>
    An information list of kubernetes cluster 'WORKER'. Each element contains the following attributes:
    id string
    The provider-assigned unique ID for this managed resource.
    workerInstancesLists KubernetesScaleWorkerWorkerInstancesList[]
    An information list of kubernetes cluster 'WORKER'. Each element contains the following attributes:
    id str
    The provider-assigned unique ID for this managed resource.
    worker_instances_lists Sequence[KubernetesScaleWorkerWorkerInstancesList]
    An information list of kubernetes cluster 'WORKER'. Each element contains the following attributes:
    id String
    The provider-assigned unique ID for this managed resource.
    workerInstancesLists List<Property Map>
    An information list of kubernetes cluster 'WORKER'. Each element contains the following attributes:

    Look up Existing KubernetesScaleWorker Resource

    Get an existing KubernetesScaleWorker 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?: KubernetesScaleWorkerState, opts?: CustomResourceOptions): KubernetesScaleWorker
    @staticmethod
    def get(resource_name: str,
            id: str,
            opts: Optional[ResourceOptions] = None,
            cluster_id: Optional[str] = None,
            create_result_output_file: Optional[str] = None,
            data_disks: Optional[Sequence[KubernetesScaleWorkerDataDiskArgs]] = None,
            desired_pod_num: Optional[float] = None,
            docker_graph_path: Optional[str] = None,
            extra_args: Optional[Sequence[str]] = None,
            gpu_args: Optional[KubernetesScaleWorkerGpuArgsArgs] = None,
            kubernetes_scale_worker_id: Optional[str] = None,
            labels: Optional[Mapping[str, str]] = None,
            mount_target: Optional[str] = None,
            pre_start_user_script: Optional[str] = None,
            taints: Optional[Sequence[KubernetesScaleWorkerTaintArgs]] = None,
            unschedulable: Optional[float] = None,
            user_script: Optional[str] = None,
            worker_config: Optional[KubernetesScaleWorkerWorkerConfigArgs] = None,
            worker_instances_lists: Optional[Sequence[KubernetesScaleWorkerWorkerInstancesListArgs]] = None) -> KubernetesScaleWorker
    func GetKubernetesScaleWorker(ctx *Context, name string, id IDInput, state *KubernetesScaleWorkerState, opts ...ResourceOption) (*KubernetesScaleWorker, error)
    public static KubernetesScaleWorker Get(string name, Input<string> id, KubernetesScaleWorkerState? state, CustomResourceOptions? opts = null)
    public static KubernetesScaleWorker get(String name, Output<String> id, KubernetesScaleWorkerState state, CustomResourceOptions options)
    resources:  _:    type: tencentcloud:KubernetesScaleWorker    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.
    CreateResultOutputFile string
    Used to save results of CVMs creation error messages.
    DataDisks List<KubernetesScaleWorkerDataDisk>
    Configurations of tke data disk.
    DesiredPodNum double
    Indicate to set desired pod number in current node. Valid when the cluster enable customized pod cidr.
    DockerGraphPath string
    Docker graph path. Default is /var/lib/docker.
    ExtraArgs List<string>
    Custom parameter information related to the node.
    GpuArgs KubernetesScaleWorkerGpuArgs
    GPU driver parameters.
    KubernetesScaleWorkerId string
    ID of the resource.
    Labels Dictionary<string, string>
    Labels of kubernetes scale worker created nodes.
    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<KubernetesScaleWorkerTaint>
    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 user script, this script will be executed after the k8s component is run. The user needs to ensure that the script is reentrant and retry logic. The script and its generated log files can be viewed in the /data/ccs_userscript/ path of the node, if required. The node needs to be initialized before it can be added to the schedule. It can be used with the unschedulable parameter. After the final initialization of userScript is completed, add the kubectl uncordon nodename --kubeconfig=/root/.kube/config command to add the node to the schedule.
    WorkerConfig KubernetesScaleWorkerWorkerConfig
    Deploy the machine configuration information of the 'WORK' service, and create <=20 units for common users.
    WorkerInstancesLists List<KubernetesScaleWorkerWorkerInstancesList>
    An information list of kubernetes cluster 'WORKER'. Each element contains the following attributes:
    ClusterId string
    ID of the cluster.
    CreateResultOutputFile string
    Used to save results of CVMs creation error messages.
    DataDisks []KubernetesScaleWorkerDataDiskArgs
    Configurations of tke data disk.
    DesiredPodNum float64
    Indicate to set desired pod number in current node. Valid when the cluster enable customized pod cidr.
    DockerGraphPath string
    Docker graph path. Default is /var/lib/docker.
    ExtraArgs []string
    Custom parameter information related to the node.
    GpuArgs KubernetesScaleWorkerGpuArgsArgs
    GPU driver parameters.
    KubernetesScaleWorkerId string
    ID of the resource.
    Labels map[string]string
    Labels of kubernetes scale worker created nodes.
    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 []KubernetesScaleWorkerTaintArgs
    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 user script, this script will be executed after the k8s component is run. The user needs to ensure that the script is reentrant and retry logic. The script and its generated log files can be viewed in the /data/ccs_userscript/ path of the node, if required. The node needs to be initialized before it can be added to the schedule. It can be used with the unschedulable parameter. After the final initialization of userScript is completed, add the kubectl uncordon nodename --kubeconfig=/root/.kube/config command to add the node to the schedule.
    WorkerConfig KubernetesScaleWorkerWorkerConfigArgs
    Deploy the machine configuration information of the 'WORK' service, and create <=20 units for common users.
    WorkerInstancesLists []KubernetesScaleWorkerWorkerInstancesListArgs
    An information list of kubernetes cluster 'WORKER'. Each element contains the following attributes:
    clusterId String
    ID of the cluster.
    createResultOutputFile String
    Used to save results of CVMs creation error messages.
    dataDisks List<KubernetesScaleWorkerDataDisk>
    Configurations of tke data disk.
    desiredPodNum Double
    Indicate to set desired pod number in current node. Valid when the cluster enable customized pod cidr.
    dockerGraphPath String
    Docker graph path. Default is /var/lib/docker.
    extraArgs List<String>
    Custom parameter information related to the node.
    gpuArgs KubernetesScaleWorkerGpuArgs
    GPU driver parameters.
    kubernetesScaleWorkerId String
    ID of the resource.
    labels Map<String,String>
    Labels of kubernetes scale worker created nodes.
    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<KubernetesScaleWorkerTaint>
    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 user script, this script will be executed after the k8s component is run. The user needs to ensure that the script is reentrant and retry logic. The script and its generated log files can be viewed in the /data/ccs_userscript/ path of the node, if required. The node needs to be initialized before it can be added to the schedule. It can be used with the unschedulable parameter. After the final initialization of userScript is completed, add the kubectl uncordon nodename --kubeconfig=/root/.kube/config command to add the node to the schedule.
    workerConfig KubernetesScaleWorkerWorkerConfig
    Deploy the machine configuration information of the 'WORK' service, and create <=20 units for common users.
    workerInstancesLists List<KubernetesScaleWorkerWorkerInstancesList>
    An information list of kubernetes cluster 'WORKER'. Each element contains the following attributes:
    clusterId string
    ID of the cluster.
    createResultOutputFile string
    Used to save results of CVMs creation error messages.
    dataDisks KubernetesScaleWorkerDataDisk[]
    Configurations of tke data disk.
    desiredPodNum number
    Indicate to set desired pod number in current node. Valid when the cluster enable customized pod cidr.
    dockerGraphPath string
    Docker graph path. Default is /var/lib/docker.
    extraArgs string[]
    Custom parameter information related to the node.
    gpuArgs KubernetesScaleWorkerGpuArgs
    GPU driver parameters.
    kubernetesScaleWorkerId string
    ID of the resource.
    labels {[key: string]: string}
    Labels of kubernetes scale worker created nodes.
    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 KubernetesScaleWorkerTaint[]
    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 user script, this script will be executed after the k8s component is run. The user needs to ensure that the script is reentrant and retry logic. The script and its generated log files can be viewed in the /data/ccs_userscript/ path of the node, if required. The node needs to be initialized before it can be added to the schedule. It can be used with the unschedulable parameter. After the final initialization of userScript is completed, add the kubectl uncordon nodename --kubeconfig=/root/.kube/config command to add the node to the schedule.
    workerConfig KubernetesScaleWorkerWorkerConfig
    Deploy the machine configuration information of the 'WORK' service, and create <=20 units for common users.
    workerInstancesLists KubernetesScaleWorkerWorkerInstancesList[]
    An information list of kubernetes cluster 'WORKER'. Each element contains the following attributes:
    cluster_id str
    ID of the cluster.
    create_result_output_file str
    Used to save results of CVMs creation error messages.
    data_disks Sequence[KubernetesScaleWorkerDataDiskArgs]
    Configurations of tke data disk.
    desired_pod_num float
    Indicate to set desired pod number in current node. Valid when the cluster enable customized pod cidr.
    docker_graph_path str
    Docker graph path. Default is /var/lib/docker.
    extra_args Sequence[str]
    Custom parameter information related to the node.
    gpu_args KubernetesScaleWorkerGpuArgsArgs
    GPU driver parameters.
    kubernetes_scale_worker_id str
    ID of the resource.
    labels Mapping[str, str]
    Labels of kubernetes scale worker created nodes.
    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[KubernetesScaleWorkerTaintArgs]
    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 user script, this script will be executed after the k8s component is run. The user needs to ensure that the script is reentrant and retry logic. The script and its generated log files can be viewed in the /data/ccs_userscript/ path of the node, if required. The node needs to be initialized before it can be added to the schedule. It can be used with the unschedulable parameter. After the final initialization of userScript is completed, add the kubectl uncordon nodename --kubeconfig=/root/.kube/config command to add the node to the schedule.
    worker_config KubernetesScaleWorkerWorkerConfigArgs
    Deploy the machine configuration information of the 'WORK' service, and create <=20 units for common users.
    worker_instances_lists Sequence[KubernetesScaleWorkerWorkerInstancesListArgs]
    An information list of kubernetes cluster 'WORKER'. Each element contains the following attributes:
    clusterId String
    ID of the cluster.
    createResultOutputFile String
    Used to save results of CVMs creation error messages.
    dataDisks List<Property Map>
    Configurations of tke data disk.
    desiredPodNum Number
    Indicate to set desired pod number in current node. Valid when the cluster enable customized pod cidr.
    dockerGraphPath String
    Docker graph path. Default is /var/lib/docker.
    extraArgs List<String>
    Custom parameter information related to the node.
    gpuArgs Property Map
    GPU driver parameters.
    kubernetesScaleWorkerId String
    ID of the resource.
    labels Map<String>
    Labels of kubernetes scale worker created nodes.
    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.
    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 user script, this script will be executed after the k8s component is run. The user needs to ensure that the script is reentrant and retry logic. The script and its generated log files can be viewed in the /data/ccs_userscript/ path of the node, if required. The node needs to be initialized before it can be added to the schedule. It can be used with the unschedulable parameter. After the final initialization of userScript is completed, add the kubectl uncordon nodename --kubeconfig=/root/.kube/config command to add the node to the schedule.
    workerConfig Property Map
    Deploy the machine configuration information of the 'WORK' service, and create <=20 units for common users.
    workerInstancesLists List<Property Map>
    An information list of kubernetes cluster 'WORKER'. Each element contains the following attributes:

    Supporting Types

    KubernetesScaleWorkerDataDisk, KubernetesScaleWorkerDataDiskArgs

    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.
    DiskSize double
    Volume of disk in GB. Default is 0.
    DiskType string
    Types of disk, available values: CLOUD_PREMIUM and CLOUD_SSD and CLOUD_HSSD and CLOUD_TSSD.
    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.
    DiskSize float64
    Volume of disk in GB. Default is 0.
    DiskType string
    Types of disk, available values: CLOUD_PREMIUM and CLOUD_SSD and CLOUD_HSSD and CLOUD_TSSD.
    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.
    diskSize Double
    Volume of disk in GB. Default is 0.
    diskType String
    Types of disk, available values: CLOUD_PREMIUM and CLOUD_SSD and CLOUD_HSSD and CLOUD_TSSD.
    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.
    diskSize number
    Volume of disk in GB. Default is 0.
    diskType string
    Types of disk, available values: CLOUD_PREMIUM and CLOUD_SSD and CLOUD_HSSD and CLOUD_TSSD.
    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.
    disk_size float
    Volume of disk in GB. Default is 0.
    disk_type str
    Types of disk, available values: CLOUD_PREMIUM and CLOUD_SSD and CLOUD_HSSD and CLOUD_TSSD.
    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.
    diskSize Number
    Volume of disk in GB. Default is 0.
    diskType String
    Types of disk, available values: CLOUD_PREMIUM and CLOUD_SSD and CLOUD_HSSD and CLOUD_TSSD.
    fileSystem String
    File system, e.g. ext3/ext4/xfs.
    mountTarget String
    Mount target.

    KubernetesScaleWorkerGpuArgs, KubernetesScaleWorkerGpuArgsArgs

    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.

    KubernetesScaleWorkerTaint, KubernetesScaleWorkerTaintArgs

    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.

    KubernetesScaleWorkerWorkerConfig, KubernetesScaleWorkerWorkerConfigArgs

    InstanceType string
    Specified types of CVM instance.
    SubnetId string
    Private network ID.
    AvailabilityZone string
    Indicates which availability zone will be used.
    BandwidthPackageId string
    bandwidth package id. if user is standard user, then the bandwidth_package_id is needed, or default has bandwidth_package_id.
    CamRoleName string
    CAM role name authorized to access.
    Count double
    Number of cvm.
    DataDisks List<KubernetesScaleWorkerWorkerConfigDataDisk>
    Configurations of cvm data disk.
    DesiredPodNum double
    Indicate to set desired pod number in node. valid when enable_customized_pod_cidr=true, and it override [globe_]desired_pod_num for current node. Either all the fields desired_pod_num or none.
    DisasterRecoverGroupIds List<string>
    Disaster recover groups to which a CVM instance belongs. Only support maximum 1.
    EnhancedMonitorService bool
    To specify whether to enable cloud monitor service. Default is TRUE.
    EnhancedSecurityService bool
    To specify whether to enable cloud security service. Default is TRUE.
    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 (-).
    HpcClusterId string
    Id of cvm hpc cluster.
    ImgId string
    The valid image id, format of img-xxx.
    InstanceChargeType string
    The charge type of instance. Valid values are PREPAID and POSTPAID_BY_HOUR. The default is POSTPAID_BY_HOUR. Note: TencentCloud International only supports POSTPAID_BY_HOUR, PREPAID instance will not terminated after cluster deleted, and may not allow to delete before expired.
    InstanceChargeTypePrepaidPeriod double
    The tenancy (time unit is month) of the prepaid instance. NOTE: it only works when instance_charge_type is set to PREPAID. Valid values are 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 24, 36.
    InstanceChargeTypePrepaidRenewFlag string
    Auto renewal flag. Valid values: NOTIFY_AND_AUTO_RENEW: notify upon expiration and renew automatically, NOTIFY_AND_MANUAL_RENEW: notify upon expiration but do not renew automatically, DISABLE_NOTIFY_AND_MANUAL_RENEW: neither notify upon expiration nor renew automatically. Default value: NOTIFY_AND_MANUAL_RENEW. If this parameter is specified as NOTIFY_AND_AUTO_RENEW, the instance will be automatically renewed on a monthly basis if the account balance is sufficient. NOTE: it only works when instance_charge_type is set to PREPAID.
    InstanceName string
    Name of the CVMs.
    InternetChargeType string
    Charge types for network traffic. Available values include TRAFFIC_POSTPAID_BY_HOUR.
    InternetMaxBandwidthOut double
    Max bandwidth of Internet access in Mbps. Default is 0.
    KeyIds List<string>
    ID list of keys, should be set if password not set.
    Password string
    Password to access, should be set if key_ids not set.
    PublicIpAssigned bool
    Specify whether to assign an Internet IP address.
    SecurityGroupIds List<string>
    Security groups to which a CVM instance belongs.
    SystemDiskSize double
    Volume of system disk in GB. Default is 50.
    SystemDiskType string
    System disk type. For more information on limits of system disk types, see Storage Overview. Valid values: LOCAL_BASIC: local disk, LOCAL_SSD: local SSD disk, CLOUD_SSD: SSD, CLOUD_PREMIUM: Premium Cloud Storage. NOTE: CLOUD_BASIC, LOCAL_BASIC and LOCAL_SSD are deprecated.
    Tags List<KubernetesScaleWorkerWorkerConfigTag>
    Tag pairs.
    UserData string
    User data provided to instances, needs to be encoded in base64, and the maximum supported data size is 16KB.
    InstanceType string
    Specified types of CVM instance.
    SubnetId string
    Private network ID.
    AvailabilityZone string
    Indicates which availability zone will be used.
    BandwidthPackageId string
    bandwidth package id. if user is standard user, then the bandwidth_package_id is needed, or default has bandwidth_package_id.
    CamRoleName string
    CAM role name authorized to access.
    Count float64
    Number of cvm.
    DataDisks []KubernetesScaleWorkerWorkerConfigDataDisk
    Configurations of cvm data disk.
    DesiredPodNum float64
    Indicate to set desired pod number in node. valid when enable_customized_pod_cidr=true, and it override [globe_]desired_pod_num for current node. Either all the fields desired_pod_num or none.
    DisasterRecoverGroupIds []string
    Disaster recover groups to which a CVM instance belongs. Only support maximum 1.
    EnhancedMonitorService bool
    To specify whether to enable cloud monitor service. Default is TRUE.
    EnhancedSecurityService bool
    To specify whether to enable cloud security service. Default is TRUE.
    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 (-).
    HpcClusterId string
    Id of cvm hpc cluster.
    ImgId string
    The valid image id, format of img-xxx.
    InstanceChargeType string
    The charge type of instance. Valid values are PREPAID and POSTPAID_BY_HOUR. The default is POSTPAID_BY_HOUR. Note: TencentCloud International only supports POSTPAID_BY_HOUR, PREPAID instance will not terminated after cluster deleted, and may not allow to delete before expired.
    InstanceChargeTypePrepaidPeriod float64
    The tenancy (time unit is month) of the prepaid instance. NOTE: it only works when instance_charge_type is set to PREPAID. Valid values are 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 24, 36.
    InstanceChargeTypePrepaidRenewFlag string
    Auto renewal flag. Valid values: NOTIFY_AND_AUTO_RENEW: notify upon expiration and renew automatically, NOTIFY_AND_MANUAL_RENEW: notify upon expiration but do not renew automatically, DISABLE_NOTIFY_AND_MANUAL_RENEW: neither notify upon expiration nor renew automatically. Default value: NOTIFY_AND_MANUAL_RENEW. If this parameter is specified as NOTIFY_AND_AUTO_RENEW, the instance will be automatically renewed on a monthly basis if the account balance is sufficient. NOTE: it only works when instance_charge_type is set to PREPAID.
    InstanceName string
    Name of the CVMs.
    InternetChargeType string
    Charge types for network traffic. Available values include TRAFFIC_POSTPAID_BY_HOUR.
    InternetMaxBandwidthOut float64
    Max bandwidth of Internet access in Mbps. Default is 0.
    KeyIds []string
    ID list of keys, should be set if password not set.
    Password string
    Password to access, should be set if key_ids not set.
    PublicIpAssigned bool
    Specify whether to assign an Internet IP address.
    SecurityGroupIds []string
    Security groups to which a CVM instance belongs.
    SystemDiskSize float64
    Volume of system disk in GB. Default is 50.
    SystemDiskType string
    System disk type. For more information on limits of system disk types, see Storage Overview. Valid values: LOCAL_BASIC: local disk, LOCAL_SSD: local SSD disk, CLOUD_SSD: SSD, CLOUD_PREMIUM: Premium Cloud Storage. NOTE: CLOUD_BASIC, LOCAL_BASIC and LOCAL_SSD are deprecated.
    Tags []KubernetesScaleWorkerWorkerConfigTag
    Tag pairs.
    UserData string
    User data provided to instances, needs to be encoded in base64, and the maximum supported data size is 16KB.
    instanceType String
    Specified types of CVM instance.
    subnetId String
    Private network ID.
    availabilityZone String
    Indicates which availability zone will be used.
    bandwidthPackageId String
    bandwidth package id. if user is standard user, then the bandwidth_package_id is needed, or default has bandwidth_package_id.
    camRoleName String
    CAM role name authorized to access.
    count Double
    Number of cvm.
    dataDisks List<KubernetesScaleWorkerWorkerConfigDataDisk>
    Configurations of cvm data disk.
    desiredPodNum Double
    Indicate to set desired pod number in node. valid when enable_customized_pod_cidr=true, and it override [globe_]desired_pod_num for current node. Either all the fields desired_pod_num or none.
    disasterRecoverGroupIds List<String>
    Disaster recover groups to which a CVM instance belongs. Only support maximum 1.
    enhancedMonitorService Boolean
    To specify whether to enable cloud monitor service. Default is TRUE.
    enhancedSecurityService Boolean
    To specify whether to enable cloud security service. Default is TRUE.
    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 (-).
    hpcClusterId String
    Id of cvm hpc cluster.
    imgId String
    The valid image id, format of img-xxx.
    instanceChargeType String
    The charge type of instance. Valid values are PREPAID and POSTPAID_BY_HOUR. The default is POSTPAID_BY_HOUR. Note: TencentCloud International only supports POSTPAID_BY_HOUR, PREPAID instance will not terminated after cluster deleted, and may not allow to delete before expired.
    instanceChargeTypePrepaidPeriod Double
    The tenancy (time unit is month) of the prepaid instance. NOTE: it only works when instance_charge_type is set to PREPAID. Valid values are 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 24, 36.
    instanceChargeTypePrepaidRenewFlag String
    Auto renewal flag. Valid values: NOTIFY_AND_AUTO_RENEW: notify upon expiration and renew automatically, NOTIFY_AND_MANUAL_RENEW: notify upon expiration but do not renew automatically, DISABLE_NOTIFY_AND_MANUAL_RENEW: neither notify upon expiration nor renew automatically. Default value: NOTIFY_AND_MANUAL_RENEW. If this parameter is specified as NOTIFY_AND_AUTO_RENEW, the instance will be automatically renewed on a monthly basis if the account balance is sufficient. NOTE: it only works when instance_charge_type is set to PREPAID.
    instanceName String
    Name of the CVMs.
    internetChargeType String
    Charge types for network traffic. Available values include TRAFFIC_POSTPAID_BY_HOUR.
    internetMaxBandwidthOut Double
    Max bandwidth of Internet access in Mbps. Default is 0.
    keyIds List<String>
    ID list of keys, should be set if password not set.
    password String
    Password to access, should be set if key_ids not set.
    publicIpAssigned Boolean
    Specify whether to assign an Internet IP address.
    securityGroupIds List<String>
    Security groups to which a CVM instance belongs.
    systemDiskSize Double
    Volume of system disk in GB. Default is 50.
    systemDiskType String
    System disk type. For more information on limits of system disk types, see Storage Overview. Valid values: LOCAL_BASIC: local disk, LOCAL_SSD: local SSD disk, CLOUD_SSD: SSD, CLOUD_PREMIUM: Premium Cloud Storage. NOTE: CLOUD_BASIC, LOCAL_BASIC and LOCAL_SSD are deprecated.
    tags List<KubernetesScaleWorkerWorkerConfigTag>
    Tag pairs.
    userData String
    User data provided to instances, needs to be encoded in base64, and the maximum supported data size is 16KB.
    instanceType string
    Specified types of CVM instance.
    subnetId string
    Private network ID.
    availabilityZone string
    Indicates which availability zone will be used.
    bandwidthPackageId string
    bandwidth package id. if user is standard user, then the bandwidth_package_id is needed, or default has bandwidth_package_id.
    camRoleName string
    CAM role name authorized to access.
    count number
    Number of cvm.
    dataDisks KubernetesScaleWorkerWorkerConfigDataDisk[]
    Configurations of cvm data disk.
    desiredPodNum number
    Indicate to set desired pod number in node. valid when enable_customized_pod_cidr=true, and it override [globe_]desired_pod_num for current node. Either all the fields desired_pod_num or none.
    disasterRecoverGroupIds string[]
    Disaster recover groups to which a CVM instance belongs. Only support maximum 1.
    enhancedMonitorService boolean
    To specify whether to enable cloud monitor service. Default is TRUE.
    enhancedSecurityService boolean
    To specify whether to enable cloud security service. Default is TRUE.
    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 (-).
    hpcClusterId string
    Id of cvm hpc cluster.
    imgId string
    The valid image id, format of img-xxx.
    instanceChargeType string
    The charge type of instance. Valid values are PREPAID and POSTPAID_BY_HOUR. The default is POSTPAID_BY_HOUR. Note: TencentCloud International only supports POSTPAID_BY_HOUR, PREPAID instance will not terminated after cluster deleted, and may not allow to delete before expired.
    instanceChargeTypePrepaidPeriod number
    The tenancy (time unit is month) of the prepaid instance. NOTE: it only works when instance_charge_type is set to PREPAID. Valid values are 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 24, 36.
    instanceChargeTypePrepaidRenewFlag string
    Auto renewal flag. Valid values: NOTIFY_AND_AUTO_RENEW: notify upon expiration and renew automatically, NOTIFY_AND_MANUAL_RENEW: notify upon expiration but do not renew automatically, DISABLE_NOTIFY_AND_MANUAL_RENEW: neither notify upon expiration nor renew automatically. Default value: NOTIFY_AND_MANUAL_RENEW. If this parameter is specified as NOTIFY_AND_AUTO_RENEW, the instance will be automatically renewed on a monthly basis if the account balance is sufficient. NOTE: it only works when instance_charge_type is set to PREPAID.
    instanceName string
    Name of the CVMs.
    internetChargeType string
    Charge types for network traffic. Available values include TRAFFIC_POSTPAID_BY_HOUR.
    internetMaxBandwidthOut number
    Max bandwidth of Internet access in Mbps. Default is 0.
    keyIds string[]
    ID list of keys, should be set if password not set.
    password string
    Password to access, should be set if key_ids not set.
    publicIpAssigned boolean
    Specify whether to assign an Internet IP address.
    securityGroupIds string[]
    Security groups to which a CVM instance belongs.
    systemDiskSize number
    Volume of system disk in GB. Default is 50.
    systemDiskType string
    System disk type. For more information on limits of system disk types, see Storage Overview. Valid values: LOCAL_BASIC: local disk, LOCAL_SSD: local SSD disk, CLOUD_SSD: SSD, CLOUD_PREMIUM: Premium Cloud Storage. NOTE: CLOUD_BASIC, LOCAL_BASIC and LOCAL_SSD are deprecated.
    tags KubernetesScaleWorkerWorkerConfigTag[]
    Tag pairs.
    userData string
    User data provided to instances, needs to be encoded in base64, and the maximum supported data size is 16KB.
    instance_type str
    Specified types of CVM instance.
    subnet_id str
    Private network ID.
    availability_zone str
    Indicates which availability zone will be used.
    bandwidth_package_id str
    bandwidth package id. if user is standard user, then the bandwidth_package_id is needed, or default has bandwidth_package_id.
    cam_role_name str
    CAM role name authorized to access.
    count float
    Number of cvm.
    data_disks Sequence[KubernetesScaleWorkerWorkerConfigDataDisk]
    Configurations of cvm data disk.
    desired_pod_num float
    Indicate to set desired pod number in node. valid when enable_customized_pod_cidr=true, and it override [globe_]desired_pod_num for current node. Either all the fields desired_pod_num or none.
    disaster_recover_group_ids Sequence[str]
    Disaster recover groups to which a CVM instance belongs. Only support maximum 1.
    enhanced_monitor_service bool
    To specify whether to enable cloud monitor service. Default is TRUE.
    enhanced_security_service bool
    To specify whether to enable cloud security service. Default is TRUE.
    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 (-).
    hpc_cluster_id str
    Id of cvm hpc cluster.
    img_id str
    The valid image id, format of img-xxx.
    instance_charge_type str
    The charge type of instance. Valid values are PREPAID and POSTPAID_BY_HOUR. The default is POSTPAID_BY_HOUR. Note: TencentCloud International only supports POSTPAID_BY_HOUR, PREPAID instance will not terminated after cluster deleted, and may not allow to delete before expired.
    instance_charge_type_prepaid_period float
    The tenancy (time unit is month) of the prepaid instance. NOTE: it only works when instance_charge_type is set to PREPAID. Valid values are 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 24, 36.
    instance_charge_type_prepaid_renew_flag str
    Auto renewal flag. Valid values: NOTIFY_AND_AUTO_RENEW: notify upon expiration and renew automatically, NOTIFY_AND_MANUAL_RENEW: notify upon expiration but do not renew automatically, DISABLE_NOTIFY_AND_MANUAL_RENEW: neither notify upon expiration nor renew automatically. Default value: NOTIFY_AND_MANUAL_RENEW. If this parameter is specified as NOTIFY_AND_AUTO_RENEW, the instance will be automatically renewed on a monthly basis if the account balance is sufficient. NOTE: it only works when instance_charge_type is set to PREPAID.
    instance_name str
    Name of the CVMs.
    internet_charge_type str
    Charge types for network traffic. Available values include TRAFFIC_POSTPAID_BY_HOUR.
    internet_max_bandwidth_out float
    Max bandwidth of Internet access in Mbps. Default is 0.
    key_ids Sequence[str]
    ID list of keys, should be set if password not set.
    password str
    Password to access, should be set if key_ids not set.
    public_ip_assigned bool
    Specify whether to assign an Internet IP address.
    security_group_ids Sequence[str]
    Security groups to which a CVM instance belongs.
    system_disk_size float
    Volume of system disk in GB. Default is 50.
    system_disk_type str
    System disk type. For more information on limits of system disk types, see Storage Overview. Valid values: LOCAL_BASIC: local disk, LOCAL_SSD: local SSD disk, CLOUD_SSD: SSD, CLOUD_PREMIUM: Premium Cloud Storage. NOTE: CLOUD_BASIC, LOCAL_BASIC and LOCAL_SSD are deprecated.
    tags Sequence[KubernetesScaleWorkerWorkerConfigTag]
    Tag pairs.
    user_data str
    User data provided to instances, needs to be encoded in base64, and the maximum supported data size is 16KB.
    instanceType String
    Specified types of CVM instance.
    subnetId String
    Private network ID.
    availabilityZone String
    Indicates which availability zone will be used.
    bandwidthPackageId String
    bandwidth package id. if user is standard user, then the bandwidth_package_id is needed, or default has bandwidth_package_id.
    camRoleName String
    CAM role name authorized to access.
    count Number
    Number of cvm.
    dataDisks List<Property Map>
    Configurations of cvm data disk.
    desiredPodNum Number
    Indicate to set desired pod number in node. valid when enable_customized_pod_cidr=true, and it override [globe_]desired_pod_num for current node. Either all the fields desired_pod_num or none.
    disasterRecoverGroupIds List<String>
    Disaster recover groups to which a CVM instance belongs. Only support maximum 1.
    enhancedMonitorService Boolean
    To specify whether to enable cloud monitor service. Default is TRUE.
    enhancedSecurityService Boolean
    To specify whether to enable cloud security service. Default is TRUE.
    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 (-).
    hpcClusterId String
    Id of cvm hpc cluster.
    imgId String
    The valid image id, format of img-xxx.
    instanceChargeType String
    The charge type of instance. Valid values are PREPAID and POSTPAID_BY_HOUR. The default is POSTPAID_BY_HOUR. Note: TencentCloud International only supports POSTPAID_BY_HOUR, PREPAID instance will not terminated after cluster deleted, and may not allow to delete before expired.
    instanceChargeTypePrepaidPeriod Number
    The tenancy (time unit is month) of the prepaid instance. NOTE: it only works when instance_charge_type is set to PREPAID. Valid values are 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 24, 36.
    instanceChargeTypePrepaidRenewFlag String
    Auto renewal flag. Valid values: NOTIFY_AND_AUTO_RENEW: notify upon expiration and renew automatically, NOTIFY_AND_MANUAL_RENEW: notify upon expiration but do not renew automatically, DISABLE_NOTIFY_AND_MANUAL_RENEW: neither notify upon expiration nor renew automatically. Default value: NOTIFY_AND_MANUAL_RENEW. If this parameter is specified as NOTIFY_AND_AUTO_RENEW, the instance will be automatically renewed on a monthly basis if the account balance is sufficient. NOTE: it only works when instance_charge_type is set to PREPAID.
    instanceName String
    Name of the CVMs.
    internetChargeType String
    Charge types for network traffic. Available values include TRAFFIC_POSTPAID_BY_HOUR.
    internetMaxBandwidthOut Number
    Max bandwidth of Internet access in Mbps. Default is 0.
    keyIds List<String>
    ID list of keys, should be set if password not set.
    password String
    Password to access, should be set if key_ids not set.
    publicIpAssigned Boolean
    Specify whether to assign an Internet IP address.
    securityGroupIds List<String>
    Security groups to which a CVM instance belongs.
    systemDiskSize Number
    Volume of system disk in GB. Default is 50.
    systemDiskType String
    System disk type. For more information on limits of system disk types, see Storage Overview. Valid values: LOCAL_BASIC: local disk, LOCAL_SSD: local SSD disk, CLOUD_SSD: SSD, CLOUD_PREMIUM: Premium Cloud Storage. NOTE: CLOUD_BASIC, LOCAL_BASIC and LOCAL_SSD are deprecated.
    tags List<Property Map>
    Tag pairs.
    userData String
    User data provided to instances, needs to be encoded in base64, and the maximum supported data size is 16KB.

    KubernetesScaleWorkerWorkerConfigDataDisk, KubernetesScaleWorkerWorkerConfigDataDiskArgs

    AutoFormatAndMount bool
    Indicate whether to auto format and mount or not. Default is false.

    Deprecated: Deprecated

    DiskPartition string
    The name of the device or partition to mount.

    Deprecated: Deprecated

    DiskSize double
    Volume of disk in GB. Default is 0.
    DiskType string
    Types of disk, available values: CLOUD_PREMIUM and CLOUD_SSD and CLOUD_HSSD and CLOUD_TSSD.
    Encrypt bool
    Indicates whether to encrypt data disk, default false.
    FileSystem string
    File system, e.g. ext3/ext4/xfs.

    Deprecated: Deprecated

    KmsKeyId string
    ID of the custom CMK in the format of UUID or kms-abcd1234. This parameter is used to encrypt cloud disks.
    MountTarget string
    Mount target.

    Deprecated: Deprecated

    SnapshotId string
    Data disk snapshot ID.
    AutoFormatAndMount bool
    Indicate whether to auto format and mount or not. Default is false.

    Deprecated: Deprecated

    DiskPartition string
    The name of the device or partition to mount.

    Deprecated: Deprecated

    DiskSize float64
    Volume of disk in GB. Default is 0.
    DiskType string
    Types of disk, available values: CLOUD_PREMIUM and CLOUD_SSD and CLOUD_HSSD and CLOUD_TSSD.
    Encrypt bool
    Indicates whether to encrypt data disk, default false.
    FileSystem string
    File system, e.g. ext3/ext4/xfs.

    Deprecated: Deprecated

    KmsKeyId string
    ID of the custom CMK in the format of UUID or kms-abcd1234. This parameter is used to encrypt cloud disks.
    MountTarget string
    Mount target.

    Deprecated: Deprecated

    SnapshotId string
    Data disk snapshot ID.
    autoFormatAndMount Boolean
    Indicate whether to auto format and mount or not. Default is false.

    Deprecated: Deprecated

    diskPartition String
    The name of the device or partition to mount.

    Deprecated: Deprecated

    diskSize Double
    Volume of disk in GB. Default is 0.
    diskType String
    Types of disk, available values: CLOUD_PREMIUM and CLOUD_SSD and CLOUD_HSSD and CLOUD_TSSD.
    encrypt Boolean
    Indicates whether to encrypt data disk, default false.
    fileSystem String
    File system, e.g. ext3/ext4/xfs.

    Deprecated: Deprecated

    kmsKeyId String
    ID of the custom CMK in the format of UUID or kms-abcd1234. This parameter is used to encrypt cloud disks.
    mountTarget String
    Mount target.

    Deprecated: Deprecated

    snapshotId String
    Data disk snapshot ID.
    autoFormatAndMount boolean
    Indicate whether to auto format and mount or not. Default is false.

    Deprecated: Deprecated

    diskPartition string
    The name of the device or partition to mount.

    Deprecated: Deprecated

    diskSize number
    Volume of disk in GB. Default is 0.
    diskType string
    Types of disk, available values: CLOUD_PREMIUM and CLOUD_SSD and CLOUD_HSSD and CLOUD_TSSD.
    encrypt boolean
    Indicates whether to encrypt data disk, default false.
    fileSystem string
    File system, e.g. ext3/ext4/xfs.

    Deprecated: Deprecated

    kmsKeyId string
    ID of the custom CMK in the format of UUID or kms-abcd1234. This parameter is used to encrypt cloud disks.
    mountTarget string
    Mount target.

    Deprecated: Deprecated

    snapshotId string
    Data disk snapshot ID.
    auto_format_and_mount bool
    Indicate whether to auto format and mount or not. Default is false.

    Deprecated: Deprecated

    disk_partition str
    The name of the device or partition to mount.

    Deprecated: Deprecated

    disk_size float
    Volume of disk in GB. Default is 0.
    disk_type str
    Types of disk, available values: CLOUD_PREMIUM and CLOUD_SSD and CLOUD_HSSD and CLOUD_TSSD.
    encrypt bool
    Indicates whether to encrypt data disk, default false.
    file_system str
    File system, e.g. ext3/ext4/xfs.

    Deprecated: Deprecated

    kms_key_id str
    ID of the custom CMK in the format of UUID or kms-abcd1234. This parameter is used to encrypt cloud disks.
    mount_target str
    Mount target.

    Deprecated: Deprecated

    snapshot_id str
    Data disk snapshot ID.
    autoFormatAndMount Boolean
    Indicate whether to auto format and mount or not. Default is false.

    Deprecated: Deprecated

    diskPartition String
    The name of the device or partition to mount.

    Deprecated: Deprecated

    diskSize Number
    Volume of disk in GB. Default is 0.
    diskType String
    Types of disk, available values: CLOUD_PREMIUM and CLOUD_SSD and CLOUD_HSSD and CLOUD_TSSD.
    encrypt Boolean
    Indicates whether to encrypt data disk, default false.
    fileSystem String
    File system, e.g. ext3/ext4/xfs.

    Deprecated: Deprecated

    kmsKeyId String
    ID of the custom CMK in the format of UUID or kms-abcd1234. This parameter is used to encrypt cloud disks.
    mountTarget String
    Mount target.

    Deprecated: Deprecated

    snapshotId String
    Data disk snapshot ID.

    KubernetesScaleWorkerWorkerConfigTag, KubernetesScaleWorkerWorkerConfigTagArgs

    Key string
    Tag key.
    Value string
    Tag value.
    Key string
    Tag key.
    Value string
    Tag value.
    key String
    Tag key.
    value String
    Tag value.
    key string
    Tag key.
    value string
    Tag value.
    key str
    Tag key.
    value str
    Tag value.
    key String
    Tag key.
    value String
    Tag value.

    KubernetesScaleWorkerWorkerInstancesList, KubernetesScaleWorkerWorkerInstancesListArgs

    FailedReason string
    Information of the cvm when it is failed.
    InstanceId string
    ID of the cvm.
    InstanceRole string
    Role of the cvm.
    InstanceState string
    State of the cvm.
    LanIp string
    LAN IP of the cvm.
    FailedReason string
    Information of the cvm when it is failed.
    InstanceId string
    ID of the cvm.
    InstanceRole string
    Role of the cvm.
    InstanceState string
    State of the cvm.
    LanIp string
    LAN IP of the cvm.
    failedReason String
    Information of the cvm when it is failed.
    instanceId String
    ID of the cvm.
    instanceRole String
    Role of the cvm.
    instanceState String
    State of the cvm.
    lanIp String
    LAN IP of the cvm.
    failedReason string
    Information of the cvm when it is failed.
    instanceId string
    ID of the cvm.
    instanceRole string
    Role of the cvm.
    instanceState string
    State of the cvm.
    lanIp string
    LAN IP of the cvm.
    failed_reason str
    Information of the cvm when it is failed.
    instance_id str
    ID of the cvm.
    instance_role str
    Role of the cvm.
    instance_state str
    State of the cvm.
    lan_ip str
    LAN IP of the cvm.
    failedReason String
    Information of the cvm when it is failed.
    instanceId String
    ID of the cvm.
    instanceRole String
    Role of the cvm.
    instanceState String
    State of the cvm.
    lanIp String
    LAN IP of the cvm.

    Import

    tke scale worker can be imported, e.g.

    $ pulumi import tencentcloud:index/kubernetesScaleWorker:KubernetesScaleWorker example cls-mij6c2pq#ins-n6esjkdi
    

    To learn more about importing existing cloud resources, see Importing resources.

    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