published on Tuesday, Oct 27, 2026 by ucloud
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
Uk8s
Cluster Master - 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, thesubnet_idis Required. If not definedvpc_idandsubnet_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,monthanddynamicas pay by hour (specific permission required). (Default:month). - Cluster
Domain string - Delete
Disks boolWith Instance - 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 is0when pay by month and the instance will be valid till the last day of that month. It is not required whendynamic(pay by hour). - Enable
External boolApi Server - If expose the api server endpoint for external visiting.
- Forward
Src stringIp Method - Image
Id string - The default image ID.
master.image_idtakes 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 stringKey Id - Kms
Plugin List<string>Resources - Kube
Proxy Uk8sCluster Kube Proxy - The configuration of kube proxy, See kube proxy for details of attributes.
- Lb
Class string - Name string
- Tag string
- Timeouts
Uk8s
Cluster Timeouts - Uk8s
Cluster stringId - The ID of the resource instance.
- User
Data string - Plain-text user data, up to 16 KiB. The provider base64-encodes it and sends
UserDatawhen creating the cluster. It customizes startup behaviors when launching the instance. You may refer to user_data_document - User
Labels Dictionary<string, string> - UCloud resource labels, separate from Kubernetes Worker labels.
- Workers
List<Uk8s
Cluster Worker> - Repeatable initial Worker group configuration, sent as
Nodes.N.*inCreateUK8SClusterV2. See worker.
- Master
Uk8s
Cluster Master Args - 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, thesubnet_idis Required. If not definedvpc_idandsubnet_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,monthanddynamicas pay by hour (specific permission required). (Default:month). - Cluster
Domain string - Delete
Disks boolWith Instance - 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 is0when pay by month and the instance will be valid till the last day of that month. It is not required whendynamic(pay by hour). - Enable
External boolApi Server - If expose the api server endpoint for external visiting.
- Forward
Src stringIp Method - Image
Id string - The default image ID.
master.image_idtakes 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 stringKey Id - Kms
Plugin []stringResources - Kube
Proxy Uk8sCluster Kube Proxy Args - The configuration of kube proxy, See kube proxy for details of attributes.
- Lb
Class string - Name string
- Tag string
- Timeouts
Uk8s
Cluster Timeouts Args - Uk8s
Cluster stringId - The ID of the resource instance.
- User
Data string - Plain-text user data, up to 16 KiB. The provider base64-encodes it and sends
UserDatawhen creating the cluster. It customizes startup behaviors when launching the instance. You may refer to user_data_document - User
Labels map[string]string - UCloud resource labels, separate from Kubernetes Worker labels.
- Workers
[]Uk8s
Cluster Worker Args - Repeatable initial Worker group configuration, sent as
Nodes.N.*inCreateUK8SClusterV2. 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, thesubnet_idis Required. If not definedvpc_idandsubnet_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,monthanddynamicas pay by hour (specific permission required). (Default:month). - cluster_
domain string - delete_
disks_ boolwith_ instance - 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 is0when pay by month and the instance will be valid till the last day of that month. It is not required whendynamic(pay by hour). - enable_
external_ boolapi_ server - If expose the api server endpoint for external visiting.
- forward_
src_ stringip_ method - image_
id string - The default image ID.
master.image_idtakes 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_ stringkey_ id - kms_
plugin_ list(string)resources - 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_ stringid - The ID of the resource instance.
- user_
data string - Plain-text user data, up to 16 KiB. The provider base64-encodes it and sends
UserDatawhen 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.*inCreateUK8SClusterV2. See worker.
- master
Uk8s
Cluster Master - 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, thesubnet_idis Required. If not definedvpc_idandsubnet_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,monthanddynamicas pay by hour (specific permission required). (Default:month). - cluster
Domain String - delete
Disks BooleanWith Instance - 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 is0when pay by month and the instance will be valid till the last day of that month. It is not required whendynamic(pay by hour). - enable
External BooleanApi Server - If expose the api server endpoint for external visiting.
- forward
Src StringIp Method - image
Id String - The default image ID.
master.image_idtakes 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 StringKey Id - kms
Plugin List<String>Resources - kube
Proxy Uk8sCluster Kube Proxy - The configuration of kube proxy, See kube proxy for details of attributes.
- lb
Class String - name String
- tag String
- timeouts
Uk8s
Cluster Timeouts - uk8s
Cluster StringId - The ID of the resource instance.
- user
Data String - Plain-text user data, up to 16 KiB. The provider base64-encodes it and sends
UserDatawhen creating the cluster. It customizes startup behaviors when launching the instance. You may refer to user_data_document - user
Labels Map<String,String> - UCloud resource labels, separate from Kubernetes Worker labels.
- workers
List<Uk8s
Cluster Worker> - Repeatable initial Worker group configuration, sent as
Nodes.N.*inCreateUK8SClusterV2. See worker.
- master
Uk8s
Cluster Master - 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, thesubnet_idis Required. If not definedvpc_idandsubnet_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,monthanddynamicas pay by hour (specific permission required). (Default:month). - cluster
Domain string - delete
Disks booleanWith Instance - 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 is0when pay by month and the instance will be valid till the last day of that month. It is not required whendynamic(pay by hour). - enable
External booleanApi Server - If expose the api server endpoint for external visiting.
- forward
Src stringIp Method - image
Id string - The default image ID.
master.image_idtakes 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 stringKey Id - kms
Plugin string[]Resources - kube
Proxy Uk8sCluster Kube Proxy - The configuration of kube proxy, See kube proxy for details of attributes.
- lb
Class string - name string
- tag string
- timeouts
Uk8s
Cluster Timeouts - uk8s
Cluster stringId - The ID of the resource instance.
- user
Data string - Plain-text user data, up to 16 KiB. The provider base64-encodes it and sends
UserDatawhen creating the cluster. It customizes startup behaviors when launching the instance. You may refer to user_data_document - user
Labels {[key: string]: string} - UCloud resource labels, separate from Kubernetes Worker labels.
- workers
Uk8s
Cluster Worker[] - Repeatable initial Worker group configuration, sent as
Nodes.N.*inCreateUK8SClusterV2. See worker.
- master
Uk8s
Cluster Master Args - 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, thesubnet_idis Required. If not definedvpc_idandsubnet_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,monthanddynamicas pay by hour (specific permission required). (Default:month). - cluster_
domain str - delete_
disks_ boolwith_ instance - 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 is0when pay by month and the instance will be valid till the last day of that month. It is not required whendynamic(pay by hour). - enable_
external_ boolapi_ server - If expose the api server endpoint for external visiting.
- forward_
src_ strip_ method - image_
id str - The default image ID.
master.image_idtakes 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_ strkey_ id - kms_
plugin_ Sequence[str]resources - kube_
proxy Uk8sCluster Kube Proxy Args - The configuration of kube proxy, See kube proxy for details of attributes.
- lb_
class str - name str
- tag str
- timeouts
Uk8s
Cluster Timeouts Args - uk8s_
cluster_ strid - The ID of the resource instance.
- user_
data str - Plain-text user data, up to 16 KiB. The provider base64-encodes it and sends
UserDatawhen 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[Uk8s
Cluster Worker Args] - Repeatable initial Worker group configuration, sent as
Nodes.N.*inCreateUK8SClusterV2. See worker.
- master Property Map
- 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, thesubnet_idis Required. If not definedvpc_idandsubnet_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,monthanddynamicas pay by hour (specific permission required). (Default:month). - cluster
Domain String - delete
Disks BooleanWith Instance - 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 is0when pay by month and the instance will be valid till the last day of that month. It is not required whendynamic(pay by hour). - enable
External BooleanApi Server - If expose the api server endpoint for external visiting.
- forward
Src StringIp Method - image
Id String - The default image ID.
master.image_idtakes 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 StringKey Id - kms
Plugin List<String>Resources - kube
Proxy Property Map - The configuration of kube proxy, See kube proxy for details of attributes.
- lb
Class String - name String
- tag String
- timeouts Property Map
- uk8s
Cluster StringId - The ID of the resource instance.
- user
Data String - Plain-text user data, up to 16 KiB. The provider base64-encodes it and sends
UserDatawhen 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<Property Map>
- Repeatable initial Worker group configuration, sent as
Nodes.N.*inCreateUK8SClusterV2. See worker.
Outputs
All input properties are implicitly available as output properties. Additionally, the Uk8sCluster resource produces the following output properties:
- 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 stringServer - 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,ERRORandABNORMAL.
- 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 stringServer - 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,ERRORandABNORMAL.
- 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_ stringserver - 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,ERRORandABNORMAL.
- 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 StringServer - 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,ERRORandABNORMAL.
- 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 stringServer - 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,ERRORandABNORMAL.
- 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_ strserver - 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,ERRORandABNORMAL.
- 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 StringServer - 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,ERRORandABNORMAL.
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) -> Uk8sClusterfunc 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.
- Api
Server string - The api server endpoint in cluster.
- Charge
Type string - The charge type of instance, possible values are:
year,monthanddynamicas 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 boolWith Instance - 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 is0when pay by month and the instance will be valid till the last day of that month. It is not required whendynamic(pay by hour). - Enable
External boolApi Server - If expose the api server endpoint for external visiting.
- External
Api stringServer - 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 stringIp Method - Image
Id string - The default image ID.
master.image_idtakes 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 stringKey Id - Kms
Plugin List<string>Resources - Kube
Proxy Uk8sCluster Kube Proxy - 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
Uk8s
Cluster Master - 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,ERRORandABNORMAL. - Subnet
Id string - The ID of subnet. If defined
vpc_id, thesubnet_idis Required. If not definedvpc_idandsubnet_id, the instance will use the default subnet in the current region. - Tag string
- Timeouts
Uk8s
Cluster Timeouts - Uk8s
Cluster stringId - The ID of the resource instance.
- User
Data string - Plain-text user data, up to 16 KiB. The provider base64-encodes it and sends
UserDatawhen creating the cluster. It customizes startup behaviors when launching the instance. You may refer to user_data_document - User
Labels Dictionary<string, 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<Uk8s
Cluster Worker> - Repeatable initial Worker group configuration, sent as
Nodes.N.*inCreateUK8SClusterV2. See worker.
- Api
Server string - The api server endpoint in cluster.
- Charge
Type string - The charge type of instance, possible values are:
year,monthanddynamicas 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 boolWith Instance - 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 is0when pay by month and the instance will be valid till the last day of that month. It is not required whendynamic(pay by hour). - Enable
External boolApi Server - If expose the api server endpoint for external visiting.
- External
Api stringServer - 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 stringIp Method - Image
Id string - The default image ID.
master.image_idtakes 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 stringKey Id - Kms
Plugin []stringResources - Kube
Proxy Uk8sCluster Kube Proxy Args - 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
Uk8s
Cluster Master Args - 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,ERRORandABNORMAL. - Subnet
Id string - The ID of subnet. If defined
vpc_id, thesubnet_idis Required. If not definedvpc_idandsubnet_id, the instance will use the default subnet in the current region. - Tag string
- Timeouts
Uk8s
Cluster Timeouts Args - Uk8s
Cluster stringId - The ID of the resource instance.
- User
Data string - Plain-text user data, up to 16 KiB. The provider base64-encodes it and sends
UserDatawhen creating the cluster. It customizes startup behaviors when launching the instance. You may refer to user_data_document - User
Labels map[string]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
[]Uk8s
Cluster Worker Args - Repeatable initial Worker group configuration, sent as
Nodes.N.*inCreateUK8SClusterV2. See worker.
- api_
server string - The api server endpoint in cluster.
- charge_
type string - The charge type of instance, possible values are:
year,monthanddynamicas 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_ boolwith_ instance - 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 is0when pay by month and the instance will be valid till the last day of that month. It is not required whendynamic(pay by hour). - enable_
external_ boolapi_ server - If expose the api server endpoint for external visiting.
- external_
api_ stringserver - 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_ stringip_ method - image_
id string - The default image ID.
master.image_idtakes 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_ stringkey_ id - kms_
plugin_ list(string)resources - 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,ERRORandABNORMAL. - subnet_
id string - The ID of subnet. If defined
vpc_id, thesubnet_idis Required. If not definedvpc_idandsubnet_id, the instance will use the default subnet in the current region. - tag string
- timeouts object
- uk8s_
cluster_ stringid - The ID of the resource instance.
- user_
data string - Plain-text user data, up to 16 KiB. The provider base64-encodes it and sends
UserDatawhen 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.*inCreateUK8SClusterV2. See worker.
- api
Server String - The api server endpoint in cluster.
- charge
Type String - The charge type of instance, possible values are:
year,monthanddynamicas 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 BooleanWith Instance - 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 is0when pay by month and the instance will be valid till the last day of that month. It is not required whendynamic(pay by hour). - enable
External BooleanApi Server - If expose the api server endpoint for external visiting.
- external
Api StringServer - 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 StringIp Method - image
Id String - The default image ID.
master.image_idtakes 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 StringKey Id - kms
Plugin List<String>Resources - kube
Proxy Uk8sCluster Kube Proxy - 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
Uk8s
Cluster Master - 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,ERRORandABNORMAL. - subnet
Id String - The ID of subnet. If defined
vpc_id, thesubnet_idis Required. If not definedvpc_idandsubnet_id, the instance will use the default subnet in the current region. - tag String
- timeouts
Uk8s
Cluster Timeouts - uk8s
Cluster StringId - The ID of the resource instance.
- user
Data String - Plain-text user data, up to 16 KiB. The provider base64-encodes it and sends
UserDatawhen creating the cluster. It customizes startup behaviors when launching the instance. You may refer to user_data_document - user
Labels Map<String,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<Uk8s
Cluster Worker> - Repeatable initial Worker group configuration, sent as
Nodes.N.*inCreateUK8SClusterV2. See worker.
- api
Server string - The api server endpoint in cluster.
- charge
Type string - The charge type of instance, possible values are:
year,monthanddynamicas 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 booleanWith Instance - 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 is0when pay by month and the instance will be valid till the last day of that month. It is not required whendynamic(pay by hour). - enable
External booleanApi Server - If expose the api server endpoint for external visiting.
- external
Api stringServer - 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 stringIp Method - image
Id string - The default image ID.
master.image_idtakes 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 stringKey Id - kms
Plugin string[]Resources - kube
Proxy Uk8sCluster Kube Proxy - 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
Uk8s
Cluster Master - 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,ERRORandABNORMAL. - subnet
Id string - The ID of subnet. If defined
vpc_id, thesubnet_idis Required. If not definedvpc_idandsubnet_id, the instance will use the default subnet in the current region. - tag string
- timeouts
Uk8s
Cluster Timeouts - uk8s
Cluster stringId - The ID of the resource instance.
- user
Data string - Plain-text user data, up to 16 KiB. The provider base64-encodes it and sends
UserDatawhen creating the cluster. It customizes startup behaviors when launching the instance. You may refer to user_data_document - user
Labels {[key: string]: 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
Uk8s
Cluster Worker[] - Repeatable initial Worker group configuration, sent as
Nodes.N.*inCreateUK8SClusterV2. See worker.
- api_
server str - The api server endpoint in cluster.
- charge_
type str - The charge type of instance, possible values are:
year,monthanddynamicas 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_ boolwith_ instance - 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 is0when pay by month and the instance will be valid till the last day of that month. It is not required whendynamic(pay by hour). - enable_
external_ boolapi_ server - If expose the api server endpoint for external visiting.
- external_
api_ strserver - 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_ strip_ method - image_
id str - The default image ID.
master.image_idtakes 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_ strkey_ id - kms_
plugin_ Sequence[str]resources - kube_
proxy Uk8sCluster Kube Proxy Args - 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
Uk8s
Cluster Master Args - 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,ERRORandABNORMAL. - subnet_
id str - The ID of subnet. If defined
vpc_id, thesubnet_idis Required. If not definedvpc_idandsubnet_id, the instance will use the default subnet in the current region. - tag str
- timeouts
Uk8s
Cluster Timeouts Args - uk8s_
cluster_ strid - The ID of the resource instance.
- user_
data str - Plain-text user data, up to 16 KiB. The provider base64-encodes it and sends
UserDatawhen 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[Uk8s
Cluster Worker Args] - Repeatable initial Worker group configuration, sent as
Nodes.N.*inCreateUK8SClusterV2. See worker.
- api
Server String - The api server endpoint in cluster.
- charge
Type String - The charge type of instance, possible values are:
year,monthanddynamicas 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 BooleanWith Instance - 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 is0when pay by month and the instance will be valid till the last day of that month. It is not required whendynamic(pay by hour). - enable
External BooleanApi Server - If expose the api server endpoint for external visiting.
- external
Api StringServer - 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 StringIp Method - image
Id String - The default image ID.
master.image_idtakes 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 StringKey Id - kms
Plugin List<String>Resources - kube
Proxy 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.
- lb
Class String - master Property Map
- 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,ERRORandABNORMAL. - subnet
Id String - The ID of subnet. If defined
vpc_id, thesubnet_idis Required. If not definedvpc_idandsubnet_id, the instance will use the default subnet in the current region. - tag String
- timeouts Property Map
- uk8s
Cluster StringId - The ID of the resource instance.
- user
Data String - Plain-text user data, up to 16 KiB. The provider base64-encodes it and sends
UserDatawhen 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<Property Map>
- Repeatable initial Worker group configuration, sent as
Nodes.N.*inCreateUK8SClusterV2. 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
- 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 doubleSize - System disk size in GB, from 40 to 500. When omitted, the API default is 40 GB.
- Boot
Disk stringType - The type of boot disk. Possible values are:
local_normalandlocal_ssdfor local boot disk,cloud_ssdfor cloud SSD boot disk,cloud_rssdas RDMA-SSD cloud disk. (Default:cloud_ssd). Thelocal_ssdandcloud_ssdare 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_typeandmemorywheninstance_typeis omitted. Available specifications depend on the machine type and region. - Data
Disk stringKms Key Id - Data
Disk doubleSize - 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 stringType - The type of local data disk. Possible values are:
local_normalandlocal_ssdfor local data disk. (Default:cloud_ssd). Thelocal_ssdis not fully support by all regions as data disk type, please proceed to UCloud console for more details. In addition, thedata_disk_typemust be same asboot_disk_typeif specified. - Image
Id string - The Master image ID, sent as
MasterImageId. When omitted, the API uses the top-levelimage_idor 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 withmachine_type,cpu, andmemory. - Machine
Type string - The uppercase machine type, such as
NorO. Required together withcpuandmemorywheninstance_typeis omitted. - Memory double
- Memory in MB, at least 4096 and a multiple of 1024. Required with
machine_typeandcpuwheninstance_typeis omitted. For 4 GB, use4096. - Min
Cpu stringPlatform - Specifies a minimum CPU platform for the VM instance. (Default:
Intel/Auto). You may refer to min_cpu_platform- The Intel CPU platform:
Intel/Autoas the Intel CPU platform version will be selected randomly by system;Intel/IvyBridgeas Intel V2, the version of Intel CPU platform selected by system will beIntel/IvyBridgeand above;Intel/Haswellas Intel V3, the version of Intel CPU platform selected by system will beIntel/Haswelland above;Intel/Broadwellas Intel V4, the version of Intel CPU platform selected by system will beIntel/Broadwelland above;Intel/Skylakeas Intel V5, the version of Intel CPU platform selected by system will beIntel/Skylakeand above;Intel/Cascadelakeas Intel V6, the version of Intel CPU platform selected by system will beIntel/Cascadelake;Intel/CascadelakeRas the version of Intel CPU platform, currently can only support by theosinstance type;Intel/IceLake,Intel/SapphireRapids, andIntel/EmeraldRapidsfor newer Intel CPU platforms;- The AMD CPU platform:
Amd/Autoas the Amd CPU platform version will be selected randomly by system;Amd/Epyc2as the version of Amd CPU platform selected by system will beAmd/Epyc2and above;- The Ampere CPU platform:
Ampere/Altraas the version of Ampere CPU platform selected by system will beAmpere/Altraand above.
- Security
Groups List<Uk8sCluster Master Security Group> - Uhost
Family string - The host family, such as
o1a,o1i, oro2i, sent asMasterUHostFamily. Lowercase alphanumeric family names are accepted; availability and compatibility are checked by the API. Existingo1i/o2ivalidation still requiresmachine_type = "O"and an Intel CPU platform. Use a matching CPU platform (for exampleAmd/Autoforo1a). Outstanding machines requireboot_disk_type = "cloud_rssd".
- Availability
Zones []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 float64Size - System disk size in GB, from 40 to 500. When omitted, the API default is 40 GB.
- Boot
Disk stringType - The type of boot disk. Possible values are:
local_normalandlocal_ssdfor local boot disk,cloud_ssdfor cloud SSD boot disk,cloud_rssdas RDMA-SSD cloud disk. (Default:cloud_ssd). Thelocal_ssdandcloud_ssdare 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_typeandmemorywheninstance_typeis omitted. Available specifications depend on the machine type and region. - Data
Disk stringKms Key Id - Data
Disk float64Size - 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 stringType - The type of local data disk. Possible values are:
local_normalandlocal_ssdfor local data disk. (Default:cloud_ssd). Thelocal_ssdis not fully support by all regions as data disk type, please proceed to UCloud console for more details. In addition, thedata_disk_typemust be same asboot_disk_typeif specified. - Image
Id string - The Master image ID, sent as
MasterImageId. When omitted, the API uses the top-levelimage_idor 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 withmachine_type,cpu, andmemory. - Machine
Type string - The uppercase machine type, such as
NorO. Required together withcpuandmemorywheninstance_typeis omitted. - Memory float64
- Memory in MB, at least 4096 and a multiple of 1024. Required with
machine_typeandcpuwheninstance_typeis omitted. For 4 GB, use4096. - Min
Cpu stringPlatform - Specifies a minimum CPU platform for the VM instance. (Default:
Intel/Auto). You may refer to min_cpu_platform- The Intel CPU platform:
Intel/Autoas the Intel CPU platform version will be selected randomly by system;Intel/IvyBridgeas Intel V2, the version of Intel CPU platform selected by system will beIntel/IvyBridgeand above;Intel/Haswellas Intel V3, the version of Intel CPU platform selected by system will beIntel/Haswelland above;Intel/Broadwellas Intel V4, the version of Intel CPU platform selected by system will beIntel/Broadwelland above;Intel/Skylakeas Intel V5, the version of Intel CPU platform selected by system will beIntel/Skylakeand above;Intel/Cascadelakeas Intel V6, the version of Intel CPU platform selected by system will beIntel/Cascadelake;Intel/CascadelakeRas the version of Intel CPU platform, currently can only support by theosinstance type;Intel/IceLake,Intel/SapphireRapids, andIntel/EmeraldRapidsfor newer Intel CPU platforms;- The AMD CPU platform:
Amd/Autoas the Amd CPU platform version will be selected randomly by system;Amd/Epyc2as the version of Amd CPU platform selected by system will beAmd/Epyc2and above;- The Ampere CPU platform:
Ampere/Altraas the version of Ampere CPU platform selected by system will beAmpere/Altraand above.
- Security
Groups []Uk8sCluster Master Security Group - Uhost
Family string - The host family, such as
o1a,o1i, oro2i, sent asMasterUHostFamily. Lowercase alphanumeric family names are accepted; availability and compatibility are checked by the API. Existingo1i/o2ivalidation still requiresmachine_type = "O"and an Intel CPU platform. Use a matching CPU platform (for exampleAmd/Autoforo1a). Outstanding machines requireboot_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_ numbersize - System disk size in GB, from 40 to 500. When omitted, the API default is 40 GB.
- boot_
disk_ stringtype - The type of boot disk. Possible values are:
local_normalandlocal_ssdfor local boot disk,cloud_ssdfor cloud SSD boot disk,cloud_rssdas RDMA-SSD cloud disk. (Default:cloud_ssd). Thelocal_ssdandcloud_ssdare 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_typeandmemorywheninstance_typeis omitted. Available specifications depend on the machine type and region. - data_
disk_ stringkms_ key_ id - data_
disk_ numbersize - 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_ stringtype - The type of local data disk. Possible values are:
local_normalandlocal_ssdfor local data disk. (Default:cloud_ssd). Thelocal_ssdis not fully support by all regions as data disk type, please proceed to UCloud console for more details. In addition, thedata_disk_typemust be same asboot_disk_typeif specified. - image_
id string - The Master image ID, sent as
MasterImageId. When omitted, the API uses the top-levelimage_idor 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 withmachine_type,cpu, andmemory. - machine_
type string - The uppercase machine type, such as
NorO. Required together withcpuandmemorywheninstance_typeis omitted. - memory number
- Memory in MB, at least 4096 and a multiple of 1024. Required with
machine_typeandcpuwheninstance_typeis omitted. For 4 GB, use4096. - min_
cpu_ stringplatform - Specifies a minimum CPU platform for the VM instance. (Default:
Intel/Auto). You may refer to min_cpu_platform- The Intel CPU platform:
Intel/Autoas the Intel CPU platform version will be selected randomly by system;Intel/IvyBridgeas Intel V2, the version of Intel CPU platform selected by system will beIntel/IvyBridgeand above;Intel/Haswellas Intel V3, the version of Intel CPU platform selected by system will beIntel/Haswelland above;Intel/Broadwellas Intel V4, the version of Intel CPU platform selected by system will beIntel/Broadwelland above;Intel/Skylakeas Intel V5, the version of Intel CPU platform selected by system will beIntel/Skylakeand above;Intel/Cascadelakeas Intel V6, the version of Intel CPU platform selected by system will beIntel/Cascadelake;Intel/CascadelakeRas the version of Intel CPU platform, currently can only support by theosinstance type;Intel/IceLake,Intel/SapphireRapids, andIntel/EmeraldRapidsfor newer Intel CPU platforms;- The AMD CPU platform:
Amd/Autoas the Amd CPU platform version will be selected randomly by system;Amd/Epyc2as the version of Amd CPU platform selected by system will beAmd/Epyc2and above;- The Ampere CPU platform:
Ampere/Altraas the version of Ampere CPU platform selected by system will beAmpere/Altraand above.
- security_
groups list(object) - uhost_
family string - The host family, such as
o1a,o1i, oro2i, sent asMasterUHostFamily. Lowercase alphanumeric family names are accepted; availability and compatibility are checked by the API. Existingo1i/o2ivalidation still requiresmachine_type = "O"and an Intel CPU platform. Use a matching CPU platform (for exampleAmd/Autoforo1a). Outstanding machines requireboot_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 DoubleSize - System disk size in GB, from 40 to 500. When omitted, the API default is 40 GB.
- boot
Disk StringType - The type of boot disk. Possible values are:
local_normalandlocal_ssdfor local boot disk,cloud_ssdfor cloud SSD boot disk,cloud_rssdas RDMA-SSD cloud disk. (Default:cloud_ssd). Thelocal_ssdandcloud_ssdare 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_typeandmemorywheninstance_typeis omitted. Available specifications depend on the machine type and region. - data
Disk StringKms Key Id - data
Disk DoubleSize - 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 StringType - The type of local data disk. Possible values are:
local_normalandlocal_ssdfor local data disk. (Default:cloud_ssd). Thelocal_ssdis not fully support by all regions as data disk type, please proceed to UCloud console for more details. In addition, thedata_disk_typemust be same asboot_disk_typeif specified. - image
Id String - The Master image ID, sent as
MasterImageId. When omitted, the API uses the top-levelimage_idor 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 withmachine_type,cpu, andmemory. - machine
Type String - The uppercase machine type, such as
NorO. Required together withcpuandmemorywheninstance_typeis omitted. - memory Double
- Memory in MB, at least 4096 and a multiple of 1024. Required with
machine_typeandcpuwheninstance_typeis omitted. For 4 GB, use4096. - min
Cpu StringPlatform - Specifies a minimum CPU platform for the VM instance. (Default:
Intel/Auto). You may refer to min_cpu_platform- The Intel CPU platform:
Intel/Autoas the Intel CPU platform version will be selected randomly by system;Intel/IvyBridgeas Intel V2, the version of Intel CPU platform selected by system will beIntel/IvyBridgeand above;Intel/Haswellas Intel V3, the version of Intel CPU platform selected by system will beIntel/Haswelland above;Intel/Broadwellas Intel V4, the version of Intel CPU platform selected by system will beIntel/Broadwelland above;Intel/Skylakeas Intel V5, the version of Intel CPU platform selected by system will beIntel/Skylakeand above;Intel/Cascadelakeas Intel V6, the version of Intel CPU platform selected by system will beIntel/Cascadelake;Intel/CascadelakeRas the version of Intel CPU platform, currently can only support by theosinstance type;Intel/IceLake,Intel/SapphireRapids, andIntel/EmeraldRapidsfor newer Intel CPU platforms;- The AMD CPU platform:
Amd/Autoas the Amd CPU platform version will be selected randomly by system;Amd/Epyc2as the version of Amd CPU platform selected by system will beAmd/Epyc2and above;- The Ampere CPU platform:
Ampere/Altraas the version of Ampere CPU platform selected by system will beAmpere/Altraand above.
- security
Groups List<Uk8sCluster Master Security Group> - uhost
Family String - The host family, such as
o1a,o1i, oro2i, sent asMasterUHostFamily. Lowercase alphanumeric family names are accepted; availability and compatibility are checked by the API. Existingo1i/o2ivalidation still requiresmachine_type = "O"and an Intel CPU platform. Use a matching CPU platform (for exampleAmd/Autoforo1a). Outstanding machines requireboot_disk_type = "cloud_rssd".
- availability
Zones 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 numberSize - System disk size in GB, from 40 to 500. When omitted, the API default is 40 GB.
- boot
Disk stringType - The type of boot disk. Possible values are:
local_normalandlocal_ssdfor local boot disk,cloud_ssdfor cloud SSD boot disk,cloud_rssdas RDMA-SSD cloud disk. (Default:cloud_ssd). Thelocal_ssdandcloud_ssdare 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_typeandmemorywheninstance_typeis omitted. Available specifications depend on the machine type and region. - data
Disk stringKms Key Id - data
Disk numberSize - 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 stringType - The type of local data disk. Possible values are:
local_normalandlocal_ssdfor local data disk. (Default:cloud_ssd). Thelocal_ssdis not fully support by all regions as data disk type, please proceed to UCloud console for more details. In addition, thedata_disk_typemust be same asboot_disk_typeif specified. - image
Id string - The Master image ID, sent as
MasterImageId. When omitted, the API uses the top-levelimage_idor 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 withmachine_type,cpu, andmemory. - machine
Type string - The uppercase machine type, such as
NorO. Required together withcpuandmemorywheninstance_typeis omitted. - memory number
- Memory in MB, at least 4096 and a multiple of 1024. Required with
machine_typeandcpuwheninstance_typeis omitted. For 4 GB, use4096. - min
Cpu stringPlatform - Specifies a minimum CPU platform for the VM instance. (Default:
Intel/Auto). You may refer to min_cpu_platform- The Intel CPU platform:
Intel/Autoas the Intel CPU platform version will be selected randomly by system;Intel/IvyBridgeas Intel V2, the version of Intel CPU platform selected by system will beIntel/IvyBridgeand above;Intel/Haswellas Intel V3, the version of Intel CPU platform selected by system will beIntel/Haswelland above;Intel/Broadwellas Intel V4, the version of Intel CPU platform selected by system will beIntel/Broadwelland above;Intel/Skylakeas Intel V5, the version of Intel CPU platform selected by system will beIntel/Skylakeand above;Intel/Cascadelakeas Intel V6, the version of Intel CPU platform selected by system will beIntel/Cascadelake;Intel/CascadelakeRas the version of Intel CPU platform, currently can only support by theosinstance type;Intel/IceLake,Intel/SapphireRapids, andIntel/EmeraldRapidsfor newer Intel CPU platforms;- The AMD CPU platform:
Amd/Autoas the Amd CPU platform version will be selected randomly by system;Amd/Epyc2as the version of Amd CPU platform selected by system will beAmd/Epyc2and above;- The Ampere CPU platform:
Ampere/Altraas the version of Ampere CPU platform selected by system will beAmpere/Altraand above.
- security
Groups Uk8sCluster Master Security Group[] - uhost
Family string - The host family, such as
o1a,o1i, oro2i, sent asMasterUHostFamily. Lowercase alphanumeric family names are accepted; availability and compatibility are checked by the API. Existingo1i/o2ivalidation still requiresmachine_type = "O"and an Intel CPU platform. Use a matching CPU platform (for exampleAmd/Autoforo1a). Outstanding machines requireboot_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_ floatsize - System disk size in GB, from 40 to 500. When omitted, the API default is 40 GB.
- boot_
disk_ strtype - The type of boot disk. Possible values are:
local_normalandlocal_ssdfor local boot disk,cloud_ssdfor cloud SSD boot disk,cloud_rssdas RDMA-SSD cloud disk. (Default:cloud_ssd). Thelocal_ssdandcloud_ssdare 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_typeandmemorywheninstance_typeis omitted. Available specifications depend on the machine type and region. - data_
disk_ strkms_ key_ id - data_
disk_ floatsize - 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_ strtype - The type of local data disk. Possible values are:
local_normalandlocal_ssdfor local data disk. (Default:cloud_ssd). Thelocal_ssdis not fully support by all regions as data disk type, please proceed to UCloud console for more details. In addition, thedata_disk_typemust be same asboot_disk_typeif specified. - image_
id str - The Master image ID, sent as
MasterImageId. When omitted, the API uses the top-levelimage_idor 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 withmachine_type,cpu, andmemory. - machine_
type str - The uppercase machine type, such as
NorO. Required together withcpuandmemorywheninstance_typeis omitted. - memory float
- Memory in MB, at least 4096 and a multiple of 1024. Required with
machine_typeandcpuwheninstance_typeis omitted. For 4 GB, use4096. - min_
cpu_ strplatform - Specifies a minimum CPU platform for the VM instance. (Default:
Intel/Auto). You may refer to min_cpu_platform- The Intel CPU platform:
Intel/Autoas the Intel CPU platform version will be selected randomly by system;Intel/IvyBridgeas Intel V2, the version of Intel CPU platform selected by system will beIntel/IvyBridgeand above;Intel/Haswellas Intel V3, the version of Intel CPU platform selected by system will beIntel/Haswelland above;Intel/Broadwellas Intel V4, the version of Intel CPU platform selected by system will beIntel/Broadwelland above;Intel/Skylakeas Intel V5, the version of Intel CPU platform selected by system will beIntel/Skylakeand above;Intel/Cascadelakeas Intel V6, the version of Intel CPU platform selected by system will beIntel/Cascadelake;Intel/CascadelakeRas the version of Intel CPU platform, currently can only support by theosinstance type;Intel/IceLake,Intel/SapphireRapids, andIntel/EmeraldRapidsfor newer Intel CPU platforms;- The AMD CPU platform:
Amd/Autoas the Amd CPU platform version will be selected randomly by system;Amd/Epyc2as the version of Amd CPU platform selected by system will beAmd/Epyc2and above;- The Ampere CPU platform:
Ampere/Altraas the version of Ampere CPU platform selected by system will beAmpere/Altraand above.
- security_
groups Sequence[Uk8sCluster Master Security Group] - uhost_
family str - The host family, such as
o1a,o1i, oro2i, sent asMasterUHostFamily. Lowercase alphanumeric family names are accepted; availability and compatibility are checked by the API. Existingo1i/o2ivalidation still requiresmachine_type = "O"and an Intel CPU platform. Use a matching CPU platform (for exampleAmd/Autoforo1a). Outstanding machines requireboot_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 NumberSize - System disk size in GB, from 40 to 500. When omitted, the API default is 40 GB.
- boot
Disk StringType - The type of boot disk. Possible values are:
local_normalandlocal_ssdfor local boot disk,cloud_ssdfor cloud SSD boot disk,cloud_rssdas RDMA-SSD cloud disk. (Default:cloud_ssd). Thelocal_ssdandcloud_ssdare 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_typeandmemorywheninstance_typeis omitted. Available specifications depend on the machine type and region. - data
Disk StringKms Key Id - data
Disk NumberSize - 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 StringType - The type of local data disk. Possible values are:
local_normalandlocal_ssdfor local data disk. (Default:cloud_ssd). Thelocal_ssdis not fully support by all regions as data disk type, please proceed to UCloud console for more details. In addition, thedata_disk_typemust be same asboot_disk_typeif specified. - image
Id String - The Master image ID, sent as
MasterImageId. When omitted, the API uses the top-levelimage_idor 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 withmachine_type,cpu, andmemory. - machine
Type String - The uppercase machine type, such as
NorO. Required together withcpuandmemorywheninstance_typeis omitted. - memory Number
- Memory in MB, at least 4096 and a multiple of 1024. Required with
machine_typeandcpuwheninstance_typeis omitted. For 4 GB, use4096. - min
Cpu StringPlatform - Specifies a minimum CPU platform for the VM instance. (Default:
Intel/Auto). You may refer to min_cpu_platform- The Intel CPU platform:
Intel/Autoas the Intel CPU platform version will be selected randomly by system;Intel/IvyBridgeas Intel V2, the version of Intel CPU platform selected by system will beIntel/IvyBridgeand above;Intel/Haswellas Intel V3, the version of Intel CPU platform selected by system will beIntel/Haswelland above;Intel/Broadwellas Intel V4, the version of Intel CPU platform selected by system will beIntel/Broadwelland above;Intel/Skylakeas Intel V5, the version of Intel CPU platform selected by system will beIntel/Skylakeand above;Intel/Cascadelakeas Intel V6, the version of Intel CPU platform selected by system will beIntel/Cascadelake;Intel/CascadelakeRas the version of Intel CPU platform, currently can only support by theosinstance type;Intel/IceLake,Intel/SapphireRapids, andIntel/EmeraldRapidsfor newer Intel CPU platforms;- The AMD CPU platform:
Amd/Autoas the Amd CPU platform version will be selected randomly by system;Amd/Epyc2as the version of Amd CPU platform selected by system will beAmd/Epyc2and above;- The Ampere CPU platform:
Ampere/Altraas the version of Ampere CPU platform selected by system will beAmpere/Altraand above.
- security
Groups List<Property Map> - uhost
Family String - The host family, such as
o1a,o1i, oro2i, sent asMasterUHostFamily. Lowercase alphanumeric family names are accepted; availability and compatibility are checked by the API. Existingo1i/o2ivalidation still requiresmachine_type = "O"and an Intel CPU platform. Use a matching CPU platform (for exampleAmd/Autoforo1a). Outstanding machines requireboot_disk_type = "cloud_rssd".
Uk8sClusterMasterSecurityGroup, Uk8sClusterMasterSecurityGroupArgs
- Id string
- The ID of the resource instance.
- Master
Index double - Name string
- Priority double
- Id string
- The ID of the resource instance.
- Master
Index 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.
- master
Index Double - name String
- priority Double
- id string
- The ID of the resource instance.
- master
Index 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.
- master
Index Number - name String
- priority Number
Uk8sClusterTimeouts, Uk8sClusterTimeoutsArgs
Uk8sClusterWorker, Uk8sClusterWorkerArgs
- Availability
Zone string - Cpu double
- Number of CPU cores, at least 2. Required with
machine_typeandmemorywheninstance_typeis omitted. Available specifications depend on the machine type and region. - Machine
Type string - The uppercase machine type, such as
NorO. Required together withcpuandmemorywheninstance_typeis omitted. - Memory double
- Memory in MB, at least 4096 and a multiple of 1024. Required with
machine_typeandcpuwheninstance_typeis omitted. For 4 GB, use4096. - Boot
Disk doubleSize - System disk size in GB, from 40 to 500. When omitted, the API default is 40 GB.
- Boot
Disk stringType - The type of boot disk. Possible values are:
local_normalandlocal_ssdfor local boot disk,cloud_ssdfor cloud SSD boot disk,cloud_rssdas RDMA-SSD cloud disk. (Default:cloud_ssd). Thelocal_ssdandcloud_ssdare not fully support by all regions as boot disk type, please proceed to UCloud console for more details. - Count double
- Data
Disk stringKms Key Id - Data
Disk doubleSize - 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 stringType - The type of local data disk. Possible values are:
local_normalandlocal_ssdfor local data disk. (Default:cloud_ssd). Thelocal_ssdis not fully support by all regions as data disk type, please proceed to UCloud console for more details. In addition, thedata_disk_typemust be same asboot_disk_typeif specified. - Gpu double
- Gpu
Type string - Image
Id string - The default image ID.
master.image_idtakes precedence for Master nodes. - Isolation
Group string - Kubelet
Configuration Dictionary<string, string> - Kubelet configuration map supporting only ContainerLogMaxFiles, an integer string of at least 2.
- Labels Dictionary<string, string>
- Max
Pods double - Min
Cpu stringPlatform - Specifies a minimum CPU platform for the VM instance. (Default:
Intel/Auto). You may refer to min_cpu_platform- The Intel CPU platform:
Intel/Autoas the Intel CPU platform version will be selected randomly by system;Intel/IvyBridgeas Intel V2, the version of Intel CPU platform selected by system will beIntel/IvyBridgeand above;Intel/Haswellas Intel V3, the version of Intel CPU platform selected by system will beIntel/Haswelland above;Intel/Broadwellas Intel V4, the version of Intel CPU platform selected by system will beIntel/Broadwelland above;Intel/Skylakeas Intel V5, the version of Intel CPU platform selected by system will beIntel/Skylakeand above;Intel/Cascadelakeas Intel V6, the version of Intel CPU platform selected by system will beIntel/Cascadelake;Intel/CascadelakeRas the version of Intel CPU platform, currently can only support by theosinstance type;Intel/IceLake,Intel/SapphireRapids, andIntel/EmeraldRapidsfor newer Intel CPU platforms;- The AMD CPU platform:
Amd/Autoas the Amd CPU platform version will be selected randomly by system;Amd/Epyc2as the version of Amd CPU platform selected by system will beAmd/Epyc2and above;- The Ampere CPU platform:
Ampere/Altraas the version of Ampere CPU platform selected by system will beAmpere/Altraand above.
- Name
Prefix string - Network
Interfaces List<Uk8sCluster Worker Network Interface> - Security
Group stringId - Security
Groups List<Uk8sCluster Worker Security Group> - Security
Mode string - Taints
List<Uk8s
Cluster Worker Taint> - Uhost
Family string - The host family, such as
o1a,o1i, oro2i, sent asMasterUHostFamily. Lowercase alphanumeric family names are accepted; availability and compatibility are checked by the API. Existingo1i/o2ivalidation still requiresmachine_type = "O"and an Intel CPU platform. Use a matching CPU platform (for exampleAmd/Autoforo1a). Outstanding machines requireboot_disk_type = "cloud_rssd". - Uni
Feature string
- Availability
Zone string - Cpu float64
- Number of CPU cores, at least 2. Required with
machine_typeandmemorywheninstance_typeis omitted. Available specifications depend on the machine type and region. - Machine
Type string - The uppercase machine type, such as
NorO. Required together withcpuandmemorywheninstance_typeis omitted. - Memory float64
- Memory in MB, at least 4096 and a multiple of 1024. Required with
machine_typeandcpuwheninstance_typeis omitted. For 4 GB, use4096. - Boot
Disk float64Size - System disk size in GB, from 40 to 500. When omitted, the API default is 40 GB.
- Boot
Disk stringType - The type of boot disk. Possible values are:
local_normalandlocal_ssdfor local boot disk,cloud_ssdfor cloud SSD boot disk,cloud_rssdas RDMA-SSD cloud disk. (Default:cloud_ssd). Thelocal_ssdandcloud_ssdare not fully support by all regions as boot disk type, please proceed to UCloud console for more details. - Count float64
- Data
Disk stringKms Key Id - Data
Disk float64Size - 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 stringType - The type of local data disk. Possible values are:
local_normalandlocal_ssdfor local data disk. (Default:cloud_ssd). Thelocal_ssdis not fully support by all regions as data disk type, please proceed to UCloud console for more details. In addition, thedata_disk_typemust be same asboot_disk_typeif specified. - Gpu float64
- Gpu
Type string - Image
Id string - The default image ID.
master.image_idtakes precedence for Master nodes. - Isolation
Group string - Kubelet
Configuration map[string]string - Kubelet configuration map supporting only ContainerLogMaxFiles, an integer string of at least 2.
- Labels map[string]string
- Max
Pods float64 - Min
Cpu stringPlatform - Specifies a minimum CPU platform for the VM instance. (Default:
Intel/Auto). You may refer to min_cpu_platform- The Intel CPU platform:
Intel/Autoas the Intel CPU platform version will be selected randomly by system;Intel/IvyBridgeas Intel V2, the version of Intel CPU platform selected by system will beIntel/IvyBridgeand above;Intel/Haswellas Intel V3, the version of Intel CPU platform selected by system will beIntel/Haswelland above;Intel/Broadwellas Intel V4, the version of Intel CPU platform selected by system will beIntel/Broadwelland above;Intel/Skylakeas Intel V5, the version of Intel CPU platform selected by system will beIntel/Skylakeand above;Intel/Cascadelakeas Intel V6, the version of Intel CPU platform selected by system will beIntel/Cascadelake;Intel/CascadelakeRas the version of Intel CPU platform, currently can only support by theosinstance type;Intel/IceLake,Intel/SapphireRapids, andIntel/EmeraldRapidsfor newer Intel CPU platforms;- The AMD CPU platform:
Amd/Autoas the Amd CPU platform version will be selected randomly by system;Amd/Epyc2as the version of Amd CPU platform selected by system will beAmd/Epyc2and above;- The Ampere CPU platform:
Ampere/Altraas the version of Ampere CPU platform selected by system will beAmpere/Altraand above.
- Name
Prefix string - Network
Interfaces []Uk8sCluster Worker Network Interface - Security
Group stringId - Security
Groups []Uk8sCluster Worker Security Group - Security
Mode string - Taints
[]Uk8s
Cluster Worker Taint - Uhost
Family string - The host family, such as
o1a,o1i, oro2i, sent asMasterUHostFamily. Lowercase alphanumeric family names are accepted; availability and compatibility are checked by the API. Existingo1i/o2ivalidation still requiresmachine_type = "O"and an Intel CPU platform. Use a matching CPU platform (for exampleAmd/Autoforo1a). Outstanding machines requireboot_disk_type = "cloud_rssd". - Uni
Feature string
- availability_
zone string - cpu number
- Number of CPU cores, at least 2. Required with
machine_typeandmemorywheninstance_typeis omitted. Available specifications depend on the machine type and region. - machine_
type string - The uppercase machine type, such as
NorO. Required together withcpuandmemorywheninstance_typeis omitted. - memory number
- Memory in MB, at least 4096 and a multiple of 1024. Required with
machine_typeandcpuwheninstance_typeis omitted. For 4 GB, use4096. - boot_
disk_ numbersize - System disk size in GB, from 40 to 500. When omitted, the API default is 40 GB.
- boot_
disk_ stringtype - The type of boot disk. Possible values are:
local_normalandlocal_ssdfor local boot disk,cloud_ssdfor cloud SSD boot disk,cloud_rssdas RDMA-SSD cloud disk. (Default:cloud_ssd). Thelocal_ssdandcloud_ssdare not fully support by all regions as boot disk type, please proceed to UCloud console for more details. - count number
- data_
disk_ stringkms_ key_ id - data_
disk_ numbersize - 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_ stringtype - The type of local data disk. Possible values are:
local_normalandlocal_ssdfor local data disk. (Default:cloud_ssd). Thelocal_ssdis not fully support by all regions as data disk type, please proceed to UCloud console for more details. In addition, thedata_disk_typemust be same asboot_disk_typeif specified. - gpu number
- gpu_
type string - image_
id string - The default image ID.
master.image_idtakes 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_ stringplatform - Specifies a minimum CPU platform for the VM instance. (Default:
Intel/Auto). You may refer to min_cpu_platform- The Intel CPU platform:
Intel/Autoas the Intel CPU platform version will be selected randomly by system;Intel/IvyBridgeas Intel V2, the version of Intel CPU platform selected by system will beIntel/IvyBridgeand above;Intel/Haswellas Intel V3, the version of Intel CPU platform selected by system will beIntel/Haswelland above;Intel/Broadwellas Intel V4, the version of Intel CPU platform selected by system will beIntel/Broadwelland above;Intel/Skylakeas Intel V5, the version of Intel CPU platform selected by system will beIntel/Skylakeand above;Intel/Cascadelakeas Intel V6, the version of Intel CPU platform selected by system will beIntel/Cascadelake;Intel/CascadelakeRas the version of Intel CPU platform, currently can only support by theosinstance type;Intel/IceLake,Intel/SapphireRapids, andIntel/EmeraldRapidsfor newer Intel CPU platforms;- The AMD CPU platform:
Amd/Autoas the Amd CPU platform version will be selected randomly by system;Amd/Epyc2as the version of Amd CPU platform selected by system will beAmd/Epyc2and above;- The Ampere CPU platform:
Ampere/Altraas the version of Ampere CPU platform selected by system will beAmpere/Altraand above.
- name_
prefix string - network_
interfaces list(object) - security_
group_ stringid - security_
groups list(object) - security_
mode string - taints list(object)
- uhost_
family string - The host family, such as
o1a,o1i, oro2i, sent asMasterUHostFamily. Lowercase alphanumeric family names are accepted; availability and compatibility are checked by the API. Existingo1i/o2ivalidation still requiresmachine_type = "O"and an Intel CPU platform. Use a matching CPU platform (for exampleAmd/Autoforo1a). Outstanding machines requireboot_disk_type = "cloud_rssd". - uni_
feature string
- availability
Zone String - cpu Double
- Number of CPU cores, at least 2. Required with
machine_typeandmemorywheninstance_typeis omitted. Available specifications depend on the machine type and region. - machine
Type String - The uppercase machine type, such as
NorO. Required together withcpuandmemorywheninstance_typeis omitted. - memory Double
- Memory in MB, at least 4096 and a multiple of 1024. Required with
machine_typeandcpuwheninstance_typeis omitted. For 4 GB, use4096. - boot
Disk DoubleSize - System disk size in GB, from 40 to 500. When omitted, the API default is 40 GB.
- boot
Disk StringType - The type of boot disk. Possible values are:
local_normalandlocal_ssdfor local boot disk,cloud_ssdfor cloud SSD boot disk,cloud_rssdas RDMA-SSD cloud disk. (Default:cloud_ssd). Thelocal_ssdandcloud_ssdare not fully support by all regions as boot disk type, please proceed to UCloud console for more details. - count Double
- data
Disk StringKms Key Id - data
Disk DoubleSize - 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 StringType - The type of local data disk. Possible values are:
local_normalandlocal_ssdfor local data disk. (Default:cloud_ssd). Thelocal_ssdis not fully support by all regions as data disk type, please proceed to UCloud console for more details. In addition, thedata_disk_typemust be same asboot_disk_typeif specified. - gpu Double
- gpu
Type String - image
Id String - The default image ID.
master.image_idtakes precedence for Master nodes. - isolation
Group String - kubelet
Configuration Map<String,String> - Kubelet configuration map supporting only ContainerLogMaxFiles, an integer string of at least 2.
- labels Map<String,String>
- max
Pods Double - min
Cpu StringPlatform - Specifies a minimum CPU platform for the VM instance. (Default:
Intel/Auto). You may refer to min_cpu_platform- The Intel CPU platform:
Intel/Autoas the Intel CPU platform version will be selected randomly by system;Intel/IvyBridgeas Intel V2, the version of Intel CPU platform selected by system will beIntel/IvyBridgeand above;Intel/Haswellas Intel V3, the version of Intel CPU platform selected by system will beIntel/Haswelland above;Intel/Broadwellas Intel V4, the version of Intel CPU platform selected by system will beIntel/Broadwelland above;Intel/Skylakeas Intel V5, the version of Intel CPU platform selected by system will beIntel/Skylakeand above;Intel/Cascadelakeas Intel V6, the version of Intel CPU platform selected by system will beIntel/Cascadelake;Intel/CascadelakeRas the version of Intel CPU platform, currently can only support by theosinstance type;Intel/IceLake,Intel/SapphireRapids, andIntel/EmeraldRapidsfor newer Intel CPU platforms;- The AMD CPU platform:
Amd/Autoas the Amd CPU platform version will be selected randomly by system;Amd/Epyc2as the version of Amd CPU platform selected by system will beAmd/Epyc2and above;- The Ampere CPU platform:
Ampere/Altraas the version of Ampere CPU platform selected by system will beAmpere/Altraand above.
- name
Prefix String - network
Interfaces List<Uk8sCluster Worker Network Interface> - security
Group StringId - security
Groups List<Uk8sCluster Worker Security Group> - security
Mode String - taints
List<Uk8s
Cluster Worker Taint> - uhost
Family String - The host family, such as
o1a,o1i, oro2i, sent asMasterUHostFamily. Lowercase alphanumeric family names are accepted; availability and compatibility are checked by the API. Existingo1i/o2ivalidation still requiresmachine_type = "O"and an Intel CPU platform. Use a matching CPU platform (for exampleAmd/Autoforo1a). Outstanding machines requireboot_disk_type = "cloud_rssd". - uni
Feature String
- availability
Zone string - cpu number
- Number of CPU cores, at least 2. Required with
machine_typeandmemorywheninstance_typeis omitted. Available specifications depend on the machine type and region. - machine
Type string - The uppercase machine type, such as
NorO. Required together withcpuandmemorywheninstance_typeis omitted. - memory number
- Memory in MB, at least 4096 and a multiple of 1024. Required with
machine_typeandcpuwheninstance_typeis omitted. For 4 GB, use4096. - boot
Disk numberSize - System disk size in GB, from 40 to 500. When omitted, the API default is 40 GB.
- boot
Disk stringType - The type of boot disk. Possible values are:
local_normalandlocal_ssdfor local boot disk,cloud_ssdfor cloud SSD boot disk,cloud_rssdas RDMA-SSD cloud disk. (Default:cloud_ssd). Thelocal_ssdandcloud_ssdare not fully support by all regions as boot disk type, please proceed to UCloud console for more details. - count number
- data
Disk stringKms Key Id - data
Disk numberSize - 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 stringType - The type of local data disk. Possible values are:
local_normalandlocal_ssdfor local data disk. (Default:cloud_ssd). Thelocal_ssdis not fully support by all regions as data disk type, please proceed to UCloud console for more details. In addition, thedata_disk_typemust be same asboot_disk_typeif specified. - gpu number
- gpu
Type string - image
Id string - The default image ID.
master.image_idtakes precedence for Master nodes. - isolation
Group string - kubelet
Configuration {[key: string]: string} - Kubelet configuration map supporting only ContainerLogMaxFiles, an integer string of at least 2.
- labels {[key: string]: string}
- max
Pods number - min
Cpu stringPlatform - Specifies a minimum CPU platform for the VM instance. (Default:
Intel/Auto). You may refer to min_cpu_platform- The Intel CPU platform:
Intel/Autoas the Intel CPU platform version will be selected randomly by system;Intel/IvyBridgeas Intel V2, the version of Intel CPU platform selected by system will beIntel/IvyBridgeand above;Intel/Haswellas Intel V3, the version of Intel CPU platform selected by system will beIntel/Haswelland above;Intel/Broadwellas Intel V4, the version of Intel CPU platform selected by system will beIntel/Broadwelland above;Intel/Skylakeas Intel V5, the version of Intel CPU platform selected by system will beIntel/Skylakeand above;Intel/Cascadelakeas Intel V6, the version of Intel CPU platform selected by system will beIntel/Cascadelake;Intel/CascadelakeRas the version of Intel CPU platform, currently can only support by theosinstance type;Intel/IceLake,Intel/SapphireRapids, andIntel/EmeraldRapidsfor newer Intel CPU platforms;- The AMD CPU platform:
Amd/Autoas the Amd CPU platform version will be selected randomly by system;Amd/Epyc2as the version of Amd CPU platform selected by system will beAmd/Epyc2and above;- The Ampere CPU platform:
Ampere/Altraas the version of Ampere CPU platform selected by system will beAmpere/Altraand above.
- name
Prefix string - network
Interfaces Uk8sCluster Worker Network Interface[] - security
Group stringId - security
Groups Uk8sCluster Worker Security Group[] - security
Mode string - taints
Uk8s
Cluster Worker Taint[] - uhost
Family string - The host family, such as
o1a,o1i, oro2i, sent asMasterUHostFamily. Lowercase alphanumeric family names are accepted; availability and compatibility are checked by the API. Existingo1i/o2ivalidation still requiresmachine_type = "O"and an Intel CPU platform. Use a matching CPU platform (for exampleAmd/Autoforo1a). Outstanding machines requireboot_disk_type = "cloud_rssd". - uni
Feature string
- availability_
zone str - cpu float
- Number of CPU cores, at least 2. Required with
machine_typeandmemorywheninstance_typeis omitted. Available specifications depend on the machine type and region. - machine_
type str - The uppercase machine type, such as
NorO. Required together withcpuandmemorywheninstance_typeis omitted. - memory float
- Memory in MB, at least 4096 and a multiple of 1024. Required with
machine_typeandcpuwheninstance_typeis omitted. For 4 GB, use4096. - boot_
disk_ floatsize - System disk size in GB, from 40 to 500. When omitted, the API default is 40 GB.
- boot_
disk_ strtype - The type of boot disk. Possible values are:
local_normalandlocal_ssdfor local boot disk,cloud_ssdfor cloud SSD boot disk,cloud_rssdas RDMA-SSD cloud disk. (Default:cloud_ssd). Thelocal_ssdandcloud_ssdare not fully support by all regions as boot disk type, please proceed to UCloud console for more details. - count float
- data_
disk_ strkms_ key_ id - data_
disk_ floatsize - 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_ strtype - The type of local data disk. Possible values are:
local_normalandlocal_ssdfor local data disk. (Default:cloud_ssd). Thelocal_ssdis not fully support by all regions as data disk type, please proceed to UCloud console for more details. In addition, thedata_disk_typemust be same asboot_disk_typeif specified. - gpu float
- gpu_
type str - image_
id str - The default image ID.
master.image_idtakes 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_ strplatform - Specifies a minimum CPU platform for the VM instance. (Default:
Intel/Auto). You may refer to min_cpu_platform- The Intel CPU platform:
Intel/Autoas the Intel CPU platform version will be selected randomly by system;Intel/IvyBridgeas Intel V2, the version of Intel CPU platform selected by system will beIntel/IvyBridgeand above;Intel/Haswellas Intel V3, the version of Intel CPU platform selected by system will beIntel/Haswelland above;Intel/Broadwellas Intel V4, the version of Intel CPU platform selected by system will beIntel/Broadwelland above;Intel/Skylakeas Intel V5, the version of Intel CPU platform selected by system will beIntel/Skylakeand above;Intel/Cascadelakeas Intel V6, the version of Intel CPU platform selected by system will beIntel/Cascadelake;Intel/CascadelakeRas the version of Intel CPU platform, currently can only support by theosinstance type;Intel/IceLake,Intel/SapphireRapids, andIntel/EmeraldRapidsfor newer Intel CPU platforms;- The AMD CPU platform:
Amd/Autoas the Amd CPU platform version will be selected randomly by system;Amd/Epyc2as the version of Amd CPU platform selected by system will beAmd/Epyc2and above;- The Ampere CPU platform:
Ampere/Altraas the version of Ampere CPU platform selected by system will beAmpere/Altraand above.
- name_
prefix str - network_
interfaces Sequence[Uk8sCluster Worker Network Interface] - security_
group_ strid - security_
groups Sequence[Uk8sCluster Worker Security Group] - security_
mode str - taints
Sequence[Uk8s
Cluster Worker Taint] - uhost_
family str - The host family, such as
o1a,o1i, oro2i, sent asMasterUHostFamily. Lowercase alphanumeric family names are accepted; availability and compatibility are checked by the API. Existingo1i/o2ivalidation still requiresmachine_type = "O"and an Intel CPU platform. Use a matching CPU platform (for exampleAmd/Autoforo1a). Outstanding machines requireboot_disk_type = "cloud_rssd". - uni_
feature str
- availability
Zone String - cpu Number
- Number of CPU cores, at least 2. Required with
machine_typeandmemorywheninstance_typeis omitted. Available specifications depend on the machine type and region. - machine
Type String - The uppercase machine type, such as
NorO. Required together withcpuandmemorywheninstance_typeis omitted. - memory Number
- Memory in MB, at least 4096 and a multiple of 1024. Required with
machine_typeandcpuwheninstance_typeis omitted. For 4 GB, use4096. - boot
Disk NumberSize - System disk size in GB, from 40 to 500. When omitted, the API default is 40 GB.
- boot
Disk StringType - The type of boot disk. Possible values are:
local_normalandlocal_ssdfor local boot disk,cloud_ssdfor cloud SSD boot disk,cloud_rssdas RDMA-SSD cloud disk. (Default:cloud_ssd). Thelocal_ssdandcloud_ssdare not fully support by all regions as boot disk type, please proceed to UCloud console for more details. - count Number
- data
Disk StringKms Key Id - data
Disk NumberSize - 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 StringType - The type of local data disk. Possible values are:
local_normalandlocal_ssdfor local data disk. (Default:cloud_ssd). Thelocal_ssdis not fully support by all regions as data disk type, please proceed to UCloud console for more details. In addition, thedata_disk_typemust be same asboot_disk_typeif specified. - gpu Number
- gpu
Type String - image
Id String - The default image ID.
master.image_idtakes 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 StringPlatform - Specifies a minimum CPU platform for the VM instance. (Default:
Intel/Auto). You may refer to min_cpu_platform- The Intel CPU platform:
Intel/Autoas the Intel CPU platform version will be selected randomly by system;Intel/IvyBridgeas Intel V2, the version of Intel CPU platform selected by system will beIntel/IvyBridgeand above;Intel/Haswellas Intel V3, the version of Intel CPU platform selected by system will beIntel/Haswelland above;Intel/Broadwellas Intel V4, the version of Intel CPU platform selected by system will beIntel/Broadwelland above;Intel/Skylakeas Intel V5, the version of Intel CPU platform selected by system will beIntel/Skylakeand above;Intel/Cascadelakeas Intel V6, the version of Intel CPU platform selected by system will beIntel/Cascadelake;Intel/CascadelakeRas the version of Intel CPU platform, currently can only support by theosinstance type;Intel/IceLake,Intel/SapphireRapids, andIntel/EmeraldRapidsfor newer Intel CPU platforms;- The AMD CPU platform:
Amd/Autoas the Amd CPU platform version will be selected randomly by system;Amd/Epyc2as the version of Amd CPU platform selected by system will beAmd/Epyc2and above;- The Ampere CPU platform:
Ampere/Altraas the version of Ampere CPU platform selected by system will beAmpere/Altraand above.
- name
Prefix String - network
Interfaces List<Property Map> - security
Group StringId - security
Groups List<Property Map> - security
Mode String - taints List<Property Map>
- uhost
Family String - The host family, such as
o1a,o1i, oro2i, sent asMasterUHostFamily. Lowercase alphanumeric family names are accepted; availability and compatibility are checked by the API. Existingo1i/o2ivalidation still requiresmachine_type = "O"and an Intel CPU platform. Use a matching CPU platform (for exampleAmd/Autoforo1a). Outstanding machines requireboot_disk_type = "cloud_rssd". - uni
Feature String
Uk8sClusterWorkerNetworkInterface, Uk8sClusterWorkerNetworkInterfaceArgs
Uk8sClusterWorkerNetworkInterfaceEip, Uk8sClusterWorkerNetworkInterfaceEipArgs
- Operator
Name string - Bandwidth double
- Coupon
Id string - Pay
Mode string - string
- Operator
Name string - Bandwidth float64
- Coupon
Id string - Pay
Mode string - string
- operator_
name string - bandwidth number
- coupon_
id string - pay_
mode string - string
- operator
Name String - bandwidth Double
- coupon
Id String - pay
Mode String - String
- operator
Name string - bandwidth number
- coupon
Id string - pay
Mode string - string
- operator_
name str - bandwidth float
- coupon_
id str - pay_
mode str - str
- operator
Name String - bandwidth Number
- coupon
Id String - pay
Mode String - String
Uk8sClusterWorkerSecurityGroup, Uk8sClusterWorkerSecurityGroupArgs
Uk8sClusterWorkerTaint, Uk8sClusterWorkerTaintArgs
Package Details
- Repository
- ucloud ucloud/terraform-provider-ucloud
- License
- Notes
- This Pulumi package is based on the
ucloudTerraform Provider.
published on Tuesday, Oct 27, 2026 by ucloud