1. Registry
  2. Packages
  3. Ucloud Provider
  4. API Docs
  5. Uk8sCluster
Viewing docs for ucloud 1.49.0
published on Tuesday, Oct 27, 2026 by ucloud
ucloud
Viewing docs for ucloud 1.49.0
published on Tuesday, Oct 27, 2026 by ucloud

    Provides an UK8S Cluster resource.

    Example Usage

    import * as pulumi from "@pulumi/pulumi";
    import * as ucloud from "@pulumi/ucloud";
    
    const foo = new ucloud.Vpc("foo", {
        name: "tf-acc-uk8s-cluster",
        tag: "tf-acc",
        cidrBlocks: ["192.168.0.0/16"],
    });
    const fooSubnet = new ucloud.Subnet("foo", {
        name: "tf-acc-uk8s-cluster",
        tag: "tf-acc",
        cidrBlock: "192.168.1.0/24",
        vpcId: foo.vpcId,
    });
    const _default = ucloud.getZones({});
    const fooUk8sCluster = new ucloud.Uk8sCluster("foo", {
        vpcId: foo.vpcId,
        subnetId: fooSubnet.subnetId,
        name: "tf-acc-uk8s-cluster-basic-update",
        serviceCidr: "172.16.0.0/16",
        password: "ucloud_2021",
        chargeType: "dynamic",
        master: {
            availabilityZones: [
                _default.then(_default => _default.zones?.[0]?.id),
                _default.then(_default => _default.zones?.[0]?.id),
                _default.then(_default => _default.zones?.[0]?.id),
            ],
            machineType: "N",
            cpu: 2,
            memory: 4096,
        },
    });
    
    import pulumi
    import pulumi_ucloud as ucloud
    
    foo = ucloud.Vpc("foo",
        name="tf-acc-uk8s-cluster",
        tag="tf-acc",
        cidr_blocks=["192.168.0.0/16"])
    foo_subnet = ucloud.Subnet("foo",
        name="tf-acc-uk8s-cluster",
        tag="tf-acc",
        cidr_block="192.168.1.0/24",
        vpc_id=foo.vpc_id)
    default = ucloud.get_zones()
    foo_uk8s_cluster = ucloud.Uk8sCluster("foo",
        vpc_id=foo.vpc_id,
        subnet_id=foo_subnet.subnet_id,
        name="tf-acc-uk8s-cluster-basic-update",
        service_cidr="172.16.0.0/16",
        password="ucloud_2021",
        charge_type="dynamic",
        master={
            "availability_zones": [
                default.zones[0].id,
                default.zones[0].id,
                default.zones[0].id,
            ],
            "machine_type": "N",
            "cpu": 2,
            "memory": 4096,
        })
    
    package main
    
    import (
    	"github.com/pulumi/pulumi-terraform-provider/sdks/go/ucloud/ucloud"
    	"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
    )
    
    func main() {
    	pulumi.Run(func(ctx *pulumi.Context) error {
    		foo, err := ucloud.NewVpc(ctx, "foo", &ucloud.VpcArgs{
    			Name: pulumi.String("tf-acc-uk8s-cluster"),
    			Tag:  pulumi.String("tf-acc"),
    			CidrBlocks: pulumi.StringArray{
    				pulumi.String("192.168.0.0/16"),
    			},
    		})
    		if err != nil {
    			return err
    		}
    		fooSubnet, err := ucloud.NewSubnet(ctx, "foo", &ucloud.SubnetArgs{
    			Name:      pulumi.String("tf-acc-uk8s-cluster"),
    			Tag:       pulumi.String("tf-acc"),
    			CidrBlock: pulumi.String("192.168.1.0/24"),
    			VpcId:     foo.VpcId,
    		})
    		if err != nil {
    			return err
    		}
    		_default, err := ucloud.GetZones(ctx, &ucloud.GetZonesArgs{}, nil)
    		if err != nil {
    			return err
    		}
    		_, err = ucloud.NewUk8sCluster(ctx, "foo", &ucloud.Uk8sClusterArgs{
    			VpcId:       foo.VpcId,
    			SubnetId:    fooSubnet.SubnetId,
    			Name:        pulumi.String("tf-acc-uk8s-cluster-basic-update"),
    			ServiceCidr: pulumi.String("172.16.0.0/16"),
    			Password:    pulumi.String("ucloud_2021"),
    			ChargeType:  pulumi.String("dynamic"),
    			Master: &ucloud.Uk8sClusterMasterArgs{
    				AvailabilityZones: pulumi.StringArray{
    					pulumi.String(_default.Zones[0].Id),
    					pulumi.String(_default.Zones[0].Id),
    					pulumi.String(_default.Zones[0].Id),
    				},
    				MachineType: pulumi.String("N"),
    				Cpu:         pulumi.Float64(2),
    				Memory:      pulumi.Float64(4096),
    			},
    		})
    		if err != nil {
    			return err
    		}
    		return nil
    	})
    }
    
    using System.Collections.Generic;
    using System.Linq;
    using Pulumi;
    using Ucloud = Pulumi.Ucloud;
    
    return await Deployment.RunAsync(() => 
    {
        var foo = new Ucloud.Vpc("foo", new()
        {
            Name = "tf-acc-uk8s-cluster",
            Tag = "tf-acc",
            CidrBlocks = new[]
            {
                "192.168.0.0/16",
            },
        });
    
        var fooSubnet = new Ucloud.Subnet("foo", new()
        {
            Name = "tf-acc-uk8s-cluster",
            Tag = "tf-acc",
            CidrBlock = "192.168.1.0/24",
            VpcId = foo.VpcId,
        });
    
        var @default = Ucloud.GetZones.Invoke();
    
        var fooUk8sCluster = new Ucloud.Uk8sCluster("foo", new()
        {
            VpcId = foo.VpcId,
            SubnetId = fooSubnet.SubnetId,
            Name = "tf-acc-uk8s-cluster-basic-update",
            ServiceCidr = "172.16.0.0/16",
            Password = "ucloud_2021",
            ChargeType = "dynamic",
            Master = new Ucloud.Inputs.Uk8sClusterMasterArgs
            {
                AvailabilityZones = new[]
                {
                    @default.Apply(@default => @default.Apply(getZonesResult => getZonesResult.Zones[0]?.Id)),
                    @default.Apply(@default => @default.Apply(getZonesResult => getZonesResult.Zones[0]?.Id)),
                    @default.Apply(@default => @default.Apply(getZonesResult => getZonesResult.Zones[0]?.Id)),
                },
                MachineType = "N",
                Cpu = 2,
                Memory = 4096,
            },
        });
    
    });
    
    package generated_program;
    
    import com.pulumi.Context;
    import com.pulumi.Pulumi;
    import com.pulumi.core.Output;
    import com.pulumi.ucloud.Vpc;
    import com.pulumi.ucloud.VpcArgs;
    import com.pulumi.ucloud.Subnet;
    import com.pulumi.ucloud.SubnetArgs;
    import com.pulumi.ucloud.UcloudFunctions;
    import com.pulumi.ucloud.inputs.GetZonesArgs;
    import com.pulumi.ucloud.Uk8sCluster;
    import com.pulumi.ucloud.Uk8sClusterArgs;
    import com.pulumi.ucloud.inputs.Uk8sClusterMasterArgs;
    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) {
            var foo = new Vpc("foo", VpcArgs.builder()
                .name("tf-acc-uk8s-cluster")
                .tag("tf-acc")
                .cidrBlocks("192.168.0.0/16")
                .build());
    
            var fooSubnet = new Subnet("fooSubnet", SubnetArgs.builder()
                .name("tf-acc-uk8s-cluster")
                .tag("tf-acc")
                .cidrBlock("192.168.1.0/24")
                .vpcId(foo.vpcId())
                .build());
    
            final var default = UcloudFunctions.getZones(GetZonesArgs.builder()
                .build());
    
            var fooUk8sCluster = new Uk8sCluster("fooUk8sCluster", Uk8sClusterArgs.builder()
                .vpcId(foo.vpcId())
                .subnetId(fooSubnet.subnetId())
                .name("tf-acc-uk8s-cluster-basic-update")
                .serviceCidr("172.16.0.0/16")
                .password("ucloud_2021")
                .chargeType("dynamic")
                .master(Uk8sClusterMasterArgs.builder()
                    .availabilityZones(                
                        default_.zones()[0].id(),
                        default_.zones()[0].id(),
                        default_.zones()[0].id())
                    .machineType("N")
                    .cpu(2.0)
                    .memory(4096.0)
                    .build())
                .build());
    
        }
    }
    
    resources:
      foo:
        type: ucloud:Vpc
        properties:
          name: tf-acc-uk8s-cluster
          tag: tf-acc
          cidrBlocks:
            - 192.168.0.0/16
      fooSubnet:
        type: ucloud:Subnet
        name: foo
        properties:
          name: tf-acc-uk8s-cluster
          tag: tf-acc
          cidrBlock: 192.168.1.0/24
          vpcId: ${foo.vpcId}
      fooUk8sCluster:
        type: ucloud:Uk8sCluster
        name: foo
        properties:
          vpcId: ${foo.vpcId}
          subnetId: ${fooSubnet.subnetId}
          name: tf-acc-uk8s-cluster-basic-update
          serviceCidr: 172.16.0.0/16
          password: ucloud_2021
          chargeType: dynamic
          master:
            availabilityZones:
              - ${default.zones[0].id}
              - ${default.zones[0].id}
              - ${default.zones[0].id}
            machineType: N
            cpu: 2
            memory: 4096
    variables:
      default:
        fn::invoke:
          function: ucloud:getZones
          arguments: {}
    
    Example coming soon!
    

    Create Uk8sCluster Resource

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

    Constructor syntax

    new Uk8sCluster(name: string, args: Uk8sClusterArgs, opts?: CustomResourceOptions);
    @overload
    def Uk8sCluster(resource_name: str,
                    args: Uk8sClusterArgs,
                    opts: Optional[ResourceOptions] = None)
    
    @overload
    def Uk8sCluster(resource_name: str,
                    opts: Optional[ResourceOptions] = None,
                    master: Optional[Uk8sClusterMasterArgs] = None,
                    vpc_id: Optional[str] = None,
                    subnet_id: Optional[str] = None,
                    service_cidr: Optional[str] = None,
                    password: Optional[str] = None,
                    lb_class: Optional[str] = None,
                    name: Optional[str] = None,
                    init_script: Optional[str] = None,
                    k8s_version: Optional[str] = None,
                    kms_plugin_key_id: Optional[str] = None,
                    kms_plugin_resources: Optional[Sequence[str]] = None,
                    kube_proxy: Optional[Uk8sClusterKubeProxyArgs] = None,
                    charge_type: Optional[str] = None,
                    forward_src_ip_method: Optional[str] = None,
                    image_id: Optional[str] = None,
                    enable_external_api_server: Optional[bool] = None,
                    duration: Optional[float] = None,
                    delete_disks_with_instance: Optional[bool] = None,
                    tag: Optional[str] = None,
                    timeouts: Optional[Uk8sClusterTimeoutsArgs] = None,
                    uk8s_cluster_id: Optional[str] = None,
                    user_data: Optional[str] = None,
                    user_labels: Optional[Mapping[str, str]] = None,
                    cluster_domain: Optional[str] = None,
                    workers: Optional[Sequence[Uk8sClusterWorkerArgs]] = None)
    func NewUk8sCluster(ctx *Context, name string, args Uk8sClusterArgs, opts ...ResourceOption) (*Uk8sCluster, error)
    public Uk8sCluster(string name, Uk8sClusterArgs args, CustomResourceOptions? opts = null)
    public Uk8sCluster(String name, Uk8sClusterArgs args)
    public Uk8sCluster(String name, Uk8sClusterArgs args, CustomResourceOptions options)
    
    type: ucloud:Uk8sCluster
    properties: # The arguments to resource properties.
    options: # Bag of options to control resource's behavior.
    
    
    resource "ucloud_uk8s_cluster" "name" {
        # resource properties
    }

    Parameters

    name string
    The unique name of the resource.
    args Uk8sClusterArgs
    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 Uk8sClusterArgs
    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 Uk8sClusterArgs
    The arguments to resource properties.
    opts ResourceOption
    Bag of options to control resource's behavior.
    name string
    The unique name of the resource.
    args Uk8sClusterArgs
    The arguments to resource properties.
    opts CustomResourceOptions
    Bag of options to control resource's behavior.
    name String
    The unique name of the resource.
    args Uk8sClusterArgs
    The arguments to resource properties.
    options CustomResourceOptions
    Bag of options to control resource's behavior.

    Constructor example

    The following reference example uses placeholder values for all input properties.

    var uk8sClusterResource = new Ucloud.Uk8sCluster("uk8sClusterResource", new()
    {
        Master = new Ucloud.Inputs.Uk8sClusterMasterArgs
        {
            AvailabilityZones = new[]
            {
                "string",
            },
            BootDiskSize = 0.0,
            BootDiskType = "string",
            Cpu = 0.0,
            DataDiskKmsKeyId = "string",
            DataDiskSize = 0.0,
            DataDiskType = "string",
            ImageId = "string",
            InstanceType = "string",
            MachineType = "string",
            Memory = 0.0,
            MinCpuPlatform = "string",
            SecurityGroups = new[]
            {
                new Ucloud.Inputs.Uk8sClusterMasterSecurityGroupArgs
                {
                    Id = "string",
                    MasterIndex = 0.0,
                    Name = "string",
                    Priority = 0.0,
                },
            },
            UhostFamily = "string",
        },
        VpcId = "string",
        SubnetId = "string",
        ServiceCidr = "string",
        Password = "string",
        LbClass = "string",
        Name = "string",
        InitScript = "string",
        K8sVersion = "string",
        KmsPluginKeyId = "string",
        KmsPluginResources = new[]
        {
            "string",
        },
        KubeProxy = new Ucloud.Inputs.Uk8sClusterKubeProxyArgs
        {
            Mode = "string",
        },
        ChargeType = "string",
        ForwardSrcIpMethod = "string",
        ImageId = "string",
        EnableExternalApiServer = false,
        Duration = 0.0,
        DeleteDisksWithInstance = false,
        Tag = "string",
        Timeouts = new Ucloud.Inputs.Uk8sClusterTimeoutsArgs
        {
            Create = "string",
            Delete = "string",
            Update = "string",
        },
        Uk8sClusterId = "string",
        UserData = "string",
        UserLabels = 
        {
            { "string", "string" },
        },
        ClusterDomain = "string",
        Workers = new[]
        {
            new Ucloud.Inputs.Uk8sClusterWorkerArgs
            {
                Cpu = 0.0,
                Memory = 0.0,
                MachineType = "string",
                AvailabilityZone = "string",
                KubeletConfiguration = 
                {
                    { "string", "string" },
                },
                MaxPods = 0.0,
                DataDiskSize = 0.0,
                DataDiskType = "string",
                Gpu = 0.0,
                GpuType = "string",
                ImageId = "string",
                IsolationGroup = "string",
                Count = 0.0,
                Labels = 
                {
                    { "string", "string" },
                },
                BootDiskType = "string",
                DataDiskKmsKeyId = "string",
                BootDiskSize = 0.0,
                MinCpuPlatform = "string",
                NamePrefix = "string",
                NetworkInterfaces = new[]
                {
                    new Ucloud.Inputs.Uk8sClusterWorkerNetworkInterfaceArgs
                    {
                        Eip = new Ucloud.Inputs.Uk8sClusterWorkerNetworkInterfaceEipArgs
                        {
                            OperatorName = "string",
                            Bandwidth = 0.0,
                            CouponId = "string",
                            PayMode = "string",
                            ShareBandwidthId = "string",
                        },
                    },
                },
                SecurityGroupId = "string",
                SecurityGroups = new[]
                {
                    new Ucloud.Inputs.Uk8sClusterWorkerSecurityGroupArgs
                    {
                        Id = "string",
                        Name = "string",
                        Priority = 0.0,
                    },
                },
                SecurityMode = "string",
                Taints = new[]
                {
                    new Ucloud.Inputs.Uk8sClusterWorkerTaintArgs
                    {
                        Effect = "string",
                        Key = "string",
                        Value = "string",
                    },
                },
                UhostFamily = "string",
                UniFeature = "string",
            },
        },
    });
    
    example, err := ucloud.NewUk8sCluster(ctx, "uk8sClusterResource", &ucloud.Uk8sClusterArgs{
    	Master: &ucloud.Uk8sClusterMasterArgs{
    		AvailabilityZones: pulumi.StringArray{
    			pulumi.String("string"),
    		},
    		BootDiskSize:     pulumi.Float64(0),
    		BootDiskType:     pulumi.String("string"),
    		Cpu:              pulumi.Float64(0),
    		DataDiskKmsKeyId: pulumi.String("string"),
    		DataDiskSize:     pulumi.Float64(0),
    		DataDiskType:     pulumi.String("string"),
    		ImageId:          pulumi.String("string"),
    		InstanceType:     pulumi.String("string"),
    		MachineType:      pulumi.String("string"),
    		Memory:           pulumi.Float64(0),
    		MinCpuPlatform:   pulumi.String("string"),
    		SecurityGroups: ucloud.Uk8sClusterMasterSecurityGroupArray{
    			&ucloud.Uk8sClusterMasterSecurityGroupArgs{
    				Id:          pulumi.String("string"),
    				MasterIndex: pulumi.Float64(0),
    				Name:        pulumi.String("string"),
    				Priority:    pulumi.Float64(0),
    			},
    		},
    		UhostFamily: pulumi.String("string"),
    	},
    	VpcId:          pulumi.String("string"),
    	SubnetId:       pulumi.String("string"),
    	ServiceCidr:    pulumi.String("string"),
    	Password:       pulumi.String("string"),
    	LbClass:        pulumi.String("string"),
    	Name:           pulumi.String("string"),
    	InitScript:     pulumi.String("string"),
    	K8sVersion:     pulumi.String("string"),
    	KmsPluginKeyId: pulumi.String("string"),
    	KmsPluginResources: pulumi.StringArray{
    		pulumi.String("string"),
    	},
    	KubeProxy: &ucloud.Uk8sClusterKubeProxyArgs{
    		Mode: pulumi.String("string"),
    	},
    	ChargeType:              pulumi.String("string"),
    	ForwardSrcIpMethod:      pulumi.String("string"),
    	ImageId:                 pulumi.String("string"),
    	EnableExternalApiServer: pulumi.Bool(false),
    	Duration:                pulumi.Float64(0),
    	DeleteDisksWithInstance: pulumi.Bool(false),
    	Tag:                     pulumi.String("string"),
    	Timeouts: &ucloud.Uk8sClusterTimeoutsArgs{
    		Create: pulumi.String("string"),
    		Delete: pulumi.String("string"),
    		Update: pulumi.String("string"),
    	},
    	Uk8sClusterId: pulumi.String("string"),
    	UserData:      pulumi.String("string"),
    	UserLabels: pulumi.StringMap{
    		"string": pulumi.String("string"),
    	},
    	ClusterDomain: pulumi.String("string"),
    	Workers: ucloud.Uk8sClusterWorkerArray{
    		&ucloud.Uk8sClusterWorkerArgs{
    			Cpu:              pulumi.Float64(0),
    			Memory:           pulumi.Float64(0),
    			MachineType:      pulumi.String("string"),
    			AvailabilityZone: pulumi.String("string"),
    			KubeletConfiguration: pulumi.StringMap{
    				"string": pulumi.String("string"),
    			},
    			MaxPods:        pulumi.Float64(0),
    			DataDiskSize:   pulumi.Float64(0),
    			DataDiskType:   pulumi.String("string"),
    			Gpu:            pulumi.Float64(0),
    			GpuType:        pulumi.String("string"),
    			ImageId:        pulumi.String("string"),
    			IsolationGroup: pulumi.String("string"),
    			Count:          pulumi.Float64(0),
    			Labels: pulumi.StringMap{
    				"string": pulumi.String("string"),
    			},
    			BootDiskType:     pulumi.String("string"),
    			DataDiskKmsKeyId: pulumi.String("string"),
    			BootDiskSize:     pulumi.Float64(0),
    			MinCpuPlatform:   pulumi.String("string"),
    			NamePrefix:       pulumi.String("string"),
    			NetworkInterfaces: ucloud.Uk8sClusterWorkerNetworkInterfaceArray{
    				&ucloud.Uk8sClusterWorkerNetworkInterfaceArgs{
    					Eip: &ucloud.Uk8sClusterWorkerNetworkInterfaceEipArgs{
    						OperatorName:     pulumi.String("string"),
    						Bandwidth:        pulumi.Float64(0),
    						CouponId:         pulumi.String("string"),
    						PayMode:          pulumi.String("string"),
    						ShareBandwidthId: pulumi.String("string"),
    					},
    				},
    			},
    			SecurityGroupId: pulumi.String("string"),
    			SecurityGroups: ucloud.Uk8sClusterWorkerSecurityGroupArray{
    				&ucloud.Uk8sClusterWorkerSecurityGroupArgs{
    					Id:       pulumi.String("string"),
    					Name:     pulumi.String("string"),
    					Priority: pulumi.Float64(0),
    				},
    			},
    			SecurityMode: pulumi.String("string"),
    			Taints: ucloud.Uk8sClusterWorkerTaintArray{
    				&ucloud.Uk8sClusterWorkerTaintArgs{
    					Effect: pulumi.String("string"),
    					Key:    pulumi.String("string"),
    					Value:  pulumi.String("string"),
    				},
    			},
    			UhostFamily: pulumi.String("string"),
    			UniFeature:  pulumi.String("string"),
    		},
    	},
    })
    
    resource "ucloud_uk8s_cluster" "uk8sClusterResource" {
      lifecycle {
        create_before_destroy = true
      }
      master = {
        availability_zones   = ["string"]
        boot_disk_size       = 0
        boot_disk_type       = "string"
        cpu                  = 0
        data_disk_kms_key_id = "string"
        data_disk_size       = 0
        data_disk_type       = "string"
        image_id             = "string"
        instance_type        = "string"
        machine_type         = "string"
        memory               = 0
        min_cpu_platform     = "string"
        security_groups = [{
          id           = "string"
          master_index = 0
          name         = "string"
          priority     = 0
        }]
        uhost_family = "string"
      }
      vpc_id               = "string"
      subnet_id            = "string"
      service_cidr         = "string"
      password             = "string"
      lb_class             = "string"
      name                 = "string"
      init_script          = "string"
      k8s_version          = "string"
      kms_plugin_key_id    = "string"
      kms_plugin_resources = ["string"]
      kube_proxy = {
        mode = "string"
      }
      charge_type                = "string"
      forward_src_ip_method      = "string"
      image_id                   = "string"
      enable_external_api_server = false
      duration                   = 0
      delete_disks_with_instance = false
      tag                        = "string"
      _ {
        timeouts = {
          create = "string"
          delete = "string"
          update = "string"
        }
      }
      uk8s_cluster_id = "string"
      user_data       = "string"
      user_labels = {
        "string" = "string"
      }
      cluster_domain = "string"
      workers {
        cpu               = 0
        memory            = 0
        machine_type      = "string"
        availability_zone = "string"
        kubelet_configuration = {
          "string" = "string"
        }
        max_pods        = 0
        data_disk_size  = 0
        data_disk_type  = "string"
        gpu             = 0
        gpu_type        = "string"
        image_id        = "string"
        isolation_group = "string"
        count           = 0
        labels = {
          "string" = "string"
        }
        boot_disk_type       = "string"
        data_disk_kms_key_id = "string"
        boot_disk_size       = 0
        min_cpu_platform     = "string"
        name_prefix          = "string"
        network_interfaces {
          eip = {
            operator_name      = "string"
            bandwidth          = 0
            coupon_id          = "string"
            pay_mode           = "string"
            share_bandwidth_id = "string"
          }
        }
        security_group_id = "string"
        security_groups {
          id       = "string"
          name     = "string"
          priority = 0
        }
        security_mode = "string"
        taints {
          effect = "string"
          key    = "string"
          value  = "string"
        }
        uhost_family = "string"
        uni_feature  = "string"
      }
    }
    
    var uk8sClusterResource = new Uk8sCluster("uk8sClusterResource", Uk8sClusterArgs.builder()
        .master(Uk8sClusterMasterArgs.builder()
            .availabilityZones("string")
            .bootDiskSize(0.0)
            .bootDiskType("string")
            .cpu(0.0)
            .dataDiskKmsKeyId("string")
            .dataDiskSize(0.0)
            .dataDiskType("string")
            .imageId("string")
            .instanceType("string")
            .machineType("string")
            .memory(0.0)
            .minCpuPlatform("string")
            .securityGroups(Uk8sClusterMasterSecurityGroupArgs.builder()
                .id("string")
                .masterIndex(0.0)
                .name("string")
                .priority(0.0)
                .build())
            .uhostFamily("string")
            .build())
        .vpcId("string")
        .subnetId("string")
        .serviceCidr("string")
        .password("string")
        .lbClass("string")
        .name("string")
        .initScript("string")
        .k8sVersion("string")
        .kmsPluginKeyId("string")
        .kmsPluginResources("string")
        .kubeProxy(Uk8sClusterKubeProxyArgs.builder()
            .mode("string")
            .build())
        .chargeType("string")
        .forwardSrcIpMethod("string")
        .imageId("string")
        .enableExternalApiServer(false)
        .duration(0.0)
        .deleteDisksWithInstance(false)
        .tag("string")
        .timeouts(Uk8sClusterTimeoutsArgs.builder()
            .create("string")
            .delete("string")
            .update("string")
            .build())
        .uk8sClusterId("string")
        .userData("string")
        .userLabels(Map.of("string", "string"))
        .clusterDomain("string")
        .workers(Uk8sClusterWorkerArgs.builder()
            .cpu(0.0)
            .memory(0.0)
            .machineType("string")
            .availabilityZone("string")
            .kubeletConfiguration(Map.of("string", "string"))
            .maxPods(0.0)
            .dataDiskSize(0.0)
            .dataDiskType("string")
            .gpu(0.0)
            .gpuType("string")
            .imageId("string")
            .isolationGroup("string")
            .count(0.0)
            .labels(Map.of("string", "string"))
            .bootDiskType("string")
            .dataDiskKmsKeyId("string")
            .bootDiskSize(0.0)
            .minCpuPlatform("string")
            .namePrefix("string")
            .networkInterfaces(Uk8sClusterWorkerNetworkInterfaceArgs.builder()
                .eip(Uk8sClusterWorkerNetworkInterfaceEipArgs.builder()
                    .operatorName("string")
                    .bandwidth(0.0)
                    .couponId("string")
                    .payMode("string")
                    .shareBandwidthId("string")
                    .build())
                .build())
            .securityGroupId("string")
            .securityGroups(Uk8sClusterWorkerSecurityGroupArgs.builder()
                .id("string")
                .name("string")
                .priority(0.0)
                .build())
            .securityMode("string")
            .taints(Uk8sClusterWorkerTaintArgs.builder()
                .effect("string")
                .key("string")
                .value("string")
                .build())
            .uhostFamily("string")
            .uniFeature("string")
            .build())
        .build());
    
    uk8s_cluster_resource = ucloud.Uk8sCluster("uk8sClusterResource",
        master={
            "availability_zones": ["string"],
            "boot_disk_size": float(0),
            "boot_disk_type": "string",
            "cpu": float(0),
            "data_disk_kms_key_id": "string",
            "data_disk_size": float(0),
            "data_disk_type": "string",
            "image_id": "string",
            "instance_type": "string",
            "machine_type": "string",
            "memory": float(0),
            "min_cpu_platform": "string",
            "security_groups": [{
                "id": "string",
                "master_index": float(0),
                "name": "string",
                "priority": float(0),
            }],
            "uhost_family": "string",
        },
        vpc_id="string",
        subnet_id="string",
        service_cidr="string",
        password="string",
        lb_class="string",
        name="string",
        init_script="string",
        k8s_version="string",
        kms_plugin_key_id="string",
        kms_plugin_resources=["string"],
        kube_proxy={
            "mode": "string",
        },
        charge_type="string",
        forward_src_ip_method="string",
        image_id="string",
        enable_external_api_server=False,
        duration=float(0),
        delete_disks_with_instance=False,
        tag="string",
        timeouts={
            "create": "string",
            "delete": "string",
            "update": "string",
        },
        uk8s_cluster_id="string",
        user_data="string",
        user_labels={
            "string": "string",
        },
        cluster_domain="string",
        workers=[{
            "cpu": float(0),
            "memory": float(0),
            "machine_type": "string",
            "availability_zone": "string",
            "kubelet_configuration": {
                "string": "string",
            },
            "max_pods": float(0),
            "data_disk_size": float(0),
            "data_disk_type": "string",
            "gpu": float(0),
            "gpu_type": "string",
            "image_id": "string",
            "isolation_group": "string",
            "count": float(0),
            "labels": {
                "string": "string",
            },
            "boot_disk_type": "string",
            "data_disk_kms_key_id": "string",
            "boot_disk_size": float(0),
            "min_cpu_platform": "string",
            "name_prefix": "string",
            "network_interfaces": [{
                "eip": {
                    "operator_name": "string",
                    "bandwidth": float(0),
                    "coupon_id": "string",
                    "pay_mode": "string",
                    "share_bandwidth_id": "string",
                },
            }],
            "security_group_id": "string",
            "security_groups": [{
                "id": "string",
                "name": "string",
                "priority": float(0),
            }],
            "security_mode": "string",
            "taints": [{
                "effect": "string",
                "key": "string",
                "value": "string",
            }],
            "uhost_family": "string",
            "uni_feature": "string",
        }])
    
    const uk8sClusterResource = new ucloud.Uk8sCluster("uk8sClusterResource", {
        master: {
            availabilityZones: ["string"],
            bootDiskSize: 0,
            bootDiskType: "string",
            cpu: 0,
            dataDiskKmsKeyId: "string",
            dataDiskSize: 0,
            dataDiskType: "string",
            imageId: "string",
            instanceType: "string",
            machineType: "string",
            memory: 0,
            minCpuPlatform: "string",
            securityGroups: [{
                id: "string",
                masterIndex: 0,
                name: "string",
                priority: 0,
            }],
            uhostFamily: "string",
        },
        vpcId: "string",
        subnetId: "string",
        serviceCidr: "string",
        password: "string",
        lbClass: "string",
        name: "string",
        initScript: "string",
        k8sVersion: "string",
        kmsPluginKeyId: "string",
        kmsPluginResources: ["string"],
        kubeProxy: {
            mode: "string",
        },
        chargeType: "string",
        forwardSrcIpMethod: "string",
        imageId: "string",
        enableExternalApiServer: false,
        duration: 0,
        deleteDisksWithInstance: false,
        tag: "string",
        timeouts: {
            create: "string",
            "delete": "string",
            update: "string",
        },
        uk8sClusterId: "string",
        userData: "string",
        userLabels: {
            string: "string",
        },
        clusterDomain: "string",
        workers: [{
            cpu: 0,
            memory: 0,
            machineType: "string",
            availabilityZone: "string",
            kubeletConfiguration: {
                string: "string",
            },
            maxPods: 0,
            dataDiskSize: 0,
            dataDiskType: "string",
            gpu: 0,
            gpuType: "string",
            imageId: "string",
            isolationGroup: "string",
            count: 0,
            labels: {
                string: "string",
            },
            bootDiskType: "string",
            dataDiskKmsKeyId: "string",
            bootDiskSize: 0,
            minCpuPlatform: "string",
            namePrefix: "string",
            networkInterfaces: [{
                eip: {
                    operatorName: "string",
                    bandwidth: 0,
                    couponId: "string",
                    payMode: "string",
                    shareBandwidthId: "string",
                },
            }],
            securityGroupId: "string",
            securityGroups: [{
                id: "string",
                name: "string",
                priority: 0,
            }],
            securityMode: "string",
            taints: [{
                effect: "string",
                key: "string",
                value: "string",
            }],
            uhostFamily: "string",
            uniFeature: "string",
        }],
    });
    
    type: ucloud:Uk8sCluster
    properties:
        chargeType: string
        clusterDomain: string
        deleteDisksWithInstance: false
        duration: 0
        enableExternalApiServer: false
        forwardSrcIpMethod: string
        imageId: string
        initScript: string
        k8sVersion: string
        kmsPluginKeyId: string
        kmsPluginResources:
            - string
        kubeProxy:
            mode: string
        lbClass: string
        master:
            availabilityZones:
                - string
            bootDiskSize: 0
            bootDiskType: string
            cpu: 0
            dataDiskKmsKeyId: string
            dataDiskSize: 0
            dataDiskType: string
            imageId: string
            instanceType: string
            machineType: string
            memory: 0
            minCpuPlatform: string
            securityGroups:
                - id: string
                  masterIndex: 0
                  name: string
                  priority: 0
            uhostFamily: string
        name: string
        password: string
        serviceCidr: string
        subnetId: string
        tag: string
        timeouts:
            create: string
            delete: string
            update: string
        uk8sClusterId: string
        userData: string
        userLabels:
            string: string
        vpcId: string
        workers:
            - availabilityZone: string
              bootDiskSize: 0
              bootDiskType: string
              count: 0
              cpu: 0
              dataDiskKmsKeyId: string
              dataDiskSize: 0
              dataDiskType: string
              gpu: 0
              gpuType: string
              imageId: string
              isolationGroup: string
              kubeletConfiguration:
                string: string
              labels:
                string: string
              machineType: string
              maxPods: 0
              memory: 0
              minCpuPlatform: string
              namePrefix: string
              networkInterfaces:
                - eip:
                    bandwidth: 0
                    couponId: string
                    operatorName: string
                    payMode: string
                    shareBandwidthId: string
              securityGroupId: string
              securityGroups:
                - id: string
                  name: string
                  priority: 0
              securityMode: string
              taints:
                - effect: string
                  key: string
                  value: string
              uhostFamily: string
              uniFeature: string
    

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

    Master Uk8sClusterMaster
    The configuration of master, See master for details of attributes.
    Password string
    ServiceCidr string
    The CIDR block of k8s service.
    SubnetId string
    The ID of subnet. If defined vpc_id, the subnet_id is Required. If not defined vpc_id and subnet_id, the instance will use the default subnet in the current region.
    VpcId string
    The ID of VPC linked to the instance. If not defined vpc_id, the instance will use the default VPC in the current region.
    ChargeType string
    The charge type of instance, possible values are: year, month and dynamic as pay by hour (specific permission required). (Default: month).
    ClusterDomain string
    DeleteDisksWithInstance bool
    Whether the cloud data disks attached instance should be destroyed on instance termination.
    Duration double
    The duration that you will buy the instance (Default: 1). The value is 0 when pay by month and the instance will be valid till the last day of that month. It is not required when dynamic (pay by hour).
    EnableExternalApiServer bool
    If expose the api server endpoint for external visiting.
    ForwardSrcIpMethod string
    ImageId string
    The default image ID. master.image_id takes precedence for Master nodes.
    InitScript string
    The user data to customize the startup behaviors when launching the instance. You may refer to user_data_document
    K8sVersion string
    The version of k8s. See also Create UK8S.
    KmsPluginKeyId string
    KmsPluginResources List<string>
    KubeProxy Uk8sClusterKubeProxy
    The configuration of kube proxy, See kube proxy for details of attributes.
    LbClass string
    Name string
    Tag string
    Timeouts Uk8sClusterTimeouts
    Uk8sClusterId string
    The ID of the resource instance.
    UserData string
    Plain-text user data, up to 16 KiB. The provider base64-encodes it and sends UserData when creating the cluster. It customizes startup behaviors when launching the instance. You may refer to user_data_document
    UserLabels Dictionary<string, string>
    UCloud resource labels, separate from Kubernetes Worker labels.
    Workers List<Uk8sClusterWorker>
    Repeatable initial Worker group configuration, sent as Nodes.N.* in CreateUK8SClusterV2. See worker.
    Master Uk8sClusterMasterArgs
    The configuration of master, See master for details of attributes.
    Password string
    ServiceCidr string
    The CIDR block of k8s service.
    SubnetId string
    The ID of subnet. If defined vpc_id, the subnet_id is Required. If not defined vpc_id and subnet_id, the instance will use the default subnet in the current region.
    VpcId string
    The ID of VPC linked to the instance. If not defined vpc_id, the instance will use the default VPC in the current region.
    ChargeType string
    The charge type of instance, possible values are: year, month and dynamic as pay by hour (specific permission required). (Default: month).
    ClusterDomain string
    DeleteDisksWithInstance bool
    Whether the cloud data disks attached instance should be destroyed on instance termination.
    Duration float64
    The duration that you will buy the instance (Default: 1). The value is 0 when pay by month and the instance will be valid till the last day of that month. It is not required when dynamic (pay by hour).
    EnableExternalApiServer bool
    If expose the api server endpoint for external visiting.
    ForwardSrcIpMethod string
    ImageId string
    The default image ID. master.image_id takes precedence for Master nodes.
    InitScript string
    The user data to customize the startup behaviors when launching the instance. You may refer to user_data_document
    K8sVersion string
    The version of k8s. See also Create UK8S.
    KmsPluginKeyId string
    KmsPluginResources []string
    KubeProxy Uk8sClusterKubeProxyArgs
    The configuration of kube proxy, See kube proxy for details of attributes.
    LbClass string
    Name string
    Tag string
    Timeouts Uk8sClusterTimeoutsArgs
    Uk8sClusterId string
    The ID of the resource instance.
    UserData string
    Plain-text user data, up to 16 KiB. The provider base64-encodes it and sends UserData when creating the cluster. It customizes startup behaviors when launching the instance. You may refer to user_data_document
    UserLabels map[string]string
    UCloud resource labels, separate from Kubernetes Worker labels.
    Workers []Uk8sClusterWorkerArgs
    Repeatable initial Worker group configuration, sent as Nodes.N.* in CreateUK8SClusterV2. See worker.
    master object
    The configuration of master, See master for details of attributes.
    password string
    service_cidr string
    The CIDR block of k8s service.
    subnet_id string
    The ID of subnet. If defined vpc_id, the subnet_id is Required. If not defined vpc_id and subnet_id, the instance will use the default subnet in the current region.
    vpc_id string
    The ID of VPC linked to the instance. If not defined vpc_id, the instance will use the default VPC in the current region.
    charge_type string
    The charge type of instance, possible values are: year, month and dynamic as pay by hour (specific permission required). (Default: month).
    cluster_domain string
    delete_disks_with_instance bool
    Whether the cloud data disks attached instance should be destroyed on instance termination.
    duration number
    The duration that you will buy the instance (Default: 1). The value is 0 when pay by month and the instance will be valid till the last day of that month. It is not required when dynamic (pay by hour).
    enable_external_api_server bool
    If expose the api server endpoint for external visiting.
    forward_src_ip_method string
    image_id string
    The default image ID. master.image_id takes precedence for Master nodes.
    init_script string
    The user data to customize the startup behaviors when launching the instance. You may refer to user_data_document
    k8s_version string
    The version of k8s. See also Create UK8S.
    kms_plugin_key_id string
    kms_plugin_resources list(string)
    kube_proxy object
    The configuration of kube proxy, See kube proxy for details of attributes.
    lb_class string
    name string
    tag string
    timeouts object
    uk8s_cluster_id string
    The ID of the resource instance.
    user_data string
    Plain-text user data, up to 16 KiB. The provider base64-encodes it and sends UserData when creating the cluster. It customizes startup behaviors when launching the instance. You may refer to user_data_document
    user_labels map(string)
    UCloud resource labels, separate from Kubernetes Worker labels.
    workers list(object)
    Repeatable initial Worker group configuration, sent as Nodes.N.* in CreateUK8SClusterV2. See worker.
    master Uk8sClusterMaster
    The configuration of master, See master for details of attributes.
    password String
    serviceCidr String
    The CIDR block of k8s service.
    subnetId String
    The ID of subnet. If defined vpc_id, the subnet_id is Required. If not defined vpc_id and subnet_id, the instance will use the default subnet in the current region.
    vpcId String
    The ID of VPC linked to the instance. If not defined vpc_id, the instance will use the default VPC in the current region.
    chargeType String
    The charge type of instance, possible values are: year, month and dynamic as pay by hour (specific permission required). (Default: month).
    clusterDomain String
    deleteDisksWithInstance Boolean
    Whether the cloud data disks attached instance should be destroyed on instance termination.
    duration Double
    The duration that you will buy the instance (Default: 1). The value is 0 when pay by month and the instance will be valid till the last day of that month. It is not required when dynamic (pay by hour).
    enableExternalApiServer Boolean
    If expose the api server endpoint for external visiting.
    forwardSrcIpMethod String
    imageId String
    The default image ID. master.image_id takes precedence for Master nodes.
    initScript String
    The user data to customize the startup behaviors when launching the instance. You may refer to user_data_document
    k8sVersion String
    The version of k8s. See also Create UK8S.
    kmsPluginKeyId String
    kmsPluginResources List<String>
    kubeProxy Uk8sClusterKubeProxy
    The configuration of kube proxy, See kube proxy for details of attributes.
    lbClass String
    name String
    tag String
    timeouts Uk8sClusterTimeouts
    uk8sClusterId String
    The ID of the resource instance.
    userData String
    Plain-text user data, up to 16 KiB. The provider base64-encodes it and sends UserData when creating the cluster. It customizes startup behaviors when launching the instance. You may refer to user_data_document
    userLabels Map<String,String>
    UCloud resource labels, separate from Kubernetes Worker labels.
    workers List<Uk8sClusterWorker>
    Repeatable initial Worker group configuration, sent as Nodes.N.* in CreateUK8SClusterV2. See worker.
    master Uk8sClusterMaster
    The configuration of master, See master for details of attributes.
    password string
    serviceCidr string
    The CIDR block of k8s service.
    subnetId string
    The ID of subnet. If defined vpc_id, the subnet_id is Required. If not defined vpc_id and subnet_id, the instance will use the default subnet in the current region.
    vpcId string
    The ID of VPC linked to the instance. If not defined vpc_id, the instance will use the default VPC in the current region.
    chargeType string
    The charge type of instance, possible values are: year, month and dynamic as pay by hour (specific permission required). (Default: month).
    clusterDomain string
    deleteDisksWithInstance boolean
    Whether the cloud data disks attached instance should be destroyed on instance termination.
    duration number
    The duration that you will buy the instance (Default: 1). The value is 0 when pay by month and the instance will be valid till the last day of that month. It is not required when dynamic (pay by hour).
    enableExternalApiServer boolean
    If expose the api server endpoint for external visiting.
    forwardSrcIpMethod string
    imageId string
    The default image ID. master.image_id takes precedence for Master nodes.
    initScript string
    The user data to customize the startup behaviors when launching the instance. You may refer to user_data_document
    k8sVersion string
    The version of k8s. See also Create UK8S.
    kmsPluginKeyId string
    kmsPluginResources string[]
    kubeProxy Uk8sClusterKubeProxy
    The configuration of kube proxy, See kube proxy for details of attributes.
    lbClass string
    name string
    tag string
    timeouts Uk8sClusterTimeouts
    uk8sClusterId string
    The ID of the resource instance.
    userData string
    Plain-text user data, up to 16 KiB. The provider base64-encodes it and sends UserData when creating the cluster. It customizes startup behaviors when launching the instance. You may refer to user_data_document
    userLabels {[key: string]: string}
    UCloud resource labels, separate from Kubernetes Worker labels.
    workers Uk8sClusterWorker[]
    Repeatable initial Worker group configuration, sent as Nodes.N.* in CreateUK8SClusterV2. See worker.
    master Uk8sClusterMasterArgs
    The configuration of master, See master for details of attributes.
    password str
    service_cidr str
    The CIDR block of k8s service.
    subnet_id str
    The ID of subnet. If defined vpc_id, the subnet_id is Required. If not defined vpc_id and subnet_id, the instance will use the default subnet in the current region.
    vpc_id str
    The ID of VPC linked to the instance. If not defined vpc_id, the instance will use the default VPC in the current region.
    charge_type str
    The charge type of instance, possible values are: year, month and dynamic as pay by hour (specific permission required). (Default: month).
    cluster_domain str
    delete_disks_with_instance bool
    Whether the cloud data disks attached instance should be destroyed on instance termination.
    duration float
    The duration that you will buy the instance (Default: 1). The value is 0 when pay by month and the instance will be valid till the last day of that month. It is not required when dynamic (pay by hour).
    enable_external_api_server bool
    If expose the api server endpoint for external visiting.
    forward_src_ip_method str
    image_id str
    The default image ID. master.image_id takes precedence for Master nodes.
    init_script str
    The user data to customize the startup behaviors when launching the instance. You may refer to user_data_document
    k8s_version str
    The version of k8s. See also Create UK8S.
    kms_plugin_key_id str
    kms_plugin_resources Sequence[str]
    kube_proxy Uk8sClusterKubeProxyArgs
    The configuration of kube proxy, See kube proxy for details of attributes.
    lb_class str
    name str
    tag str
    timeouts Uk8sClusterTimeoutsArgs
    uk8s_cluster_id str
    The ID of the resource instance.
    user_data str
    Plain-text user data, up to 16 KiB. The provider base64-encodes it and sends UserData when creating the cluster. It customizes startup behaviors when launching the instance. You may refer to user_data_document
    user_labels Mapping[str, str]
    UCloud resource labels, separate from Kubernetes Worker labels.
    workers Sequence[Uk8sClusterWorkerArgs]
    Repeatable initial Worker group configuration, sent as Nodes.N.* in CreateUK8SClusterV2. See worker.
    master Property Map
    The configuration of master, See master for details of attributes.
    password String
    serviceCidr String
    The CIDR block of k8s service.
    subnetId String
    The ID of subnet. If defined vpc_id, the subnet_id is Required. If not defined vpc_id and subnet_id, the instance will use the default subnet in the current region.
    vpcId String
    The ID of VPC linked to the instance. If not defined vpc_id, the instance will use the default VPC in the current region.
    chargeType String
    The charge type of instance, possible values are: year, month and dynamic as pay by hour (specific permission required). (Default: month).
    clusterDomain String
    deleteDisksWithInstance Boolean
    Whether the cloud data disks attached instance should be destroyed on instance termination.
    duration Number
    The duration that you will buy the instance (Default: 1). The value is 0 when pay by month and the instance will be valid till the last day of that month. It is not required when dynamic (pay by hour).
    enableExternalApiServer Boolean
    If expose the api server endpoint for external visiting.
    forwardSrcIpMethod String
    imageId String
    The default image ID. master.image_id takes precedence for Master nodes.
    initScript String
    The user data to customize the startup behaviors when launching the instance. You may refer to user_data_document
    k8sVersion String
    The version of k8s. See also Create UK8S.
    kmsPluginKeyId String
    kmsPluginResources List<String>
    kubeProxy Property Map
    The configuration of kube proxy, See kube proxy for details of attributes.
    lbClass String
    name String
    tag String
    timeouts Property Map
    uk8sClusterId String
    The ID of the resource instance.
    userData String
    Plain-text user data, up to 16 KiB. The provider base64-encodes it and sends UserData when creating the cluster. It customizes startup behaviors when launching the instance. You may refer to user_data_document
    userLabels Map<String>
    UCloud resource labels, separate from Kubernetes Worker labels.
    workers List<Property Map>
    Repeatable initial Worker group configuration, sent as Nodes.N.* in CreateUK8SClusterV2. See worker.

    Outputs

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

    ApiServer string
    The api server endpoint in cluster.
    CniMode string
    The CNI network mode reported by the cluster.
    CreateTime string
    The time of creation for instance, formatted in RFC3339 time string.
    ExternalApiServer string
    The api server endpoint for external visiting.
    ExternalKubeconfig string
    The kubeconfig for accessing the cluster through the external API server. This value is sensitive and may be empty when external API server access is disabled.
    Id string
    The provider-assigned unique ID for this managed resource.
    Kubeconfig string
    The kubeconfig for accessing the cluster through the internal API server. This value is sensitive.
    PodCidr string
    The CIDR block of pod network.
    Status string
    Instance current status. Possible values are RUNNING, CREATEFAILED, DELETEFAILED, ERROR and ABNORMAL.
    ApiServer string
    The api server endpoint in cluster.
    CniMode string
    The CNI network mode reported by the cluster.
    CreateTime string
    The time of creation for instance, formatted in RFC3339 time string.
    ExternalApiServer string
    The api server endpoint for external visiting.
    ExternalKubeconfig string
    The kubeconfig for accessing the cluster through the external API server. This value is sensitive and may be empty when external API server access is disabled.
    Id string
    The provider-assigned unique ID for this managed resource.
    Kubeconfig string
    The kubeconfig for accessing the cluster through the internal API server. This value is sensitive.
    PodCidr string
    The CIDR block of pod network.
    Status string
    Instance current status. Possible values are RUNNING, CREATEFAILED, DELETEFAILED, ERROR and ABNORMAL.
    api_server string
    The api server endpoint in cluster.
    cni_mode string
    The CNI network mode reported by the cluster.
    create_time string
    The time of creation for instance, formatted in RFC3339 time string.
    external_api_server string
    The api server endpoint for external visiting.
    external_kubeconfig string
    The kubeconfig for accessing the cluster through the external API server. This value is sensitive and may be empty when external API server access is disabled.
    id string
    The provider-assigned unique ID for this managed resource.
    kubeconfig string
    The kubeconfig for accessing the cluster through the internal API server. This value is sensitive.
    pod_cidr string
    The CIDR block of pod network.
    status string
    Instance current status. Possible values are RUNNING, CREATEFAILED, DELETEFAILED, ERROR and ABNORMAL.
    apiServer String
    The api server endpoint in cluster.
    cniMode String
    The CNI network mode reported by the cluster.
    createTime String
    The time of creation for instance, formatted in RFC3339 time string.
    externalApiServer String
    The api server endpoint for external visiting.
    externalKubeconfig String
    The kubeconfig for accessing the cluster through the external API server. This value is sensitive and may be empty when external API server access is disabled.
    id String
    The provider-assigned unique ID for this managed resource.
    kubeconfig String
    The kubeconfig for accessing the cluster through the internal API server. This value is sensitive.
    podCidr String
    The CIDR block of pod network.
    status String
    Instance current status. Possible values are RUNNING, CREATEFAILED, DELETEFAILED, ERROR and ABNORMAL.
    apiServer string
    The api server endpoint in cluster.
    cniMode string
    The CNI network mode reported by the cluster.
    createTime string
    The time of creation for instance, formatted in RFC3339 time string.
    externalApiServer string
    The api server endpoint for external visiting.
    externalKubeconfig string
    The kubeconfig for accessing the cluster through the external API server. This value is sensitive and may be empty when external API server access is disabled.
    id string
    The provider-assigned unique ID for this managed resource.
    kubeconfig string
    The kubeconfig for accessing the cluster through the internal API server. This value is sensitive.
    podCidr string
    The CIDR block of pod network.
    status string
    Instance current status. Possible values are RUNNING, CREATEFAILED, DELETEFAILED, ERROR and ABNORMAL.
    api_server str
    The api server endpoint in cluster.
    cni_mode str
    The CNI network mode reported by the cluster.
    create_time str
    The time of creation for instance, formatted in RFC3339 time string.
    external_api_server str
    The api server endpoint for external visiting.
    external_kubeconfig str
    The kubeconfig for accessing the cluster through the external API server. This value is sensitive and may be empty when external API server access is disabled.
    id str
    The provider-assigned unique ID for this managed resource.
    kubeconfig str
    The kubeconfig for accessing the cluster through the internal API server. This value is sensitive.
    pod_cidr str
    The CIDR block of pod network.
    status str
    Instance current status. Possible values are RUNNING, CREATEFAILED, DELETEFAILED, ERROR and ABNORMAL.
    apiServer String
    The api server endpoint in cluster.
    cniMode String
    The CNI network mode reported by the cluster.
    createTime String
    The time of creation for instance, formatted in RFC3339 time string.
    externalApiServer String
    The api server endpoint for external visiting.
    externalKubeconfig String
    The kubeconfig for accessing the cluster through the external API server. This value is sensitive and may be empty when external API server access is disabled.
    id String
    The provider-assigned unique ID for this managed resource.
    kubeconfig String
    The kubeconfig for accessing the cluster through the internal API server. This value is sensitive.
    podCidr String
    The CIDR block of pod network.
    status String
    Instance current status. Possible values are RUNNING, CREATEFAILED, DELETEFAILED, ERROR and ABNORMAL.

    Look up Existing Uk8sCluster Resource

    Get an existing Uk8sCluster 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?: Uk8sClusterState, opts?: CustomResourceOptions): Uk8sCluster
    @staticmethod
    def get(resource_name: str,
            id: str,
            opts: Optional[ResourceOptions] = None,
            api_server: Optional[str] = None,
            charge_type: Optional[str] = None,
            cluster_domain: Optional[str] = None,
            cni_mode: Optional[str] = None,
            create_time: Optional[str] = None,
            delete_disks_with_instance: Optional[bool] = None,
            duration: Optional[float] = None,
            enable_external_api_server: Optional[bool] = None,
            external_api_server: Optional[str] = None,
            external_kubeconfig: Optional[str] = None,
            forward_src_ip_method: Optional[str] = None,
            image_id: Optional[str] = None,
            init_script: Optional[str] = None,
            k8s_version: Optional[str] = None,
            kms_plugin_key_id: Optional[str] = None,
            kms_plugin_resources: Optional[Sequence[str]] = None,
            kube_proxy: Optional[Uk8sClusterKubeProxyArgs] = None,
            kubeconfig: Optional[str] = None,
            lb_class: Optional[str] = None,
            master: Optional[Uk8sClusterMasterArgs] = None,
            name: Optional[str] = None,
            password: Optional[str] = None,
            pod_cidr: Optional[str] = None,
            service_cidr: Optional[str] = None,
            status: Optional[str] = None,
            subnet_id: Optional[str] = None,
            tag: Optional[str] = None,
            timeouts: Optional[Uk8sClusterTimeoutsArgs] = None,
            uk8s_cluster_id: Optional[str] = None,
            user_data: Optional[str] = None,
            user_labels: Optional[Mapping[str, str]] = None,
            vpc_id: Optional[str] = None,
            workers: Optional[Sequence[Uk8sClusterWorkerArgs]] = None) -> Uk8sCluster
    func GetUk8sCluster(ctx *Context, name string, id IDInput, state *Uk8sClusterState, opts ...ResourceOption) (*Uk8sCluster, error)
    public static Uk8sCluster Get(string name, Input<string> id, Uk8sClusterState? state, CustomResourceOptions? opts = null)
    public static Uk8sCluster get(String name, Output<String> id, Uk8sClusterState state, CustomResourceOptions options)
    resources:  _:    type: ucloud:Uk8sCluster    get:      id: ${id}
    import {
      to = ucloud_uk8s_cluster.example
      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:
    ApiServer string
    The api server endpoint in cluster.
    ChargeType string
    The charge type of instance, possible values are: year, month and dynamic as pay by hour (specific permission required). (Default: month).
    ClusterDomain string
    CniMode string
    The CNI network mode reported by the cluster.
    CreateTime string
    The time of creation for instance, formatted in RFC3339 time string.
    DeleteDisksWithInstance bool
    Whether the cloud data disks attached instance should be destroyed on instance termination.
    Duration double
    The duration that you will buy the instance (Default: 1). The value is 0 when pay by month and the instance will be valid till the last day of that month. It is not required when dynamic (pay by hour).
    EnableExternalApiServer bool
    If expose the api server endpoint for external visiting.
    ExternalApiServer string
    The api server endpoint for external visiting.
    ExternalKubeconfig string
    The kubeconfig for accessing the cluster through the external API server. This value is sensitive and may be empty when external API server access is disabled.
    ForwardSrcIpMethod string
    ImageId string
    The default image ID. master.image_id takes precedence for Master nodes.
    InitScript string
    The user data to customize the startup behaviors when launching the instance. You may refer to user_data_document
    K8sVersion string
    The version of k8s. See also Create UK8S.
    KmsPluginKeyId string
    KmsPluginResources List<string>
    KubeProxy Uk8sClusterKubeProxy
    The configuration of kube proxy, See kube proxy for details of attributes.
    Kubeconfig string
    The kubeconfig for accessing the cluster through the internal API server. This value is sensitive.
    LbClass string
    Master Uk8sClusterMaster
    The configuration of master, See master for details of attributes.
    Name string
    Password string
    PodCidr string
    The CIDR block of pod network.
    ServiceCidr string
    The CIDR block of k8s service.
    Status string
    Instance current status. Possible values are RUNNING, CREATEFAILED, DELETEFAILED, ERROR and ABNORMAL.
    SubnetId string
    The ID of subnet. If defined vpc_id, the subnet_id is Required. If not defined vpc_id and subnet_id, the instance will use the default subnet in the current region.
    Tag string
    Timeouts Uk8sClusterTimeouts
    Uk8sClusterId string
    The ID of the resource instance.
    UserData string
    Plain-text user data, up to 16 KiB. The provider base64-encodes it and sends UserData when creating the cluster. It customizes startup behaviors when launching the instance. You may refer to user_data_document
    UserLabels Dictionary<string, string>
    UCloud resource labels, separate from Kubernetes Worker labels.
    VpcId string
    The ID of VPC linked to the instance. If not defined vpc_id, the instance will use the default VPC in the current region.
    Workers List<Uk8sClusterWorker>
    Repeatable initial Worker group configuration, sent as Nodes.N.* in CreateUK8SClusterV2. See worker.
    ApiServer string
    The api server endpoint in cluster.
    ChargeType string
    The charge type of instance, possible values are: year, month and dynamic as pay by hour (specific permission required). (Default: month).
    ClusterDomain string
    CniMode string
    The CNI network mode reported by the cluster.
    CreateTime string
    The time of creation for instance, formatted in RFC3339 time string.
    DeleteDisksWithInstance bool
    Whether the cloud data disks attached instance should be destroyed on instance termination.
    Duration float64
    The duration that you will buy the instance (Default: 1). The value is 0 when pay by month and the instance will be valid till the last day of that month. It is not required when dynamic (pay by hour).
    EnableExternalApiServer bool
    If expose the api server endpoint for external visiting.
    ExternalApiServer string
    The api server endpoint for external visiting.
    ExternalKubeconfig string
    The kubeconfig for accessing the cluster through the external API server. This value is sensitive and may be empty when external API server access is disabled.
    ForwardSrcIpMethod string
    ImageId string
    The default image ID. master.image_id takes precedence for Master nodes.
    InitScript string
    The user data to customize the startup behaviors when launching the instance. You may refer to user_data_document
    K8sVersion string
    The version of k8s. See also Create UK8S.
    KmsPluginKeyId string
    KmsPluginResources []string
    KubeProxy Uk8sClusterKubeProxyArgs
    The configuration of kube proxy, See kube proxy for details of attributes.
    Kubeconfig string
    The kubeconfig for accessing the cluster through the internal API server. This value is sensitive.
    LbClass string
    Master Uk8sClusterMasterArgs
    The configuration of master, See master for details of attributes.
    Name string
    Password string
    PodCidr string
    The CIDR block of pod network.
    ServiceCidr string
    The CIDR block of k8s service.
    Status string
    Instance current status. Possible values are RUNNING, CREATEFAILED, DELETEFAILED, ERROR and ABNORMAL.
    SubnetId string
    The ID of subnet. If defined vpc_id, the subnet_id is Required. If not defined vpc_id and subnet_id, the instance will use the default subnet in the current region.
    Tag string
    Timeouts Uk8sClusterTimeoutsArgs
    Uk8sClusterId string
    The ID of the resource instance.
    UserData string
    Plain-text user data, up to 16 KiB. The provider base64-encodes it and sends UserData when creating the cluster. It customizes startup behaviors when launching the instance. You may refer to user_data_document
    UserLabels map[string]string
    UCloud resource labels, separate from Kubernetes Worker labels.
    VpcId string
    The ID of VPC linked to the instance. If not defined vpc_id, the instance will use the default VPC in the current region.
    Workers []Uk8sClusterWorkerArgs
    Repeatable initial Worker group configuration, sent as Nodes.N.* in CreateUK8SClusterV2. See worker.
    api_server string
    The api server endpoint in cluster.
    charge_type string
    The charge type of instance, possible values are: year, month and dynamic as pay by hour (specific permission required). (Default: month).
    cluster_domain string
    cni_mode string
    The CNI network mode reported by the cluster.
    create_time string
    The time of creation for instance, formatted in RFC3339 time string.
    delete_disks_with_instance bool
    Whether the cloud data disks attached instance should be destroyed on instance termination.
    duration number
    The duration that you will buy the instance (Default: 1). The value is 0 when pay by month and the instance will be valid till the last day of that month. It is not required when dynamic (pay by hour).
    enable_external_api_server bool
    If expose the api server endpoint for external visiting.
    external_api_server string
    The api server endpoint for external visiting.
    external_kubeconfig string
    The kubeconfig for accessing the cluster through the external API server. This value is sensitive and may be empty when external API server access is disabled.
    forward_src_ip_method string
    image_id string
    The default image ID. master.image_id takes precedence for Master nodes.
    init_script string
    The user data to customize the startup behaviors when launching the instance. You may refer to user_data_document
    k8s_version string
    The version of k8s. See also Create UK8S.
    kms_plugin_key_id string
    kms_plugin_resources list(string)
    kube_proxy object
    The configuration of kube proxy, See kube proxy for details of attributes.
    kubeconfig string
    The kubeconfig for accessing the cluster through the internal API server. This value is sensitive.
    lb_class string
    master object
    The configuration of master, See master for details of attributes.
    name string
    password string
    pod_cidr string
    The CIDR block of pod network.
    service_cidr string
    The CIDR block of k8s service.
    status string
    Instance current status. Possible values are RUNNING, CREATEFAILED, DELETEFAILED, ERROR and ABNORMAL.
    subnet_id string
    The ID of subnet. If defined vpc_id, the subnet_id is Required. If not defined vpc_id and subnet_id, the instance will use the default subnet in the current region.
    tag string
    timeouts object
    uk8s_cluster_id string
    The ID of the resource instance.
    user_data string
    Plain-text user data, up to 16 KiB. The provider base64-encodes it and sends UserData when creating the cluster. It customizes startup behaviors when launching the instance. You may refer to user_data_document
    user_labels map(string)
    UCloud resource labels, separate from Kubernetes Worker labels.
    vpc_id string
    The ID of VPC linked to the instance. If not defined vpc_id, the instance will use the default VPC in the current region.
    workers list(object)
    Repeatable initial Worker group configuration, sent as Nodes.N.* in CreateUK8SClusterV2. See worker.
    apiServer String
    The api server endpoint in cluster.
    chargeType String
    The charge type of instance, possible values are: year, month and dynamic as pay by hour (specific permission required). (Default: month).
    clusterDomain String
    cniMode String
    The CNI network mode reported by the cluster.
    createTime String
    The time of creation for instance, formatted in RFC3339 time string.
    deleteDisksWithInstance Boolean
    Whether the cloud data disks attached instance should be destroyed on instance termination.
    duration Double
    The duration that you will buy the instance (Default: 1). The value is 0 when pay by month and the instance will be valid till the last day of that month. It is not required when dynamic (pay by hour).
    enableExternalApiServer Boolean
    If expose the api server endpoint for external visiting.
    externalApiServer String
    The api server endpoint for external visiting.
    externalKubeconfig String
    The kubeconfig for accessing the cluster through the external API server. This value is sensitive and may be empty when external API server access is disabled.
    forwardSrcIpMethod String
    imageId String
    The default image ID. master.image_id takes precedence for Master nodes.
    initScript String
    The user data to customize the startup behaviors when launching the instance. You may refer to user_data_document
    k8sVersion String
    The version of k8s. See also Create UK8S.
    kmsPluginKeyId String
    kmsPluginResources List<String>
    kubeProxy Uk8sClusterKubeProxy
    The configuration of kube proxy, See kube proxy for details of attributes.
    kubeconfig String
    The kubeconfig for accessing the cluster through the internal API server. This value is sensitive.
    lbClass String
    master Uk8sClusterMaster
    The configuration of master, See master for details of attributes.
    name String
    password String
    podCidr String
    The CIDR block of pod network.
    serviceCidr String
    The CIDR block of k8s service.
    status String
    Instance current status. Possible values are RUNNING, CREATEFAILED, DELETEFAILED, ERROR and ABNORMAL.
    subnetId String
    The ID of subnet. If defined vpc_id, the subnet_id is Required. If not defined vpc_id and subnet_id, the instance will use the default subnet in the current region.
    tag String
    timeouts Uk8sClusterTimeouts
    uk8sClusterId String
    The ID of the resource instance.
    userData String
    Plain-text user data, up to 16 KiB. The provider base64-encodes it and sends UserData when creating the cluster. It customizes startup behaviors when launching the instance. You may refer to user_data_document
    userLabels Map<String,String>
    UCloud resource labels, separate from Kubernetes Worker labels.
    vpcId String
    The ID of VPC linked to the instance. If not defined vpc_id, the instance will use the default VPC in the current region.
    workers List<Uk8sClusterWorker>
    Repeatable initial Worker group configuration, sent as Nodes.N.* in CreateUK8SClusterV2. See worker.
    apiServer string
    The api server endpoint in cluster.
    chargeType string
    The charge type of instance, possible values are: year, month and dynamic as pay by hour (specific permission required). (Default: month).
    clusterDomain string
    cniMode string
    The CNI network mode reported by the cluster.
    createTime string
    The time of creation for instance, formatted in RFC3339 time string.
    deleteDisksWithInstance boolean
    Whether the cloud data disks attached instance should be destroyed on instance termination.
    duration number
    The duration that you will buy the instance (Default: 1). The value is 0 when pay by month and the instance will be valid till the last day of that month. It is not required when dynamic (pay by hour).
    enableExternalApiServer boolean
    If expose the api server endpoint for external visiting.
    externalApiServer string
    The api server endpoint for external visiting.
    externalKubeconfig string
    The kubeconfig for accessing the cluster through the external API server. This value is sensitive and may be empty when external API server access is disabled.
    forwardSrcIpMethod string
    imageId string
    The default image ID. master.image_id takes precedence for Master nodes.
    initScript string
    The user data to customize the startup behaviors when launching the instance. You may refer to user_data_document
    k8sVersion string
    The version of k8s. See also Create UK8S.
    kmsPluginKeyId string
    kmsPluginResources string[]
    kubeProxy Uk8sClusterKubeProxy
    The configuration of kube proxy, See kube proxy for details of attributes.
    kubeconfig string
    The kubeconfig for accessing the cluster through the internal API server. This value is sensitive.
    lbClass string
    master Uk8sClusterMaster
    The configuration of master, See master for details of attributes.
    name string
    password string
    podCidr string
    The CIDR block of pod network.
    serviceCidr string
    The CIDR block of k8s service.
    status string
    Instance current status. Possible values are RUNNING, CREATEFAILED, DELETEFAILED, ERROR and ABNORMAL.
    subnetId string
    The ID of subnet. If defined vpc_id, the subnet_id is Required. If not defined vpc_id and subnet_id, the instance will use the default subnet in the current region.
    tag string
    timeouts Uk8sClusterTimeouts
    uk8sClusterId string
    The ID of the resource instance.
    userData string
    Plain-text user data, up to 16 KiB. The provider base64-encodes it and sends UserData when creating the cluster. It customizes startup behaviors when launching the instance. You may refer to user_data_document
    userLabels {[key: string]: string}
    UCloud resource labels, separate from Kubernetes Worker labels.
    vpcId string
    The ID of VPC linked to the instance. If not defined vpc_id, the instance will use the default VPC in the current region.
    workers Uk8sClusterWorker[]
    Repeatable initial Worker group configuration, sent as Nodes.N.* in CreateUK8SClusterV2. See worker.
    api_server str
    The api server endpoint in cluster.
    charge_type str
    The charge type of instance, possible values are: year, month and dynamic as pay by hour (specific permission required). (Default: month).
    cluster_domain str
    cni_mode str
    The CNI network mode reported by the cluster.
    create_time str
    The time of creation for instance, formatted in RFC3339 time string.
    delete_disks_with_instance bool
    Whether the cloud data disks attached instance should be destroyed on instance termination.
    duration float
    The duration that you will buy the instance (Default: 1). The value is 0 when pay by month and the instance will be valid till the last day of that month. It is not required when dynamic (pay by hour).
    enable_external_api_server bool
    If expose the api server endpoint for external visiting.
    external_api_server str
    The api server endpoint for external visiting.
    external_kubeconfig str
    The kubeconfig for accessing the cluster through the external API server. This value is sensitive and may be empty when external API server access is disabled.
    forward_src_ip_method str
    image_id str
    The default image ID. master.image_id takes precedence for Master nodes.
    init_script str
    The user data to customize the startup behaviors when launching the instance. You may refer to user_data_document
    k8s_version str
    The version of k8s. See also Create UK8S.
    kms_plugin_key_id str
    kms_plugin_resources Sequence[str]
    kube_proxy Uk8sClusterKubeProxyArgs
    The configuration of kube proxy, See kube proxy for details of attributes.
    kubeconfig str
    The kubeconfig for accessing the cluster through the internal API server. This value is sensitive.
    lb_class str
    master Uk8sClusterMasterArgs
    The configuration of master, See master for details of attributes.
    name str
    password str
    pod_cidr str
    The CIDR block of pod network.
    service_cidr str
    The CIDR block of k8s service.
    status str
    Instance current status. Possible values are RUNNING, CREATEFAILED, DELETEFAILED, ERROR and ABNORMAL.
    subnet_id str
    The ID of subnet. If defined vpc_id, the subnet_id is Required. If not defined vpc_id and subnet_id, the instance will use the default subnet in the current region.
    tag str
    timeouts Uk8sClusterTimeoutsArgs
    uk8s_cluster_id str
    The ID of the resource instance.
    user_data str
    Plain-text user data, up to 16 KiB. The provider base64-encodes it and sends UserData when creating the cluster. It customizes startup behaviors when launching the instance. You may refer to user_data_document
    user_labels Mapping[str, str]
    UCloud resource labels, separate from Kubernetes Worker labels.
    vpc_id str
    The ID of VPC linked to the instance. If not defined vpc_id, the instance will use the default VPC in the current region.
    workers Sequence[Uk8sClusterWorkerArgs]
    Repeatable initial Worker group configuration, sent as Nodes.N.* in CreateUK8SClusterV2. See worker.
    apiServer String
    The api server endpoint in cluster.
    chargeType String
    The charge type of instance, possible values are: year, month and dynamic as pay by hour (specific permission required). (Default: month).
    clusterDomain String
    cniMode String
    The CNI network mode reported by the cluster.
    createTime String
    The time of creation for instance, formatted in RFC3339 time string.
    deleteDisksWithInstance Boolean
    Whether the cloud data disks attached instance should be destroyed on instance termination.
    duration Number
    The duration that you will buy the instance (Default: 1). The value is 0 when pay by month and the instance will be valid till the last day of that month. It is not required when dynamic (pay by hour).
    enableExternalApiServer Boolean
    If expose the api server endpoint for external visiting.
    externalApiServer String
    The api server endpoint for external visiting.
    externalKubeconfig String
    The kubeconfig for accessing the cluster through the external API server. This value is sensitive and may be empty when external API server access is disabled.
    forwardSrcIpMethod String
    imageId String
    The default image ID. master.image_id takes precedence for Master nodes.
    initScript String
    The user data to customize the startup behaviors when launching the instance. You may refer to user_data_document
    k8sVersion String
    The version of k8s. See also Create UK8S.
    kmsPluginKeyId String
    kmsPluginResources List<String>
    kubeProxy Property Map
    The configuration of kube proxy, See kube proxy for details of attributes.
    kubeconfig String
    The kubeconfig for accessing the cluster through the internal API server. This value is sensitive.
    lbClass String
    master Property Map
    The configuration of master, See master for details of attributes.
    name String
    password String
    podCidr String
    The CIDR block of pod network.
    serviceCidr String
    The CIDR block of k8s service.
    status String
    Instance current status. Possible values are RUNNING, CREATEFAILED, DELETEFAILED, ERROR and ABNORMAL.
    subnetId String
    The ID of subnet. If defined vpc_id, the subnet_id is Required. If not defined vpc_id and subnet_id, the instance will use the default subnet in the current region.
    tag String
    timeouts Property Map
    uk8sClusterId String
    The ID of the resource instance.
    userData String
    Plain-text user data, up to 16 KiB. The provider base64-encodes it and sends UserData when creating the cluster. It customizes startup behaviors when launching the instance. You may refer to user_data_document
    userLabels Map<String>
    UCloud resource labels, separate from Kubernetes Worker labels.
    vpcId String
    The ID of VPC linked to the instance. If not defined vpc_id, the instance will use the default VPC in the current region.
    workers List<Property Map>
    Repeatable initial Worker group configuration, sent as Nodes.N.* in CreateUK8SClusterV2. See worker.

    Supporting Types

    Uk8sClusterKubeProxy, Uk8sClusterKubeProxyArgs

    Mode string
    The type of instance, please visit the instance type table
    Mode string
    The type of instance, please visit the instance type table
    mode string
    The type of instance, please visit the instance type table
    mode String
    The type of instance, please visit the instance type table
    mode string
    The type of instance, please visit the instance type table
    mode str
    The type of instance, please visit the instance type table
    mode String
    The type of instance, please visit the instance type table

    Uk8sClusterMaster, Uk8sClusterMasterArgs

    AvailabilityZones List<string>
    Availability zone list where instance is located. such as: ["cn-bj2-02", "cn-bj2-03", "cn-bj2-05"]. You may refer to list of availability zone
    BootDiskSize double
    System disk size in GB, from 40 to 500. When omitted, the API default is 40 GB.
    BootDiskType string
    The type of boot disk. Possible values are: local_normal and local_ssd for local boot disk, cloud_ssd for cloud SSD boot disk,cloud_rssd as RDMA-SSD cloud disk. (Default: cloud_ssd). The local_ssd and cloud_ssd are not fully support by all regions as boot disk type, please proceed to UCloud console for more details.
    Cpu double
    Number of CPU cores, at least 2. Required with machine_type and memory when instance_type is omitted. Available specifications depend on the machine type and region.
    DataDiskKmsKeyId string
    DataDiskSize double
    The size of local data disk, measured in GB (GigaByte), 20-2000 for local sata disk and 20-1000 for local ssd disk (all the GPU type instances are included). The volume adjustment must be a multiple of 10 GB. In addition, any reduction of data disk size is not supported.
    DataDiskType string
    The type of local data disk. Possible values are: local_normal and local_ssd for local data disk. (Default: cloud_ssd). The local_ssd is not fully support by all regions as data disk type, please proceed to UCloud console for more details. In addition, the data_disk_type must be same as boot_disk_type if specified.
    ImageId string
    The Master image ID, sent as MasterImageId. When omitted, the API uses the top-level image_id or selects an available base image.
    InstanceType string
    The legacy specification, such as n-basic-2. Existing configurations remain supported with the original validation rules. Conflicts with machine_type, cpu, and memory.
    MachineType string
    The uppercase machine type, such as N or O. Required together with cpu and memory when instance_type is omitted.
    Memory double
    Memory in MB, at least 4096 and a multiple of 1024. Required with machine_type and cpu when instance_type is omitted. For 4 GB, use 4096.
    MinCpuPlatform string
    Specifies a minimum CPU platform for the VM instance. (Default: Intel/Auto). You may refer to min_cpu_platform

    • The Intel CPU platform:
    • Intel/Auto as the Intel CPU platform version will be selected randomly by system;
    • Intel/IvyBridge as Intel V2, the version of Intel CPU platform selected by system will be Intel/IvyBridge and above;
    • Intel/Haswell as Intel V3, the version of Intel CPU platform selected by system will be Intel/Haswell and above;
    • Intel/Broadwell as Intel V4, the version of Intel CPU platform selected by system will be Intel/Broadwell and above;
    • Intel/Skylake as Intel V5, the version of Intel CPU platform selected by system will be Intel/Skylake and above;
    • Intel/Cascadelake as Intel V6, the version of Intel CPU platform selected by system will be Intel/Cascadelake;
    • Intel/CascadelakeR as the version of Intel CPU platform, currently can only support by the os instance type;
    • Intel/IceLake, Intel/SapphireRapids, and Intel/EmeraldRapids for newer Intel CPU platforms;
    • The AMD CPU platform:
    • Amd/Auto as the Amd CPU platform version will be selected randomly by system;
    • Amd/Epyc2 as the version of Amd CPU platform selected by system will be Amd/Epyc2 and above;
    • The Ampere CPU platform:
    • Ampere/Altra as the version of Ampere CPU platform selected by system will be Ampere/Altra and above.
    SecurityGroups List<Uk8sClusterMasterSecurityGroup>
    UhostFamily string
    The host family, such as o1a, o1i, or o2i, sent as MasterUHostFamily. Lowercase alphanumeric family names are accepted; availability and compatibility are checked by the API. Existing o1i/o2i validation still requires machine_type = "O" and an Intel CPU platform. Use a matching CPU platform (for example Amd/Auto for o1a). Outstanding machines require boot_disk_type = "cloud_rssd".
    AvailabilityZones []string
    Availability zone list where instance is located. such as: ["cn-bj2-02", "cn-bj2-03", "cn-bj2-05"]. You may refer to list of availability zone
    BootDiskSize float64
    System disk size in GB, from 40 to 500. When omitted, the API default is 40 GB.
    BootDiskType string
    The type of boot disk. Possible values are: local_normal and local_ssd for local boot disk, cloud_ssd for cloud SSD boot disk,cloud_rssd as RDMA-SSD cloud disk. (Default: cloud_ssd). The local_ssd and cloud_ssd are not fully support by all regions as boot disk type, please proceed to UCloud console for more details.
    Cpu float64
    Number of CPU cores, at least 2. Required with machine_type and memory when instance_type is omitted. Available specifications depend on the machine type and region.
    DataDiskKmsKeyId string
    DataDiskSize float64
    The size of local data disk, measured in GB (GigaByte), 20-2000 for local sata disk and 20-1000 for local ssd disk (all the GPU type instances are included). The volume adjustment must be a multiple of 10 GB. In addition, any reduction of data disk size is not supported.
    DataDiskType string
    The type of local data disk. Possible values are: local_normal and local_ssd for local data disk. (Default: cloud_ssd). The local_ssd is not fully support by all regions as data disk type, please proceed to UCloud console for more details. In addition, the data_disk_type must be same as boot_disk_type if specified.
    ImageId string
    The Master image ID, sent as MasterImageId. When omitted, the API uses the top-level image_id or selects an available base image.
    InstanceType string
    The legacy specification, such as n-basic-2. Existing configurations remain supported with the original validation rules. Conflicts with machine_type, cpu, and memory.
    MachineType string
    The uppercase machine type, such as N or O. Required together with cpu and memory when instance_type is omitted.
    Memory float64
    Memory in MB, at least 4096 and a multiple of 1024. Required with machine_type and cpu when instance_type is omitted. For 4 GB, use 4096.
    MinCpuPlatform string
    Specifies a minimum CPU platform for the VM instance. (Default: Intel/Auto). You may refer to min_cpu_platform

    • The Intel CPU platform:
    • Intel/Auto as the Intel CPU platform version will be selected randomly by system;
    • Intel/IvyBridge as Intel V2, the version of Intel CPU platform selected by system will be Intel/IvyBridge and above;
    • Intel/Haswell as Intel V3, the version of Intel CPU platform selected by system will be Intel/Haswell and above;
    • Intel/Broadwell as Intel V4, the version of Intel CPU platform selected by system will be Intel/Broadwell and above;
    • Intel/Skylake as Intel V5, the version of Intel CPU platform selected by system will be Intel/Skylake and above;
    • Intel/Cascadelake as Intel V6, the version of Intel CPU platform selected by system will be Intel/Cascadelake;
    • Intel/CascadelakeR as the version of Intel CPU platform, currently can only support by the os instance type;
    • Intel/IceLake, Intel/SapphireRapids, and Intel/EmeraldRapids for newer Intel CPU platforms;
    • The AMD CPU platform:
    • Amd/Auto as the Amd CPU platform version will be selected randomly by system;
    • Amd/Epyc2 as the version of Amd CPU platform selected by system will be Amd/Epyc2 and above;
    • The Ampere CPU platform:
    • Ampere/Altra as the version of Ampere CPU platform selected by system will be Ampere/Altra and above.
    SecurityGroups []Uk8sClusterMasterSecurityGroup
    UhostFamily string
    The host family, such as o1a, o1i, or o2i, sent as MasterUHostFamily. Lowercase alphanumeric family names are accepted; availability and compatibility are checked by the API. Existing o1i/o2i validation still requires machine_type = "O" and an Intel CPU platform. Use a matching CPU platform (for example Amd/Auto for o1a). Outstanding machines require boot_disk_type = "cloud_rssd".
    availability_zones list(string)
    Availability zone list where instance is located. such as: ["cn-bj2-02", "cn-bj2-03", "cn-bj2-05"]. You may refer to list of availability zone
    boot_disk_size number
    System disk size in GB, from 40 to 500. When omitted, the API default is 40 GB.
    boot_disk_type string
    The type of boot disk. Possible values are: local_normal and local_ssd for local boot disk, cloud_ssd for cloud SSD boot disk,cloud_rssd as RDMA-SSD cloud disk. (Default: cloud_ssd). The local_ssd and cloud_ssd are not fully support by all regions as boot disk type, please proceed to UCloud console for more details.
    cpu number
    Number of CPU cores, at least 2. Required with machine_type and memory when instance_type is omitted. Available specifications depend on the machine type and region.
    data_disk_kms_key_id string
    data_disk_size number
    The size of local data disk, measured in GB (GigaByte), 20-2000 for local sata disk and 20-1000 for local ssd disk (all the GPU type instances are included). The volume adjustment must be a multiple of 10 GB. In addition, any reduction of data disk size is not supported.
    data_disk_type string
    The type of local data disk. Possible values are: local_normal and local_ssd for local data disk. (Default: cloud_ssd). The local_ssd is not fully support by all regions as data disk type, please proceed to UCloud console for more details. In addition, the data_disk_type must be same as boot_disk_type if specified.
    image_id string
    The Master image ID, sent as MasterImageId. When omitted, the API uses the top-level image_id or selects an available base image.
    instance_type string
    The legacy specification, such as n-basic-2. Existing configurations remain supported with the original validation rules. Conflicts with machine_type, cpu, and memory.
    machine_type string
    The uppercase machine type, such as N or O. Required together with cpu and memory when instance_type is omitted.
    memory number
    Memory in MB, at least 4096 and a multiple of 1024. Required with machine_type and cpu when instance_type is omitted. For 4 GB, use 4096.
    min_cpu_platform string
    Specifies a minimum CPU platform for the VM instance. (Default: Intel/Auto). You may refer to min_cpu_platform

    • The Intel CPU platform:
    • Intel/Auto as the Intel CPU platform version will be selected randomly by system;
    • Intel/IvyBridge as Intel V2, the version of Intel CPU platform selected by system will be Intel/IvyBridge and above;
    • Intel/Haswell as Intel V3, the version of Intel CPU platform selected by system will be Intel/Haswell and above;
    • Intel/Broadwell as Intel V4, the version of Intel CPU platform selected by system will be Intel/Broadwell and above;
    • Intel/Skylake as Intel V5, the version of Intel CPU platform selected by system will be Intel/Skylake and above;
    • Intel/Cascadelake as Intel V6, the version of Intel CPU platform selected by system will be Intel/Cascadelake;
    • Intel/CascadelakeR as the version of Intel CPU platform, currently can only support by the os instance type;
    • Intel/IceLake, Intel/SapphireRapids, and Intel/EmeraldRapids for newer Intel CPU platforms;
    • The AMD CPU platform:
    • Amd/Auto as the Amd CPU platform version will be selected randomly by system;
    • Amd/Epyc2 as the version of Amd CPU platform selected by system will be Amd/Epyc2 and above;
    • The Ampere CPU platform:
    • Ampere/Altra as the version of Ampere CPU platform selected by system will be Ampere/Altra and above.
    security_groups list(object)
    uhost_family string
    The host family, such as o1a, o1i, or o2i, sent as MasterUHostFamily. Lowercase alphanumeric family names are accepted; availability and compatibility are checked by the API. Existing o1i/o2i validation still requires machine_type = "O" and an Intel CPU platform. Use a matching CPU platform (for example Amd/Auto for o1a). Outstanding machines require boot_disk_type = "cloud_rssd".
    availabilityZones List<String>
    Availability zone list where instance is located. such as: ["cn-bj2-02", "cn-bj2-03", "cn-bj2-05"]. You may refer to list of availability zone
    bootDiskSize Double
    System disk size in GB, from 40 to 500. When omitted, the API default is 40 GB.
    bootDiskType String
    The type of boot disk. Possible values are: local_normal and local_ssd for local boot disk, cloud_ssd for cloud SSD boot disk,cloud_rssd as RDMA-SSD cloud disk. (Default: cloud_ssd). The local_ssd and cloud_ssd are not fully support by all regions as boot disk type, please proceed to UCloud console for more details.
    cpu Double
    Number of CPU cores, at least 2. Required with machine_type and memory when instance_type is omitted. Available specifications depend on the machine type and region.
    dataDiskKmsKeyId String
    dataDiskSize Double
    The size of local data disk, measured in GB (GigaByte), 20-2000 for local sata disk and 20-1000 for local ssd disk (all the GPU type instances are included). The volume adjustment must be a multiple of 10 GB. In addition, any reduction of data disk size is not supported.
    dataDiskType String
    The type of local data disk. Possible values are: local_normal and local_ssd for local data disk. (Default: cloud_ssd). The local_ssd is not fully support by all regions as data disk type, please proceed to UCloud console for more details. In addition, the data_disk_type must be same as boot_disk_type if specified.
    imageId String
    The Master image ID, sent as MasterImageId. When omitted, the API uses the top-level image_id or selects an available base image.
    instanceType String
    The legacy specification, such as n-basic-2. Existing configurations remain supported with the original validation rules. Conflicts with machine_type, cpu, and memory.
    machineType String
    The uppercase machine type, such as N or O. Required together with cpu and memory when instance_type is omitted.
    memory Double
    Memory in MB, at least 4096 and a multiple of 1024. Required with machine_type and cpu when instance_type is omitted. For 4 GB, use 4096.
    minCpuPlatform String
    Specifies a minimum CPU platform for the VM instance. (Default: Intel/Auto). You may refer to min_cpu_platform

    • The Intel CPU platform:
    • Intel/Auto as the Intel CPU platform version will be selected randomly by system;
    • Intel/IvyBridge as Intel V2, the version of Intel CPU platform selected by system will be Intel/IvyBridge and above;
    • Intel/Haswell as Intel V3, the version of Intel CPU platform selected by system will be Intel/Haswell and above;
    • Intel/Broadwell as Intel V4, the version of Intel CPU platform selected by system will be Intel/Broadwell and above;
    • Intel/Skylake as Intel V5, the version of Intel CPU platform selected by system will be Intel/Skylake and above;
    • Intel/Cascadelake as Intel V6, the version of Intel CPU platform selected by system will be Intel/Cascadelake;
    • Intel/CascadelakeR as the version of Intel CPU platform, currently can only support by the os instance type;
    • Intel/IceLake, Intel/SapphireRapids, and Intel/EmeraldRapids for newer Intel CPU platforms;
    • The AMD CPU platform:
    • Amd/Auto as the Amd CPU platform version will be selected randomly by system;
    • Amd/Epyc2 as the version of Amd CPU platform selected by system will be Amd/Epyc2 and above;
    • The Ampere CPU platform:
    • Ampere/Altra as the version of Ampere CPU platform selected by system will be Ampere/Altra and above.
    securityGroups List<Uk8sClusterMasterSecurityGroup>
    uhostFamily String
    The host family, such as o1a, o1i, or o2i, sent as MasterUHostFamily. Lowercase alphanumeric family names are accepted; availability and compatibility are checked by the API. Existing o1i/o2i validation still requires machine_type = "O" and an Intel CPU platform. Use a matching CPU platform (for example Amd/Auto for o1a). Outstanding machines require boot_disk_type = "cloud_rssd".
    availabilityZones string[]
    Availability zone list where instance is located. such as: ["cn-bj2-02", "cn-bj2-03", "cn-bj2-05"]. You may refer to list of availability zone
    bootDiskSize number
    System disk size in GB, from 40 to 500. When omitted, the API default is 40 GB.
    bootDiskType string
    The type of boot disk. Possible values are: local_normal and local_ssd for local boot disk, cloud_ssd for cloud SSD boot disk,cloud_rssd as RDMA-SSD cloud disk. (Default: cloud_ssd). The local_ssd and cloud_ssd are not fully support by all regions as boot disk type, please proceed to UCloud console for more details.
    cpu number
    Number of CPU cores, at least 2. Required with machine_type and memory when instance_type is omitted. Available specifications depend on the machine type and region.
    dataDiskKmsKeyId string
    dataDiskSize number
    The size of local data disk, measured in GB (GigaByte), 20-2000 for local sata disk and 20-1000 for local ssd disk (all the GPU type instances are included). The volume adjustment must be a multiple of 10 GB. In addition, any reduction of data disk size is not supported.
    dataDiskType string
    The type of local data disk. Possible values are: local_normal and local_ssd for local data disk. (Default: cloud_ssd). The local_ssd is not fully support by all regions as data disk type, please proceed to UCloud console for more details. In addition, the data_disk_type must be same as boot_disk_type if specified.
    imageId string
    The Master image ID, sent as MasterImageId. When omitted, the API uses the top-level image_id or selects an available base image.
    instanceType string
    The legacy specification, such as n-basic-2. Existing configurations remain supported with the original validation rules. Conflicts with machine_type, cpu, and memory.
    machineType string
    The uppercase machine type, such as N or O. Required together with cpu and memory when instance_type is omitted.
    memory number
    Memory in MB, at least 4096 and a multiple of 1024. Required with machine_type and cpu when instance_type is omitted. For 4 GB, use 4096.
    minCpuPlatform string
    Specifies a minimum CPU platform for the VM instance. (Default: Intel/Auto). You may refer to min_cpu_platform

    • The Intel CPU platform:
    • Intel/Auto as the Intel CPU platform version will be selected randomly by system;
    • Intel/IvyBridge as Intel V2, the version of Intel CPU platform selected by system will be Intel/IvyBridge and above;
    • Intel/Haswell as Intel V3, the version of Intel CPU platform selected by system will be Intel/Haswell and above;
    • Intel/Broadwell as Intel V4, the version of Intel CPU platform selected by system will be Intel/Broadwell and above;
    • Intel/Skylake as Intel V5, the version of Intel CPU platform selected by system will be Intel/Skylake and above;
    • Intel/Cascadelake as Intel V6, the version of Intel CPU platform selected by system will be Intel/Cascadelake;
    • Intel/CascadelakeR as the version of Intel CPU platform, currently can only support by the os instance type;
    • Intel/IceLake, Intel/SapphireRapids, and Intel/EmeraldRapids for newer Intel CPU platforms;
    • The AMD CPU platform:
    • Amd/Auto as the Amd CPU platform version will be selected randomly by system;
    • Amd/Epyc2 as the version of Amd CPU platform selected by system will be Amd/Epyc2 and above;
    • The Ampere CPU platform:
    • Ampere/Altra as the version of Ampere CPU platform selected by system will be Ampere/Altra and above.
    securityGroups Uk8sClusterMasterSecurityGroup[]
    uhostFamily string
    The host family, such as o1a, o1i, or o2i, sent as MasterUHostFamily. Lowercase alphanumeric family names are accepted; availability and compatibility are checked by the API. Existing o1i/o2i validation still requires machine_type = "O" and an Intel CPU platform. Use a matching CPU platform (for example Amd/Auto for o1a). Outstanding machines require boot_disk_type = "cloud_rssd".
    availability_zones Sequence[str]
    Availability zone list where instance is located. such as: ["cn-bj2-02", "cn-bj2-03", "cn-bj2-05"]. You may refer to list of availability zone
    boot_disk_size float
    System disk size in GB, from 40 to 500. When omitted, the API default is 40 GB.
    boot_disk_type str
    The type of boot disk. Possible values are: local_normal and local_ssd for local boot disk, cloud_ssd for cloud SSD boot disk,cloud_rssd as RDMA-SSD cloud disk. (Default: cloud_ssd). The local_ssd and cloud_ssd are not fully support by all regions as boot disk type, please proceed to UCloud console for more details.
    cpu float
    Number of CPU cores, at least 2. Required with machine_type and memory when instance_type is omitted. Available specifications depend on the machine type and region.
    data_disk_kms_key_id str
    data_disk_size float
    The size of local data disk, measured in GB (GigaByte), 20-2000 for local sata disk and 20-1000 for local ssd disk (all the GPU type instances are included). The volume adjustment must be a multiple of 10 GB. In addition, any reduction of data disk size is not supported.
    data_disk_type str
    The type of local data disk. Possible values are: local_normal and local_ssd for local data disk. (Default: cloud_ssd). The local_ssd is not fully support by all regions as data disk type, please proceed to UCloud console for more details. In addition, the data_disk_type must be same as boot_disk_type if specified.
    image_id str
    The Master image ID, sent as MasterImageId. When omitted, the API uses the top-level image_id or selects an available base image.
    instance_type str
    The legacy specification, such as n-basic-2. Existing configurations remain supported with the original validation rules. Conflicts with machine_type, cpu, and memory.
    machine_type str
    The uppercase machine type, such as N or O. Required together with cpu and memory when instance_type is omitted.
    memory float
    Memory in MB, at least 4096 and a multiple of 1024. Required with machine_type and cpu when instance_type is omitted. For 4 GB, use 4096.
    min_cpu_platform str
    Specifies a minimum CPU platform for the VM instance. (Default: Intel/Auto). You may refer to min_cpu_platform

    • The Intel CPU platform:
    • Intel/Auto as the Intel CPU platform version will be selected randomly by system;
    • Intel/IvyBridge as Intel V2, the version of Intel CPU platform selected by system will be Intel/IvyBridge and above;
    • Intel/Haswell as Intel V3, the version of Intel CPU platform selected by system will be Intel/Haswell and above;
    • Intel/Broadwell as Intel V4, the version of Intel CPU platform selected by system will be Intel/Broadwell and above;
    • Intel/Skylake as Intel V5, the version of Intel CPU platform selected by system will be Intel/Skylake and above;
    • Intel/Cascadelake as Intel V6, the version of Intel CPU platform selected by system will be Intel/Cascadelake;
    • Intel/CascadelakeR as the version of Intel CPU platform, currently can only support by the os instance type;
    • Intel/IceLake, Intel/SapphireRapids, and Intel/EmeraldRapids for newer Intel CPU platforms;
    • The AMD CPU platform:
    • Amd/Auto as the Amd CPU platform version will be selected randomly by system;
    • Amd/Epyc2 as the version of Amd CPU platform selected by system will be Amd/Epyc2 and above;
    • The Ampere CPU platform:
    • Ampere/Altra as the version of Ampere CPU platform selected by system will be Ampere/Altra and above.
    security_groups Sequence[Uk8sClusterMasterSecurityGroup]
    uhost_family str
    The host family, such as o1a, o1i, or o2i, sent as MasterUHostFamily. Lowercase alphanumeric family names are accepted; availability and compatibility are checked by the API. Existing o1i/o2i validation still requires machine_type = "O" and an Intel CPU platform. Use a matching CPU platform (for example Amd/Auto for o1a). Outstanding machines require boot_disk_type = "cloud_rssd".
    availabilityZones List<String>
    Availability zone list where instance is located. such as: ["cn-bj2-02", "cn-bj2-03", "cn-bj2-05"]. You may refer to list of availability zone
    bootDiskSize Number
    System disk size in GB, from 40 to 500. When omitted, the API default is 40 GB.
    bootDiskType String
    The type of boot disk. Possible values are: local_normal and local_ssd for local boot disk, cloud_ssd for cloud SSD boot disk,cloud_rssd as RDMA-SSD cloud disk. (Default: cloud_ssd). The local_ssd and cloud_ssd are not fully support by all regions as boot disk type, please proceed to UCloud console for more details.
    cpu Number
    Number of CPU cores, at least 2. Required with machine_type and memory when instance_type is omitted. Available specifications depend on the machine type and region.
    dataDiskKmsKeyId String
    dataDiskSize Number
    The size of local data disk, measured in GB (GigaByte), 20-2000 for local sata disk and 20-1000 for local ssd disk (all the GPU type instances are included). The volume adjustment must be a multiple of 10 GB. In addition, any reduction of data disk size is not supported.
    dataDiskType String
    The type of local data disk. Possible values are: local_normal and local_ssd for local data disk. (Default: cloud_ssd). The local_ssd is not fully support by all regions as data disk type, please proceed to UCloud console for more details. In addition, the data_disk_type must be same as boot_disk_type if specified.
    imageId String
    The Master image ID, sent as MasterImageId. When omitted, the API uses the top-level image_id or selects an available base image.
    instanceType String
    The legacy specification, such as n-basic-2. Existing configurations remain supported with the original validation rules. Conflicts with machine_type, cpu, and memory.
    machineType String
    The uppercase machine type, such as N or O. Required together with cpu and memory when instance_type is omitted.
    memory Number
    Memory in MB, at least 4096 and a multiple of 1024. Required with machine_type and cpu when instance_type is omitted. For 4 GB, use 4096.
    minCpuPlatform String
    Specifies a minimum CPU platform for the VM instance. (Default: Intel/Auto). You may refer to min_cpu_platform

    • The Intel CPU platform:
    • Intel/Auto as the Intel CPU platform version will be selected randomly by system;
    • Intel/IvyBridge as Intel V2, the version of Intel CPU platform selected by system will be Intel/IvyBridge and above;
    • Intel/Haswell as Intel V3, the version of Intel CPU platform selected by system will be Intel/Haswell and above;
    • Intel/Broadwell as Intel V4, the version of Intel CPU platform selected by system will be Intel/Broadwell and above;
    • Intel/Skylake as Intel V5, the version of Intel CPU platform selected by system will be Intel/Skylake and above;
    • Intel/Cascadelake as Intel V6, the version of Intel CPU platform selected by system will be Intel/Cascadelake;
    • Intel/CascadelakeR as the version of Intel CPU platform, currently can only support by the os instance type;
    • Intel/IceLake, Intel/SapphireRapids, and Intel/EmeraldRapids for newer Intel CPU platforms;
    • The AMD CPU platform:
    • Amd/Auto as the Amd CPU platform version will be selected randomly by system;
    • Amd/Epyc2 as the version of Amd CPU platform selected by system will be Amd/Epyc2 and above;
    • The Ampere CPU platform:
    • Ampere/Altra as the version of Ampere CPU platform selected by system will be Ampere/Altra and above.
    securityGroups List<Property Map>
    uhostFamily String
    The host family, such as o1a, o1i, or o2i, sent as MasterUHostFamily. Lowercase alphanumeric family names are accepted; availability and compatibility are checked by the API. Existing o1i/o2i validation still requires machine_type = "O" and an Intel CPU platform. Use a matching CPU platform (for example Amd/Auto for o1a). Outstanding machines require boot_disk_type = "cloud_rssd".

    Uk8sClusterMasterSecurityGroup, Uk8sClusterMasterSecurityGroupArgs

    Id string
    The ID of the resource instance.
    MasterIndex double
    Name string
    Priority double
    Id string
    The ID of the resource instance.
    MasterIndex float64
    Name string
    Priority float64
    id string
    The ID of the resource instance.
    master_index number
    name string
    priority number
    id String
    The ID of the resource instance.
    masterIndex Double
    name String
    priority Double
    id string
    The ID of the resource instance.
    masterIndex number
    name string
    priority number
    id str
    The ID of the resource instance.
    master_index float
    name str
    priority float
    id String
    The ID of the resource instance.
    masterIndex Number
    name String
    priority Number

    Uk8sClusterTimeouts, Uk8sClusterTimeoutsArgs

    Create string
    Used when launching the instance (until it reaches the initial RUNNING state)
    Delete string
    Used when terminating the instance
    Update string
    Used when updating the arguments of the instance if necessary.
    Create string
    Used when launching the instance (until it reaches the initial RUNNING state)
    Delete string
    Used when terminating the instance
    Update string
    Used when updating the arguments of the instance if necessary.
    create string
    Used when launching the instance (until it reaches the initial RUNNING state)
    delete string
    Used when terminating the instance
    update string
    Used when updating the arguments of the instance if necessary.
    create String
    Used when launching the instance (until it reaches the initial RUNNING state)
    delete String
    Used when terminating the instance
    update String
    Used when updating the arguments of the instance if necessary.
    create string
    Used when launching the instance (until it reaches the initial RUNNING state)
    delete string
    Used when terminating the instance
    update string
    Used when updating the arguments of the instance if necessary.
    create str
    Used when launching the instance (until it reaches the initial RUNNING state)
    delete str
    Used when terminating the instance
    update str
    Used when updating the arguments of the instance if necessary.
    create String
    Used when launching the instance (until it reaches the initial RUNNING state)
    delete String
    Used when terminating the instance
    update String
    Used when updating the arguments of the instance if necessary.

    Uk8sClusterWorker, Uk8sClusterWorkerArgs

    AvailabilityZone string
    Cpu double
    Number of CPU cores, at least 2. Required with machine_type and memory when instance_type is omitted. Available specifications depend on the machine type and region.
    MachineType string
    The uppercase machine type, such as N or O. Required together with cpu and memory when instance_type is omitted.
    Memory double
    Memory in MB, at least 4096 and a multiple of 1024. Required with machine_type and cpu when instance_type is omitted. For 4 GB, use 4096.
    BootDiskSize double
    System disk size in GB, from 40 to 500. When omitted, the API default is 40 GB.
    BootDiskType string
    The type of boot disk. Possible values are: local_normal and local_ssd for local boot disk, cloud_ssd for cloud SSD boot disk,cloud_rssd as RDMA-SSD cloud disk. (Default: cloud_ssd). The local_ssd and cloud_ssd are not fully support by all regions as boot disk type, please proceed to UCloud console for more details.
    Count double
    DataDiskKmsKeyId string
    DataDiskSize double
    The size of local data disk, measured in GB (GigaByte), 20-2000 for local sata disk and 20-1000 for local ssd disk (all the GPU type instances are included). The volume adjustment must be a multiple of 10 GB. In addition, any reduction of data disk size is not supported.
    DataDiskType string
    The type of local data disk. Possible values are: local_normal and local_ssd for local data disk. (Default: cloud_ssd). The local_ssd is not fully support by all regions as data disk type, please proceed to UCloud console for more details. In addition, the data_disk_type must be same as boot_disk_type if specified.
    Gpu double
    GpuType string
    ImageId string
    The default image ID. master.image_id takes precedence for Master nodes.
    IsolationGroup string
    KubeletConfiguration Dictionary<string, string>
    Kubelet configuration map supporting only ContainerLogMaxFiles, an integer string of at least 2.
    Labels Dictionary<string, string>
    MaxPods double
    MinCpuPlatform string
    Specifies a minimum CPU platform for the VM instance. (Default: Intel/Auto). You may refer to min_cpu_platform

    • The Intel CPU platform:
    • Intel/Auto as the Intel CPU platform version will be selected randomly by system;
    • Intel/IvyBridge as Intel V2, the version of Intel CPU platform selected by system will be Intel/IvyBridge and above;
    • Intel/Haswell as Intel V3, the version of Intel CPU platform selected by system will be Intel/Haswell and above;
    • Intel/Broadwell as Intel V4, the version of Intel CPU platform selected by system will be Intel/Broadwell and above;
    • Intel/Skylake as Intel V5, the version of Intel CPU platform selected by system will be Intel/Skylake and above;
    • Intel/Cascadelake as Intel V6, the version of Intel CPU platform selected by system will be Intel/Cascadelake;
    • Intel/CascadelakeR as the version of Intel CPU platform, currently can only support by the os instance type;
    • Intel/IceLake, Intel/SapphireRapids, and Intel/EmeraldRapids for newer Intel CPU platforms;
    • The AMD CPU platform:
    • Amd/Auto as the Amd CPU platform version will be selected randomly by system;
    • Amd/Epyc2 as the version of Amd CPU platform selected by system will be Amd/Epyc2 and above;
    • The Ampere CPU platform:
    • Ampere/Altra as the version of Ampere CPU platform selected by system will be Ampere/Altra and above.
    NamePrefix string
    NetworkInterfaces List<Uk8sClusterWorkerNetworkInterface>
    SecurityGroupId string
    SecurityGroups List<Uk8sClusterWorkerSecurityGroup>
    SecurityMode string
    Taints List<Uk8sClusterWorkerTaint>
    UhostFamily string
    The host family, such as o1a, o1i, or o2i, sent as MasterUHostFamily. Lowercase alphanumeric family names are accepted; availability and compatibility are checked by the API. Existing o1i/o2i validation still requires machine_type = "O" and an Intel CPU platform. Use a matching CPU platform (for example Amd/Auto for o1a). Outstanding machines require boot_disk_type = "cloud_rssd".
    UniFeature string
    AvailabilityZone string
    Cpu float64
    Number of CPU cores, at least 2. Required with machine_type and memory when instance_type is omitted. Available specifications depend on the machine type and region.
    MachineType string
    The uppercase machine type, such as N or O. Required together with cpu and memory when instance_type is omitted.
    Memory float64
    Memory in MB, at least 4096 and a multiple of 1024. Required with machine_type and cpu when instance_type is omitted. For 4 GB, use 4096.
    BootDiskSize float64
    System disk size in GB, from 40 to 500. When omitted, the API default is 40 GB.
    BootDiskType string
    The type of boot disk. Possible values are: local_normal and local_ssd for local boot disk, cloud_ssd for cloud SSD boot disk,cloud_rssd as RDMA-SSD cloud disk. (Default: cloud_ssd). The local_ssd and cloud_ssd are not fully support by all regions as boot disk type, please proceed to UCloud console for more details.
    Count float64
    DataDiskKmsKeyId string
    DataDiskSize float64
    The size of local data disk, measured in GB (GigaByte), 20-2000 for local sata disk and 20-1000 for local ssd disk (all the GPU type instances are included). The volume adjustment must be a multiple of 10 GB. In addition, any reduction of data disk size is not supported.
    DataDiskType string
    The type of local data disk. Possible values are: local_normal and local_ssd for local data disk. (Default: cloud_ssd). The local_ssd is not fully support by all regions as data disk type, please proceed to UCloud console for more details. In addition, the data_disk_type must be same as boot_disk_type if specified.
    Gpu float64
    GpuType string
    ImageId string
    The default image ID. master.image_id takes precedence for Master nodes.
    IsolationGroup string
    KubeletConfiguration map[string]string
    Kubelet configuration map supporting only ContainerLogMaxFiles, an integer string of at least 2.
    Labels map[string]string
    MaxPods float64
    MinCpuPlatform string
    Specifies a minimum CPU platform for the VM instance. (Default: Intel/Auto). You may refer to min_cpu_platform

    • The Intel CPU platform:
    • Intel/Auto as the Intel CPU platform version will be selected randomly by system;
    • Intel/IvyBridge as Intel V2, the version of Intel CPU platform selected by system will be Intel/IvyBridge and above;
    • Intel/Haswell as Intel V3, the version of Intel CPU platform selected by system will be Intel/Haswell and above;
    • Intel/Broadwell as Intel V4, the version of Intel CPU platform selected by system will be Intel/Broadwell and above;
    • Intel/Skylake as Intel V5, the version of Intel CPU platform selected by system will be Intel/Skylake and above;
    • Intel/Cascadelake as Intel V6, the version of Intel CPU platform selected by system will be Intel/Cascadelake;
    • Intel/CascadelakeR as the version of Intel CPU platform, currently can only support by the os instance type;
    • Intel/IceLake, Intel/SapphireRapids, and Intel/EmeraldRapids for newer Intel CPU platforms;
    • The AMD CPU platform:
    • Amd/Auto as the Amd CPU platform version will be selected randomly by system;
    • Amd/Epyc2 as the version of Amd CPU platform selected by system will be Amd/Epyc2 and above;
    • The Ampere CPU platform:
    • Ampere/Altra as the version of Ampere CPU platform selected by system will be Ampere/Altra and above.
    NamePrefix string
    NetworkInterfaces []Uk8sClusterWorkerNetworkInterface
    SecurityGroupId string
    SecurityGroups []Uk8sClusterWorkerSecurityGroup
    SecurityMode string
    Taints []Uk8sClusterWorkerTaint
    UhostFamily string
    The host family, such as o1a, o1i, or o2i, sent as MasterUHostFamily. Lowercase alphanumeric family names are accepted; availability and compatibility are checked by the API. Existing o1i/o2i validation still requires machine_type = "O" and an Intel CPU platform. Use a matching CPU platform (for example Amd/Auto for o1a). Outstanding machines require boot_disk_type = "cloud_rssd".
    UniFeature string
    availability_zone string
    cpu number
    Number of CPU cores, at least 2. Required with machine_type and memory when instance_type is omitted. Available specifications depend on the machine type and region.
    machine_type string
    The uppercase machine type, such as N or O. Required together with cpu and memory when instance_type is omitted.
    memory number
    Memory in MB, at least 4096 and a multiple of 1024. Required with machine_type and cpu when instance_type is omitted. For 4 GB, use 4096.
    boot_disk_size number
    System disk size in GB, from 40 to 500. When omitted, the API default is 40 GB.
    boot_disk_type string
    The type of boot disk. Possible values are: local_normal and local_ssd for local boot disk, cloud_ssd for cloud SSD boot disk,cloud_rssd as RDMA-SSD cloud disk. (Default: cloud_ssd). The local_ssd and cloud_ssd are not fully support by all regions as boot disk type, please proceed to UCloud console for more details.
    count number
    data_disk_kms_key_id string
    data_disk_size number
    The size of local data disk, measured in GB (GigaByte), 20-2000 for local sata disk and 20-1000 for local ssd disk (all the GPU type instances are included). The volume adjustment must be a multiple of 10 GB. In addition, any reduction of data disk size is not supported.
    data_disk_type string
    The type of local data disk. Possible values are: local_normal and local_ssd for local data disk. (Default: cloud_ssd). The local_ssd is not fully support by all regions as data disk type, please proceed to UCloud console for more details. In addition, the data_disk_type must be same as boot_disk_type if specified.
    gpu number
    gpu_type string
    image_id string
    The default image ID. master.image_id takes precedence for Master nodes.
    isolation_group string
    kubelet_configuration map(string)
    Kubelet configuration map supporting only ContainerLogMaxFiles, an integer string of at least 2.
    labels map(string)
    max_pods number
    min_cpu_platform string
    Specifies a minimum CPU platform for the VM instance. (Default: Intel/Auto). You may refer to min_cpu_platform

    • The Intel CPU platform:
    • Intel/Auto as the Intel CPU platform version will be selected randomly by system;
    • Intel/IvyBridge as Intel V2, the version of Intel CPU platform selected by system will be Intel/IvyBridge and above;
    • Intel/Haswell as Intel V3, the version of Intel CPU platform selected by system will be Intel/Haswell and above;
    • Intel/Broadwell as Intel V4, the version of Intel CPU platform selected by system will be Intel/Broadwell and above;
    • Intel/Skylake as Intel V5, the version of Intel CPU platform selected by system will be Intel/Skylake and above;
    • Intel/Cascadelake as Intel V6, the version of Intel CPU platform selected by system will be Intel/Cascadelake;
    • Intel/CascadelakeR as the version of Intel CPU platform, currently can only support by the os instance type;
    • Intel/IceLake, Intel/SapphireRapids, and Intel/EmeraldRapids for newer Intel CPU platforms;
    • The AMD CPU platform:
    • Amd/Auto as the Amd CPU platform version will be selected randomly by system;
    • Amd/Epyc2 as the version of Amd CPU platform selected by system will be Amd/Epyc2 and above;
    • The Ampere CPU platform:
    • Ampere/Altra as the version of Ampere CPU platform selected by system will be Ampere/Altra and above.
    name_prefix string
    network_interfaces list(object)
    security_group_id string
    security_groups list(object)
    security_mode string
    taints list(object)
    uhost_family string
    The host family, such as o1a, o1i, or o2i, sent as MasterUHostFamily. Lowercase alphanumeric family names are accepted; availability and compatibility are checked by the API. Existing o1i/o2i validation still requires machine_type = "O" and an Intel CPU platform. Use a matching CPU platform (for example Amd/Auto for o1a). Outstanding machines require boot_disk_type = "cloud_rssd".
    uni_feature string
    availabilityZone String
    cpu Double
    Number of CPU cores, at least 2. Required with machine_type and memory when instance_type is omitted. Available specifications depend on the machine type and region.
    machineType String
    The uppercase machine type, such as N or O. Required together with cpu and memory when instance_type is omitted.
    memory Double
    Memory in MB, at least 4096 and a multiple of 1024. Required with machine_type and cpu when instance_type is omitted. For 4 GB, use 4096.
    bootDiskSize Double
    System disk size in GB, from 40 to 500. When omitted, the API default is 40 GB.
    bootDiskType String
    The type of boot disk. Possible values are: local_normal and local_ssd for local boot disk, cloud_ssd for cloud SSD boot disk,cloud_rssd as RDMA-SSD cloud disk. (Default: cloud_ssd). The local_ssd and cloud_ssd are not fully support by all regions as boot disk type, please proceed to UCloud console for more details.
    count Double
    dataDiskKmsKeyId String
    dataDiskSize Double
    The size of local data disk, measured in GB (GigaByte), 20-2000 for local sata disk and 20-1000 for local ssd disk (all the GPU type instances are included). The volume adjustment must be a multiple of 10 GB. In addition, any reduction of data disk size is not supported.
    dataDiskType String
    The type of local data disk. Possible values are: local_normal and local_ssd for local data disk. (Default: cloud_ssd). The local_ssd is not fully support by all regions as data disk type, please proceed to UCloud console for more details. In addition, the data_disk_type must be same as boot_disk_type if specified.
    gpu Double
    gpuType String
    imageId String
    The default image ID. master.image_id takes precedence for Master nodes.
    isolationGroup String
    kubeletConfiguration Map<String,String>
    Kubelet configuration map supporting only ContainerLogMaxFiles, an integer string of at least 2.
    labels Map<String,String>
    maxPods Double
    minCpuPlatform String
    Specifies a minimum CPU platform for the VM instance. (Default: Intel/Auto). You may refer to min_cpu_platform

    • The Intel CPU platform:
    • Intel/Auto as the Intel CPU platform version will be selected randomly by system;
    • Intel/IvyBridge as Intel V2, the version of Intel CPU platform selected by system will be Intel/IvyBridge and above;
    • Intel/Haswell as Intel V3, the version of Intel CPU platform selected by system will be Intel/Haswell and above;
    • Intel/Broadwell as Intel V4, the version of Intel CPU platform selected by system will be Intel/Broadwell and above;
    • Intel/Skylake as Intel V5, the version of Intel CPU platform selected by system will be Intel/Skylake and above;
    • Intel/Cascadelake as Intel V6, the version of Intel CPU platform selected by system will be Intel/Cascadelake;
    • Intel/CascadelakeR as the version of Intel CPU platform, currently can only support by the os instance type;
    • Intel/IceLake, Intel/SapphireRapids, and Intel/EmeraldRapids for newer Intel CPU platforms;
    • The AMD CPU platform:
    • Amd/Auto as the Amd CPU platform version will be selected randomly by system;
    • Amd/Epyc2 as the version of Amd CPU platform selected by system will be Amd/Epyc2 and above;
    • The Ampere CPU platform:
    • Ampere/Altra as the version of Ampere CPU platform selected by system will be Ampere/Altra and above.
    namePrefix String
    networkInterfaces List<Uk8sClusterWorkerNetworkInterface>
    securityGroupId String
    securityGroups List<Uk8sClusterWorkerSecurityGroup>
    securityMode String
    taints List<Uk8sClusterWorkerTaint>
    uhostFamily String
    The host family, such as o1a, o1i, or o2i, sent as MasterUHostFamily. Lowercase alphanumeric family names are accepted; availability and compatibility are checked by the API. Existing o1i/o2i validation still requires machine_type = "O" and an Intel CPU platform. Use a matching CPU platform (for example Amd/Auto for o1a). Outstanding machines require boot_disk_type = "cloud_rssd".
    uniFeature String
    availabilityZone string
    cpu number
    Number of CPU cores, at least 2. Required with machine_type and memory when instance_type is omitted. Available specifications depend on the machine type and region.
    machineType string
    The uppercase machine type, such as N or O. Required together with cpu and memory when instance_type is omitted.
    memory number
    Memory in MB, at least 4096 and a multiple of 1024. Required with machine_type and cpu when instance_type is omitted. For 4 GB, use 4096.
    bootDiskSize number
    System disk size in GB, from 40 to 500. When omitted, the API default is 40 GB.
    bootDiskType string
    The type of boot disk. Possible values are: local_normal and local_ssd for local boot disk, cloud_ssd for cloud SSD boot disk,cloud_rssd as RDMA-SSD cloud disk. (Default: cloud_ssd). The local_ssd and cloud_ssd are not fully support by all regions as boot disk type, please proceed to UCloud console for more details.
    count number
    dataDiskKmsKeyId string
    dataDiskSize number
    The size of local data disk, measured in GB (GigaByte), 20-2000 for local sata disk and 20-1000 for local ssd disk (all the GPU type instances are included). The volume adjustment must be a multiple of 10 GB. In addition, any reduction of data disk size is not supported.
    dataDiskType string
    The type of local data disk. Possible values are: local_normal and local_ssd for local data disk. (Default: cloud_ssd). The local_ssd is not fully support by all regions as data disk type, please proceed to UCloud console for more details. In addition, the data_disk_type must be same as boot_disk_type if specified.
    gpu number
    gpuType string
    imageId string
    The default image ID. master.image_id takes precedence for Master nodes.
    isolationGroup string
    kubeletConfiguration {[key: string]: string}
    Kubelet configuration map supporting only ContainerLogMaxFiles, an integer string of at least 2.
    labels {[key: string]: string}
    maxPods number
    minCpuPlatform string
    Specifies a minimum CPU platform for the VM instance. (Default: Intel/Auto). You may refer to min_cpu_platform

    • The Intel CPU platform:
    • Intel/Auto as the Intel CPU platform version will be selected randomly by system;
    • Intel/IvyBridge as Intel V2, the version of Intel CPU platform selected by system will be Intel/IvyBridge and above;
    • Intel/Haswell as Intel V3, the version of Intel CPU platform selected by system will be Intel/Haswell and above;
    • Intel/Broadwell as Intel V4, the version of Intel CPU platform selected by system will be Intel/Broadwell and above;
    • Intel/Skylake as Intel V5, the version of Intel CPU platform selected by system will be Intel/Skylake and above;
    • Intel/Cascadelake as Intel V6, the version of Intel CPU platform selected by system will be Intel/Cascadelake;
    • Intel/CascadelakeR as the version of Intel CPU platform, currently can only support by the os instance type;
    • Intel/IceLake, Intel/SapphireRapids, and Intel/EmeraldRapids for newer Intel CPU platforms;
    • The AMD CPU platform:
    • Amd/Auto as the Amd CPU platform version will be selected randomly by system;
    • Amd/Epyc2 as the version of Amd CPU platform selected by system will be Amd/Epyc2 and above;
    • The Ampere CPU platform:
    • Ampere/Altra as the version of Ampere CPU platform selected by system will be Ampere/Altra and above.
    namePrefix string
    networkInterfaces Uk8sClusterWorkerNetworkInterface[]
    securityGroupId string
    securityGroups Uk8sClusterWorkerSecurityGroup[]
    securityMode string
    taints Uk8sClusterWorkerTaint[]
    uhostFamily string
    The host family, such as o1a, o1i, or o2i, sent as MasterUHostFamily. Lowercase alphanumeric family names are accepted; availability and compatibility are checked by the API. Existing o1i/o2i validation still requires machine_type = "O" and an Intel CPU platform. Use a matching CPU platform (for example Amd/Auto for o1a). Outstanding machines require boot_disk_type = "cloud_rssd".
    uniFeature string
    availability_zone str
    cpu float
    Number of CPU cores, at least 2. Required with machine_type and memory when instance_type is omitted. Available specifications depend on the machine type and region.
    machine_type str
    The uppercase machine type, such as N or O. Required together with cpu and memory when instance_type is omitted.
    memory float
    Memory in MB, at least 4096 and a multiple of 1024. Required with machine_type and cpu when instance_type is omitted. For 4 GB, use 4096.
    boot_disk_size float
    System disk size in GB, from 40 to 500. When omitted, the API default is 40 GB.
    boot_disk_type str
    The type of boot disk. Possible values are: local_normal and local_ssd for local boot disk, cloud_ssd for cloud SSD boot disk,cloud_rssd as RDMA-SSD cloud disk. (Default: cloud_ssd). The local_ssd and cloud_ssd are not fully support by all regions as boot disk type, please proceed to UCloud console for more details.
    count float
    data_disk_kms_key_id str
    data_disk_size float
    The size of local data disk, measured in GB (GigaByte), 20-2000 for local sata disk and 20-1000 for local ssd disk (all the GPU type instances are included). The volume adjustment must be a multiple of 10 GB. In addition, any reduction of data disk size is not supported.
    data_disk_type str
    The type of local data disk. Possible values are: local_normal and local_ssd for local data disk. (Default: cloud_ssd). The local_ssd is not fully support by all regions as data disk type, please proceed to UCloud console for more details. In addition, the data_disk_type must be same as boot_disk_type if specified.
    gpu float
    gpu_type str
    image_id str
    The default image ID. master.image_id takes precedence for Master nodes.
    isolation_group str
    kubelet_configuration Mapping[str, str]
    Kubelet configuration map supporting only ContainerLogMaxFiles, an integer string of at least 2.
    labels Mapping[str, str]
    max_pods float
    min_cpu_platform str
    Specifies a minimum CPU platform for the VM instance. (Default: Intel/Auto). You may refer to min_cpu_platform

    • The Intel CPU platform:
    • Intel/Auto as the Intel CPU platform version will be selected randomly by system;
    • Intel/IvyBridge as Intel V2, the version of Intel CPU platform selected by system will be Intel/IvyBridge and above;
    • Intel/Haswell as Intel V3, the version of Intel CPU platform selected by system will be Intel/Haswell and above;
    • Intel/Broadwell as Intel V4, the version of Intel CPU platform selected by system will be Intel/Broadwell and above;
    • Intel/Skylake as Intel V5, the version of Intel CPU platform selected by system will be Intel/Skylake and above;
    • Intel/Cascadelake as Intel V6, the version of Intel CPU platform selected by system will be Intel/Cascadelake;
    • Intel/CascadelakeR as the version of Intel CPU platform, currently can only support by the os instance type;
    • Intel/IceLake, Intel/SapphireRapids, and Intel/EmeraldRapids for newer Intel CPU platforms;
    • The AMD CPU platform:
    • Amd/Auto as the Amd CPU platform version will be selected randomly by system;
    • Amd/Epyc2 as the version of Amd CPU platform selected by system will be Amd/Epyc2 and above;
    • The Ampere CPU platform:
    • Ampere/Altra as the version of Ampere CPU platform selected by system will be Ampere/Altra and above.
    name_prefix str
    network_interfaces Sequence[Uk8sClusterWorkerNetworkInterface]
    security_group_id str
    security_groups Sequence[Uk8sClusterWorkerSecurityGroup]
    security_mode str
    taints Sequence[Uk8sClusterWorkerTaint]
    uhost_family str
    The host family, such as o1a, o1i, or o2i, sent as MasterUHostFamily. Lowercase alphanumeric family names are accepted; availability and compatibility are checked by the API. Existing o1i/o2i validation still requires machine_type = "O" and an Intel CPU platform. Use a matching CPU platform (for example Amd/Auto for o1a). Outstanding machines require boot_disk_type = "cloud_rssd".
    uni_feature str
    availabilityZone String
    cpu Number
    Number of CPU cores, at least 2. Required with machine_type and memory when instance_type is omitted. Available specifications depend on the machine type and region.
    machineType String
    The uppercase machine type, such as N or O. Required together with cpu and memory when instance_type is omitted.
    memory Number
    Memory in MB, at least 4096 and a multiple of 1024. Required with machine_type and cpu when instance_type is omitted. For 4 GB, use 4096.
    bootDiskSize Number
    System disk size in GB, from 40 to 500. When omitted, the API default is 40 GB.
    bootDiskType String
    The type of boot disk. Possible values are: local_normal and local_ssd for local boot disk, cloud_ssd for cloud SSD boot disk,cloud_rssd as RDMA-SSD cloud disk. (Default: cloud_ssd). The local_ssd and cloud_ssd are not fully support by all regions as boot disk type, please proceed to UCloud console for more details.
    count Number
    dataDiskKmsKeyId String
    dataDiskSize Number
    The size of local data disk, measured in GB (GigaByte), 20-2000 for local sata disk and 20-1000 for local ssd disk (all the GPU type instances are included). The volume adjustment must be a multiple of 10 GB. In addition, any reduction of data disk size is not supported.
    dataDiskType String
    The type of local data disk. Possible values are: local_normal and local_ssd for local data disk. (Default: cloud_ssd). The local_ssd is not fully support by all regions as data disk type, please proceed to UCloud console for more details. In addition, the data_disk_type must be same as boot_disk_type if specified.
    gpu Number
    gpuType String
    imageId String
    The default image ID. master.image_id takes precedence for Master nodes.
    isolationGroup String
    kubeletConfiguration Map<String>
    Kubelet configuration map supporting only ContainerLogMaxFiles, an integer string of at least 2.
    labels Map<String>
    maxPods Number
    minCpuPlatform String
    Specifies a minimum CPU platform for the VM instance. (Default: Intel/Auto). You may refer to min_cpu_platform

    • The Intel CPU platform:
    • Intel/Auto as the Intel CPU platform version will be selected randomly by system;
    • Intel/IvyBridge as Intel V2, the version of Intel CPU platform selected by system will be Intel/IvyBridge and above;
    • Intel/Haswell as Intel V3, the version of Intel CPU platform selected by system will be Intel/Haswell and above;
    • Intel/Broadwell as Intel V4, the version of Intel CPU platform selected by system will be Intel/Broadwell and above;
    • Intel/Skylake as Intel V5, the version of Intel CPU platform selected by system will be Intel/Skylake and above;
    • Intel/Cascadelake as Intel V6, the version of Intel CPU platform selected by system will be Intel/Cascadelake;
    • Intel/CascadelakeR as the version of Intel CPU platform, currently can only support by the os instance type;
    • Intel/IceLake, Intel/SapphireRapids, and Intel/EmeraldRapids for newer Intel CPU platforms;
    • The AMD CPU platform:
    • Amd/Auto as the Amd CPU platform version will be selected randomly by system;
    • Amd/Epyc2 as the version of Amd CPU platform selected by system will be Amd/Epyc2 and above;
    • The Ampere CPU platform:
    • Ampere/Altra as the version of Ampere CPU platform selected by system will be Ampere/Altra and above.
    namePrefix String
    networkInterfaces List<Property Map>
    securityGroupId String
    securityGroups List<Property Map>
    securityMode String
    taints List<Property Map>
    uhostFamily String
    The host family, such as o1a, o1i, or o2i, sent as MasterUHostFamily. Lowercase alphanumeric family names are accepted; availability and compatibility are checked by the API. Existing o1i/o2i validation still requires machine_type = "O" and an Intel CPU platform. Use a matching CPU platform (for example Amd/Auto for o1a). Outstanding machines require boot_disk_type = "cloud_rssd".
    uniFeature String

    Uk8sClusterWorkerNetworkInterface, Uk8sClusterWorkerNetworkInterfaceArgs

    Uk8sClusterWorkerNetworkInterfaceEip, Uk8sClusterWorkerNetworkInterfaceEipArgs

    OperatorName string
    Bandwidth double
    CouponId string
    PayMode string
    ShareBandwidthId string
    OperatorName string
    Bandwidth float64
    CouponId string
    PayMode string
    ShareBandwidthId string
    operatorName String
    bandwidth Double
    couponId String
    payMode String
    shareBandwidthId String
    operatorName string
    bandwidth number
    couponId string
    payMode string
    shareBandwidthId string
    operatorName String
    bandwidth Number
    couponId String
    payMode String
    shareBandwidthId String

    Uk8sClusterWorkerSecurityGroup, Uk8sClusterWorkerSecurityGroupArgs

    Id string
    The ID of the resource instance.
    Name string
    Priority double
    Id string
    The ID of the resource instance.
    Name string
    Priority float64
    id string
    The ID of the resource instance.
    name string
    priority number
    id String
    The ID of the resource instance.
    name String
    priority Double
    id string
    The ID of the resource instance.
    name string
    priority number
    id str
    The ID of the resource instance.
    name str
    priority float
    id String
    The ID of the resource instance.
    name String
    priority Number

    Uk8sClusterWorkerTaint, Uk8sClusterWorkerTaintArgs

    Effect string
    Key string
    Value string
    Effect string
    Key string
    Value string
    effect string
    key string
    value string
    effect String
    key String
    value String
    effect string
    key string
    value string
    effect str
    key str
    value str
    effect String
    key String
    value String

    Package Details

    Repository
    ucloud ucloud/terraform-provider-ucloud
    License
    Notes
    This Pulumi package is based on the ucloud Terraform Provider.
    ucloud
    Viewing docs for ucloud 1.49.0
    published on Tuesday, Oct 27, 2026 by ucloud

      Try Pulumi Cloud free.
      Your team will thank you.

      Start free trial