opentelekomcloud.CceNodeV3
Explore with Pulumi AI
Up-to-date reference of API arguments for CCE cluster node you can get at documentation portal
Add a node to a container cluster.
Example Usage
import * as pulumi from "@pulumi/pulumi";
import * as opentelekomcloud from "@pulumi/opentelekomcloud";
const config = new pulumi.Config();
const clusterId = config.requireObject("clusterId");
const sshKey = config.requireObject("sshKey");
const availabilityZone = config.requireObject("availabilityZone");
const node1 = new opentelekomcloud.CceNodeV3("node1", {
clusterId: clusterId,
availabilityZone: availabilityZone,
os: "EulerOS 2.9",
flavorId: "s2.large.2",
keyPair: sshKey,
runtime: "containerd",
agencyName: "test-agency",
bandwidthSize: 100,
rootVolume: {
size: 40,
volumetype: "SATA",
},
dataVolumes: [
{
size: 100,
volumetype: "SATA",
},
{
size: 100,
volumetype: "SSD",
extendParams: {
useType: "docker",
},
},
],
});
import pulumi
import pulumi_opentelekomcloud as opentelekomcloud
config = pulumi.Config()
cluster_id = config.require_object("clusterId")
ssh_key = config.require_object("sshKey")
availability_zone = config.require_object("availabilityZone")
node1 = opentelekomcloud.CceNodeV3("node1",
cluster_id=cluster_id,
availability_zone=availability_zone,
os="EulerOS 2.9",
flavor_id="s2.large.2",
key_pair=ssh_key,
runtime="containerd",
agency_name="test-agency",
bandwidth_size=100,
root_volume={
"size": 40,
"volumetype": "SATA",
},
data_volumes=[
{
"size": 100,
"volumetype": "SATA",
},
{
"size": 100,
"volumetype": "SSD",
"extend_params": {
"useType": "docker",
},
},
])
package main
import (
"github.com/pulumi/pulumi-terraform-provider/sdks/go/opentelekomcloud/opentelekomcloud"
"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
"github.com/pulumi/pulumi/sdk/v3/go/pulumi/config"
)
func main() {
pulumi.Run(func(ctx *pulumi.Context) error {
cfg := config.New(ctx, "")
clusterId := cfg.RequireObject("clusterId")
sshKey := cfg.RequireObject("sshKey")
availabilityZone := cfg.RequireObject("availabilityZone")
_, err := opentelekomcloud.NewCceNodeV3(ctx, "node1", &opentelekomcloud.CceNodeV3Args{
ClusterId: pulumi.Any(clusterId),
AvailabilityZone: pulumi.Any(availabilityZone),
Os: pulumi.String("EulerOS 2.9"),
FlavorId: pulumi.String("s2.large.2"),
KeyPair: pulumi.Any(sshKey),
Runtime: pulumi.String("containerd"),
AgencyName: pulumi.String("test-agency"),
BandwidthSize: pulumi.Float64(100),
RootVolume: &opentelekomcloud.CceNodeV3RootVolumeArgs{
Size: pulumi.Float64(40),
Volumetype: pulumi.String("SATA"),
},
DataVolumes: opentelekomcloud.CceNodeV3DataVolumeArray{
&opentelekomcloud.CceNodeV3DataVolumeArgs{
Size: pulumi.Float64(100),
Volumetype: pulumi.String("SATA"),
},
&opentelekomcloud.CceNodeV3DataVolumeArgs{
Size: pulumi.Float64(100),
Volumetype: pulumi.String("SSD"),
ExtendParams: pulumi.StringMap{
"useType": pulumi.String("docker"),
},
},
},
})
if err != nil {
return err
}
return nil
})
}
using System.Collections.Generic;
using System.Linq;
using Pulumi;
using Opentelekomcloud = Pulumi.Opentelekomcloud;
return await Deployment.RunAsync(() =>
{
var config = new Config();
var clusterId = config.RequireObject<dynamic>("clusterId");
var sshKey = config.RequireObject<dynamic>("sshKey");
var availabilityZone = config.RequireObject<dynamic>("availabilityZone");
var node1 = new Opentelekomcloud.CceNodeV3("node1", new()
{
ClusterId = clusterId,
AvailabilityZone = availabilityZone,
Os = "EulerOS 2.9",
FlavorId = "s2.large.2",
KeyPair = sshKey,
Runtime = "containerd",
AgencyName = "test-agency",
BandwidthSize = 100,
RootVolume = new Opentelekomcloud.Inputs.CceNodeV3RootVolumeArgs
{
Size = 40,
Volumetype = "SATA",
},
DataVolumes = new[]
{
new Opentelekomcloud.Inputs.CceNodeV3DataVolumeArgs
{
Size = 100,
Volumetype = "SATA",
},
new Opentelekomcloud.Inputs.CceNodeV3DataVolumeArgs
{
Size = 100,
Volumetype = "SSD",
ExtendParams =
{
{ "useType", "docker" },
},
},
},
});
});
package generated_program;
import com.pulumi.Context;
import com.pulumi.Pulumi;
import com.pulumi.core.Output;
import com.pulumi.opentelekomcloud.CceNodeV3;
import com.pulumi.opentelekomcloud.CceNodeV3Args;
import com.pulumi.opentelekomcloud.inputs.CceNodeV3RootVolumeArgs;
import com.pulumi.opentelekomcloud.inputs.CceNodeV3DataVolumeArgs;
import java.util.List;
import java.util.ArrayList;
import java.util.Map;
import java.io.File;
import java.nio.file.Files;
import java.nio.file.Paths;
public class App {
public static void main(String[] args) {
Pulumi.run(App::stack);
}
public static void stack(Context ctx) {
final var config = ctx.config();
final var clusterId = config.get("clusterId");
final var sshKey = config.get("sshKey");
final var availabilityZone = config.get("availabilityZone");
var node1 = new CceNodeV3("node1", CceNodeV3Args.builder()
.clusterId(clusterId)
.availabilityZone(availabilityZone)
.os("EulerOS 2.9")
.flavorId("s2.large.2")
.keyPair(sshKey)
.runtime("containerd")
.agencyName("test-agency")
.bandwidthSize(100)
.rootVolume(CceNodeV3RootVolumeArgs.builder()
.size(40)
.volumetype("SATA")
.build())
.dataVolumes(
CceNodeV3DataVolumeArgs.builder()
.size(100)
.volumetype("SATA")
.build(),
CceNodeV3DataVolumeArgs.builder()
.size(100)
.volumetype("SSD")
.extendParams(Map.of("useType", "docker"))
.build())
.build());
}
}
configuration:
clusterId:
type: dynamic
sshKey:
type: dynamic
availabilityZone:
type: dynamic
resources:
node1:
type: opentelekomcloud:CceNodeV3
properties:
clusterId: ${clusterId}
availabilityZone: ${availabilityZone}
os: EulerOS 2.9
flavorId: s2.large.2
keyPair: ${sshKey}
runtime: containerd
agencyName: test-agency
bandwidthSize: 100
rootVolume:
size: 40
volumetype: SATA
dataVolumes:
- size: 100
volumetype: SATA
- size: 100
volumetype: SSD
extendParams:
useType: docker
Create CceNodeV3 Resource
Resources are created with functions called constructors. To learn more about declaring and configuring resources, see Resources.
Constructor syntax
new CceNodeV3(name: string, args: CceNodeV3Args, opts?: CustomResourceOptions);
@overload
def CceNodeV3(resource_name: str,
args: CceNodeV3Args,
opts: Optional[ResourceOptions] = None)
@overload
def CceNodeV3(resource_name: str,
opts: Optional[ResourceOptions] = None,
cluster_id: Optional[str] = None,
root_volume: Optional[CceNodeV3RootVolumeArgs] = None,
availability_zone: Optional[str] = None,
key_pair: Optional[str] = None,
flavor_id: Optional[str] = None,
data_volumes: Optional[Sequence[CceNodeV3DataVolumeArgs]] = None,
k8s_tags: Optional[Mapping[str, str]] = None,
max_pods: Optional[float] = None,
billing_mode: Optional[float] = None,
dedicated_host_id: Optional[str] = None,
docker_base_size: Optional[float] = None,
docker_lvm_config_override: Optional[str] = None,
ecs_performance_type: Optional[str] = None,
eip_count: Optional[float] = None,
eip_ids: Optional[Sequence[str]] = None,
extend_param_charging_mode: Optional[float] = None,
bandwidth_size: Optional[float] = None,
iptype: Optional[str] = None,
agency_name: Optional[str] = None,
bandwidth_charge_mode: Optional[str] = None,
labels: Optional[Mapping[str, str]] = None,
cce_node_v3_id: Optional[str] = None,
name: Optional[str] = None,
order_id: Optional[str] = None,
os: Optional[str] = None,
postinstall: Optional[str] = None,
preinstall: Optional[str] = None,
private_ip: Optional[str] = None,
product_id: Optional[str] = None,
public_key: Optional[str] = None,
region: Optional[str] = None,
annotations: Optional[Mapping[str, str]] = None,
runtime: Optional[str] = None,
sharetype: Optional[str] = None,
subnet_id: Optional[str] = None,
tags: Optional[Mapping[str, str]] = None,
taints: Optional[Sequence[CceNodeV3TaintArgs]] = None,
timeouts: Optional[CceNodeV3TimeoutsArgs] = None)
func NewCceNodeV3(ctx *Context, name string, args CceNodeV3Args, opts ...ResourceOption) (*CceNodeV3, error)
public CceNodeV3(string name, CceNodeV3Args args, CustomResourceOptions? opts = null)
public CceNodeV3(String name, CceNodeV3Args args)
public CceNodeV3(String name, CceNodeV3Args args, CustomResourceOptions options)
type: opentelekomcloud:CceNodeV3
properties: # The arguments to resource properties.
options: # Bag of options to control resource's behavior.
Parameters
- name string
- The unique name of the resource.
- args CceNodeV3Args
- 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 CceNodeV3Args
- 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 CceNodeV3Args
- The arguments to resource properties.
- opts ResourceOption
- Bag of options to control resource's behavior.
- name string
- The unique name of the resource.
- args CceNodeV3Args
- The arguments to resource properties.
- opts CustomResourceOptions
- Bag of options to control resource's behavior.
- name String
- The unique name of the resource.
- args CceNodeV3Args
- 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 cceNodeV3Resource = new Opentelekomcloud.CceNodeV3("cceNodeV3Resource", new()
{
ClusterId = "string",
RootVolume = new Opentelekomcloud.Inputs.CceNodeV3RootVolumeArgs
{
Size = 0,
Volumetype = "string",
ExtendParams =
{
{ "string", "string" },
},
KmsId = "string",
},
AvailabilityZone = "string",
KeyPair = "string",
FlavorId = "string",
DataVolumes = new[]
{
new Opentelekomcloud.Inputs.CceNodeV3DataVolumeArgs
{
Size = 0,
Volumetype = "string",
ExtendParams =
{
{ "string", "string" },
},
KmsId = "string",
},
},
K8sTags =
{
{ "string", "string" },
},
MaxPods = 0,
BillingMode = 0,
DedicatedHostId = "string",
DockerBaseSize = 0,
DockerLvmConfigOverride = "string",
EcsPerformanceType = "string",
EipCount = 0,
EipIds = new[]
{
"string",
},
ExtendParamChargingMode = 0,
BandwidthSize = 0,
Iptype = "string",
AgencyName = "string",
BandwidthChargeMode = "string",
Labels =
{
{ "string", "string" },
},
CceNodeV3Id = "string",
Name = "string",
OrderId = "string",
Os = "string",
Postinstall = "string",
Preinstall = "string",
PrivateIp = "string",
ProductId = "string",
PublicKey = "string",
Region = "string",
Annotations =
{
{ "string", "string" },
},
Runtime = "string",
Sharetype = "string",
SubnetId = "string",
Tags =
{
{ "string", "string" },
},
Taints = new[]
{
new Opentelekomcloud.Inputs.CceNodeV3TaintArgs
{
Effect = "string",
Key = "string",
Value = "string",
},
},
Timeouts = new Opentelekomcloud.Inputs.CceNodeV3TimeoutsArgs
{
Create = "string",
Delete = "string",
},
});
example, err := opentelekomcloud.NewCceNodeV3(ctx, "cceNodeV3Resource", &opentelekomcloud.CceNodeV3Args{
ClusterId: pulumi.String("string"),
RootVolume: &opentelekomcloud.CceNodeV3RootVolumeArgs{
Size: pulumi.Float64(0),
Volumetype: pulumi.String("string"),
ExtendParams: pulumi.StringMap{
"string": pulumi.String("string"),
},
KmsId: pulumi.String("string"),
},
AvailabilityZone: pulumi.String("string"),
KeyPair: pulumi.String("string"),
FlavorId: pulumi.String("string"),
DataVolumes: opentelekomcloud.CceNodeV3DataVolumeArray{
&opentelekomcloud.CceNodeV3DataVolumeArgs{
Size: pulumi.Float64(0),
Volumetype: pulumi.String("string"),
ExtendParams: pulumi.StringMap{
"string": pulumi.String("string"),
},
KmsId: pulumi.String("string"),
},
},
K8sTags: pulumi.StringMap{
"string": pulumi.String("string"),
},
MaxPods: pulumi.Float64(0),
BillingMode: pulumi.Float64(0),
DedicatedHostId: pulumi.String("string"),
DockerBaseSize: pulumi.Float64(0),
DockerLvmConfigOverride: pulumi.String("string"),
EcsPerformanceType: pulumi.String("string"),
EipCount: pulumi.Float64(0),
EipIds: pulumi.StringArray{
pulumi.String("string"),
},
ExtendParamChargingMode: pulumi.Float64(0),
BandwidthSize: pulumi.Float64(0),
Iptype: pulumi.String("string"),
AgencyName: pulumi.String("string"),
BandwidthChargeMode: pulumi.String("string"),
Labels: pulumi.StringMap{
"string": pulumi.String("string"),
},
CceNodeV3Id: pulumi.String("string"),
Name: pulumi.String("string"),
OrderId: pulumi.String("string"),
Os: pulumi.String("string"),
Postinstall: pulumi.String("string"),
Preinstall: pulumi.String("string"),
PrivateIp: pulumi.String("string"),
ProductId: pulumi.String("string"),
PublicKey: pulumi.String("string"),
Region: pulumi.String("string"),
Annotations: pulumi.StringMap{
"string": pulumi.String("string"),
},
Runtime: pulumi.String("string"),
Sharetype: pulumi.String("string"),
SubnetId: pulumi.String("string"),
Tags: pulumi.StringMap{
"string": pulumi.String("string"),
},
Taints: opentelekomcloud.CceNodeV3TaintArray{
&opentelekomcloud.CceNodeV3TaintArgs{
Effect: pulumi.String("string"),
Key: pulumi.String("string"),
Value: pulumi.String("string"),
},
},
Timeouts: &opentelekomcloud.CceNodeV3TimeoutsArgs{
Create: pulumi.String("string"),
Delete: pulumi.String("string"),
},
})
var cceNodeV3Resource = new CceNodeV3("cceNodeV3Resource", CceNodeV3Args.builder()
.clusterId("string")
.rootVolume(CceNodeV3RootVolumeArgs.builder()
.size(0)
.volumetype("string")
.extendParams(Map.of("string", "string"))
.kmsId("string")
.build())
.availabilityZone("string")
.keyPair("string")
.flavorId("string")
.dataVolumes(CceNodeV3DataVolumeArgs.builder()
.size(0)
.volumetype("string")
.extendParams(Map.of("string", "string"))
.kmsId("string")
.build())
.k8sTags(Map.of("string", "string"))
.maxPods(0)
.billingMode(0)
.dedicatedHostId("string")
.dockerBaseSize(0)
.dockerLvmConfigOverride("string")
.ecsPerformanceType("string")
.eipCount(0)
.eipIds("string")
.extendParamChargingMode(0)
.bandwidthSize(0)
.iptype("string")
.agencyName("string")
.bandwidthChargeMode("string")
.labels(Map.of("string", "string"))
.cceNodeV3Id("string")
.name("string")
.orderId("string")
.os("string")
.postinstall("string")
.preinstall("string")
.privateIp("string")
.productId("string")
.publicKey("string")
.region("string")
.annotations(Map.of("string", "string"))
.runtime("string")
.sharetype("string")
.subnetId("string")
.tags(Map.of("string", "string"))
.taints(CceNodeV3TaintArgs.builder()
.effect("string")
.key("string")
.value("string")
.build())
.timeouts(CceNodeV3TimeoutsArgs.builder()
.create("string")
.delete("string")
.build())
.build());
cce_node_v3_resource = opentelekomcloud.CceNodeV3("cceNodeV3Resource",
cluster_id="string",
root_volume={
"size": 0,
"volumetype": "string",
"extend_params": {
"string": "string",
},
"kms_id": "string",
},
availability_zone="string",
key_pair="string",
flavor_id="string",
data_volumes=[{
"size": 0,
"volumetype": "string",
"extend_params": {
"string": "string",
},
"kms_id": "string",
}],
k8s_tags={
"string": "string",
},
max_pods=0,
billing_mode=0,
dedicated_host_id="string",
docker_base_size=0,
docker_lvm_config_override="string",
ecs_performance_type="string",
eip_count=0,
eip_ids=["string"],
extend_param_charging_mode=0,
bandwidth_size=0,
iptype="string",
agency_name="string",
bandwidth_charge_mode="string",
labels={
"string": "string",
},
cce_node_v3_id="string",
name="string",
order_id="string",
os="string",
postinstall="string",
preinstall="string",
private_ip="string",
product_id="string",
public_key="string",
region="string",
annotations={
"string": "string",
},
runtime="string",
sharetype="string",
subnet_id="string",
tags={
"string": "string",
},
taints=[{
"effect": "string",
"key": "string",
"value": "string",
}],
timeouts={
"create": "string",
"delete": "string",
})
const cceNodeV3Resource = new opentelekomcloud.CceNodeV3("cceNodeV3Resource", {
clusterId: "string",
rootVolume: {
size: 0,
volumetype: "string",
extendParams: {
string: "string",
},
kmsId: "string",
},
availabilityZone: "string",
keyPair: "string",
flavorId: "string",
dataVolumes: [{
size: 0,
volumetype: "string",
extendParams: {
string: "string",
},
kmsId: "string",
}],
k8sTags: {
string: "string",
},
maxPods: 0,
billingMode: 0,
dedicatedHostId: "string",
dockerBaseSize: 0,
dockerLvmConfigOverride: "string",
ecsPerformanceType: "string",
eipCount: 0,
eipIds: ["string"],
extendParamChargingMode: 0,
bandwidthSize: 0,
iptype: "string",
agencyName: "string",
bandwidthChargeMode: "string",
labels: {
string: "string",
},
cceNodeV3Id: "string",
name: "string",
orderId: "string",
os: "string",
postinstall: "string",
preinstall: "string",
privateIp: "string",
productId: "string",
publicKey: "string",
region: "string",
annotations: {
string: "string",
},
runtime: "string",
sharetype: "string",
subnetId: "string",
tags: {
string: "string",
},
taints: [{
effect: "string",
key: "string",
value: "string",
}],
timeouts: {
create: "string",
"delete": "string",
},
});
type: opentelekomcloud:CceNodeV3
properties:
agencyName: string
annotations:
string: string
availabilityZone: string
bandwidthChargeMode: string
bandwidthSize: 0
billingMode: 0
cceNodeV3Id: string
clusterId: string
dataVolumes:
- extendParams:
string: string
kmsId: string
size: 0
volumetype: string
dedicatedHostId: string
dockerBaseSize: 0
dockerLvmConfigOverride: string
ecsPerformanceType: string
eipCount: 0
eipIds:
- string
extendParamChargingMode: 0
flavorId: string
iptype: string
k8sTags:
string: string
keyPair: string
labels:
string: string
maxPods: 0
name: string
orderId: string
os: string
postinstall: string
preinstall: string
privateIp: string
productId: string
publicKey: string
region: string
rootVolume:
extendParams:
string: string
kmsId: string
size: 0
volumetype: string
runtime: string
sharetype: string
subnetId: string
tags:
string: string
taints:
- effect: string
key: string
value: string
timeouts:
create: string
delete: string
CceNodeV3 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 CceNodeV3 resource accepts the following input properties:
- Availability
Zone string - specify the name of the available partition (AZ). Changing this parameter will create a new resource.
- Cluster
Id string - ID of the cluster. Changing this parameter will create a new resource.
- Data
Volumes List<CceNode V3Data Volume> - Represents the data disk to be created. Changing this parameter will create a new resource.
- Flavor
Id string - Specifies the flavor id. Changing this parameter will create a new resource.
- Key
Pair string - Key pair name when logging in to select the key pair mode. Changing this parameter will create a new resource.
- Root
Volume CceNode V3Root Volume - It corresponds to the system disk related configuration. Changing this parameter will create a new resource.
- Agency
Name string IAM agency name. Changing this parameter will create a new resource.
NOTE: The IAM agency requires
tms:resourceTags:list
in order to properly read resource state.- Annotations Dictionary<string, string>
- Node annotation, key/value pair format. Changing this parameter will create a new resource
- Bandwidth
Charge stringMode - Bandwidth billing type.
- Bandwidth
Size double Bandwidth size.
If the
bandwidth_size
parameter is configured, you do not need to configure theeip_count
,bandwidth_charge_mode
,sharetype
andiptype
parameters.- Billing
Mode double - Node's billing mode: The value is
0
(on demand). Changing this parameter will create a new resource. - Cce
Node stringV3Id - Dedicated
Host stringId - Specifies the ID of the DeH to which the node is scheduled.
- Docker
Base doubleSize - Available disk space of a single Docker container on the node using the device mapper. Changing this parameter will create a new node.
- Docker
Lvm stringConfig Override ConfigMap
of the Docker data disk. Changing this parameter will create a new node.Example:
dockerThinpool=vgpaas/90%VG;kubernetesLV=vgpaas/10%VG;diskType=evs;lvType=linear
In this example:
userLV
: size of the user space, for example, vgpaas/20%VG.userPath
: mount path of the user space, for example, /home/wqt-test.diskType
: disk type. Currently, only the evs, hdd, and ssd are supported.lvType
: type of a logic volume. Currently, the value can be linear or striped.dockerThinpool
: Docker space size, for example, vgpaas/60%VG.kubernetesLV
: kubelet space size, for example, vgpaas/20%VG.
- Ecs
Performance stringType - Classification of cloud server specifications. Changing this parameter will create a new cluster resource.
- Eip
Count double - Number of elastic IPs to be dynamically created.
- Eip
Ids List<string> List of existing elastic IP IDs.
If the
eip_ids
parameter is configured, you do not need to configure theeip_count
andbandwidth
parameters:iptype
,bandwidth_charge_mode
,bandwidth_size
andshare_type
.- Extend
Param doubleCharging Mode - Node charging mode, 0 is on-demand charging. Changing this parameter will create a new cluster resource.
- Iptype string
- Elastic IP type.
- Dictionary<string, string>
- Tags of a Kubernetes node, key/value pair format.
- Labels Dictionary<string, string>
- Node tag, key/value pair format. Changing this parameter will create a new resource.
- Max
Pods double - The maximum number of instances a node is allowed to create. Changing this parameter will create a new node resource.
- Name string
- Node Name.
- Order
Id string - Order ID, mandatory when the node payment type is the automatic payment package period type. Changing this parameter will create a new cluster resource.
- Os string
Node OS. Changing this parameter will create a new resource.
Supported OS depends on kubernetes version of the cluster. | OS | Kubernetes version | | :----------- | :----------------- | | HCE OS 2.0 |
v1.29
,v1.28
,v1.27
,v1.25
| | Ubuntu 22.04 |v1.29
,v1.28
,v1.27
,v1.25
| | EulerOS release 2.9 |v1.29
,v1.28
,v1.27
,v1.25
,v1.23
,v1.21
,V1.19
| | EulerOS release 2.5 |v1.25
,v1.23
,v1.21
,V1.19
|- Postinstall string
- Script required after installation. The input value can be a Base64 encoded string or not. Changing this parameter will create a new resource.
- Preinstall string
- Script required before installation. The input value can be a Base64 encoded string or not. Changing this parameter will create a new resource.
- Private
Ip string - Private IP of the CCE node. Changing this parameter will create a new resource.
- Product
Id string - The Product ID. Changing this parameter will create a new cluster resource.
- Public
Key string - The Public key. Changing this parameter will create a new cluster resource.
- Region string
- Runtime string
- Container runtime. Changing this parameter will create a new resource.
Use with high-caution, may trigger resource recreation. Options are:
docker
- Dockercontainerd
- Containerd - string
- Bandwidth sharing type.
- Subnet
Id string - The ID of the subnet to which the NIC belongs. Changing this parameter will create a new resource.
- Dictionary<string, string>
- The field is alternative to
labels
, key/value pair format. - Taints
List<Cce
Node V3Taint> - Taints to created nodes to configure anti-affinity.
- Timeouts
Cce
Node V3Timeouts
- Availability
Zone string - specify the name of the available partition (AZ). Changing this parameter will create a new resource.
- Cluster
Id string - ID of the cluster. Changing this parameter will create a new resource.
- Data
Volumes []CceNode V3Data Volume Args - Represents the data disk to be created. Changing this parameter will create a new resource.
- Flavor
Id string - Specifies the flavor id. Changing this parameter will create a new resource.
- Key
Pair string - Key pair name when logging in to select the key pair mode. Changing this parameter will create a new resource.
- Root
Volume CceNode V3Root Volume Args - It corresponds to the system disk related configuration. Changing this parameter will create a new resource.
- Agency
Name string IAM agency name. Changing this parameter will create a new resource.
NOTE: The IAM agency requires
tms:resourceTags:list
in order to properly read resource state.- Annotations map[string]string
- Node annotation, key/value pair format. Changing this parameter will create a new resource
- Bandwidth
Charge stringMode - Bandwidth billing type.
- Bandwidth
Size float64 Bandwidth size.
If the
bandwidth_size
parameter is configured, you do not need to configure theeip_count
,bandwidth_charge_mode
,sharetype
andiptype
parameters.- Billing
Mode float64 - Node's billing mode: The value is
0
(on demand). Changing this parameter will create a new resource. - Cce
Node stringV3Id - Dedicated
Host stringId - Specifies the ID of the DeH to which the node is scheduled.
- Docker
Base float64Size - Available disk space of a single Docker container on the node using the device mapper. Changing this parameter will create a new node.
- Docker
Lvm stringConfig Override ConfigMap
of the Docker data disk. Changing this parameter will create a new node.Example:
dockerThinpool=vgpaas/90%VG;kubernetesLV=vgpaas/10%VG;diskType=evs;lvType=linear
In this example:
userLV
: size of the user space, for example, vgpaas/20%VG.userPath
: mount path of the user space, for example, /home/wqt-test.diskType
: disk type. Currently, only the evs, hdd, and ssd are supported.lvType
: type of a logic volume. Currently, the value can be linear or striped.dockerThinpool
: Docker space size, for example, vgpaas/60%VG.kubernetesLV
: kubelet space size, for example, vgpaas/20%VG.
- Ecs
Performance stringType - Classification of cloud server specifications. Changing this parameter will create a new cluster resource.
- Eip
Count float64 - Number of elastic IPs to be dynamically created.
- Eip
Ids []string List of existing elastic IP IDs.
If the
eip_ids
parameter is configured, you do not need to configure theeip_count
andbandwidth
parameters:iptype
,bandwidth_charge_mode
,bandwidth_size
andshare_type
.- Extend
Param float64Charging Mode - Node charging mode, 0 is on-demand charging. Changing this parameter will create a new cluster resource.
- Iptype string
- Elastic IP type.
- map[string]string
- Tags of a Kubernetes node, key/value pair format.
- Labels map[string]string
- Node tag, key/value pair format. Changing this parameter will create a new resource.
- Max
Pods float64 - The maximum number of instances a node is allowed to create. Changing this parameter will create a new node resource.
- Name string
- Node Name.
- Order
Id string - Order ID, mandatory when the node payment type is the automatic payment package period type. Changing this parameter will create a new cluster resource.
- Os string
Node OS. Changing this parameter will create a new resource.
Supported OS depends on kubernetes version of the cluster. | OS | Kubernetes version | | :----------- | :----------------- | | HCE OS 2.0 |
v1.29
,v1.28
,v1.27
,v1.25
| | Ubuntu 22.04 |v1.29
,v1.28
,v1.27
,v1.25
| | EulerOS release 2.9 |v1.29
,v1.28
,v1.27
,v1.25
,v1.23
,v1.21
,V1.19
| | EulerOS release 2.5 |v1.25
,v1.23
,v1.21
,V1.19
|- Postinstall string
- Script required after installation. The input value can be a Base64 encoded string or not. Changing this parameter will create a new resource.
- Preinstall string
- Script required before installation. The input value can be a Base64 encoded string or not. Changing this parameter will create a new resource.
- Private
Ip string - Private IP of the CCE node. Changing this parameter will create a new resource.
- Product
Id string - The Product ID. Changing this parameter will create a new cluster resource.
- Public
Key string - The Public key. Changing this parameter will create a new cluster resource.
- Region string
- Runtime string
- Container runtime. Changing this parameter will create a new resource.
Use with high-caution, may trigger resource recreation. Options are:
docker
- Dockercontainerd
- Containerd - string
- Bandwidth sharing type.
- Subnet
Id string - The ID of the subnet to which the NIC belongs. Changing this parameter will create a new resource.
- map[string]string
- The field is alternative to
labels
, key/value pair format. - Taints
[]Cce
Node V3Taint Args - Taints to created nodes to configure anti-affinity.
- Timeouts
Cce
Node V3Timeouts Args
- availability
Zone String - specify the name of the available partition (AZ). Changing this parameter will create a new resource.
- cluster
Id String - ID of the cluster. Changing this parameter will create a new resource.
- data
Volumes List<CceNode V3Data Volume> - Represents the data disk to be created. Changing this parameter will create a new resource.
- flavor
Id String - Specifies the flavor id. Changing this parameter will create a new resource.
- key
Pair String - Key pair name when logging in to select the key pair mode. Changing this parameter will create a new resource.
- root
Volume CceNode V3Root Volume - It corresponds to the system disk related configuration. Changing this parameter will create a new resource.
- agency
Name String IAM agency name. Changing this parameter will create a new resource.
NOTE: The IAM agency requires
tms:resourceTags:list
in order to properly read resource state.- annotations Map<String,String>
- Node annotation, key/value pair format. Changing this parameter will create a new resource
- bandwidth
Charge StringMode - Bandwidth billing type.
- bandwidth
Size Double Bandwidth size.
If the
bandwidth_size
parameter is configured, you do not need to configure theeip_count
,bandwidth_charge_mode
,sharetype
andiptype
parameters.- billing
Mode Double - Node's billing mode: The value is
0
(on demand). Changing this parameter will create a new resource. - cce
Node StringV3Id - dedicated
Host StringId - Specifies the ID of the DeH to which the node is scheduled.
- docker
Base DoubleSize - Available disk space of a single Docker container on the node using the device mapper. Changing this parameter will create a new node.
- docker
Lvm StringConfig Override ConfigMap
of the Docker data disk. Changing this parameter will create a new node.Example:
dockerThinpool=vgpaas/90%VG;kubernetesLV=vgpaas/10%VG;diskType=evs;lvType=linear
In this example:
userLV
: size of the user space, for example, vgpaas/20%VG.userPath
: mount path of the user space, for example, /home/wqt-test.diskType
: disk type. Currently, only the evs, hdd, and ssd are supported.lvType
: type of a logic volume. Currently, the value can be linear or striped.dockerThinpool
: Docker space size, for example, vgpaas/60%VG.kubernetesLV
: kubelet space size, for example, vgpaas/20%VG.
- ecs
Performance StringType - Classification of cloud server specifications. Changing this parameter will create a new cluster resource.
- eip
Count Double - Number of elastic IPs to be dynamically created.
- eip
Ids List<String> List of existing elastic IP IDs.
If the
eip_ids
parameter is configured, you do not need to configure theeip_count
andbandwidth
parameters:iptype
,bandwidth_charge_mode
,bandwidth_size
andshare_type
.- extend
Param DoubleCharging Mode - Node charging mode, 0 is on-demand charging. Changing this parameter will create a new cluster resource.
- iptype String
- Elastic IP type.
- Map<String,String>
- Tags of a Kubernetes node, key/value pair format.
- labels Map<String,String>
- Node tag, key/value pair format. Changing this parameter will create a new resource.
- max
Pods Double - The maximum number of instances a node is allowed to create. Changing this parameter will create a new node resource.
- name String
- Node Name.
- order
Id String - Order ID, mandatory when the node payment type is the automatic payment package period type. Changing this parameter will create a new cluster resource.
- os String
Node OS. Changing this parameter will create a new resource.
Supported OS depends on kubernetes version of the cluster. | OS | Kubernetes version | | :----------- | :----------------- | | HCE OS 2.0 |
v1.29
,v1.28
,v1.27
,v1.25
| | Ubuntu 22.04 |v1.29
,v1.28
,v1.27
,v1.25
| | EulerOS release 2.9 |v1.29
,v1.28
,v1.27
,v1.25
,v1.23
,v1.21
,V1.19
| | EulerOS release 2.5 |v1.25
,v1.23
,v1.21
,V1.19
|- postinstall String
- Script required after installation. The input value can be a Base64 encoded string or not. Changing this parameter will create a new resource.
- preinstall String
- Script required before installation. The input value can be a Base64 encoded string or not. Changing this parameter will create a new resource.
- private
Ip String - Private IP of the CCE node. Changing this parameter will create a new resource.
- product
Id String - The Product ID. Changing this parameter will create a new cluster resource.
- public
Key String - The Public key. Changing this parameter will create a new cluster resource.
- region String
- runtime String
- Container runtime. Changing this parameter will create a new resource.
Use with high-caution, may trigger resource recreation. Options are:
docker
- Dockercontainerd
- Containerd - String
- Bandwidth sharing type.
- subnet
Id String - The ID of the subnet to which the NIC belongs. Changing this parameter will create a new resource.
- Map<String,String>
- The field is alternative to
labels
, key/value pair format. - taints
List<Cce
Node V3Taint> - Taints to created nodes to configure anti-affinity.
- timeouts
Cce
Node V3Timeouts
- availability
Zone string - specify the name of the available partition (AZ). Changing this parameter will create a new resource.
- cluster
Id string - ID of the cluster. Changing this parameter will create a new resource.
- data
Volumes CceNode V3Data Volume[] - Represents the data disk to be created. Changing this parameter will create a new resource.
- flavor
Id string - Specifies the flavor id. Changing this parameter will create a new resource.
- key
Pair string - Key pair name when logging in to select the key pair mode. Changing this parameter will create a new resource.
- root
Volume CceNode V3Root Volume - It corresponds to the system disk related configuration. Changing this parameter will create a new resource.
- agency
Name string IAM agency name. Changing this parameter will create a new resource.
NOTE: The IAM agency requires
tms:resourceTags:list
in order to properly read resource state.- annotations {[key: string]: string}
- Node annotation, key/value pair format. Changing this parameter will create a new resource
- bandwidth
Charge stringMode - Bandwidth billing type.
- bandwidth
Size number Bandwidth size.
If the
bandwidth_size
parameter is configured, you do not need to configure theeip_count
,bandwidth_charge_mode
,sharetype
andiptype
parameters.- billing
Mode number - Node's billing mode: The value is
0
(on demand). Changing this parameter will create a new resource. - cce
Node stringV3Id - dedicated
Host stringId - Specifies the ID of the DeH to which the node is scheduled.
- docker
Base numberSize - Available disk space of a single Docker container on the node using the device mapper. Changing this parameter will create a new node.
- docker
Lvm stringConfig Override ConfigMap
of the Docker data disk. Changing this parameter will create a new node.Example:
dockerThinpool=vgpaas/90%VG;kubernetesLV=vgpaas/10%VG;diskType=evs;lvType=linear
In this example:
userLV
: size of the user space, for example, vgpaas/20%VG.userPath
: mount path of the user space, for example, /home/wqt-test.diskType
: disk type. Currently, only the evs, hdd, and ssd are supported.lvType
: type of a logic volume. Currently, the value can be linear or striped.dockerThinpool
: Docker space size, for example, vgpaas/60%VG.kubernetesLV
: kubelet space size, for example, vgpaas/20%VG.
- ecs
Performance stringType - Classification of cloud server specifications. Changing this parameter will create a new cluster resource.
- eip
Count number - Number of elastic IPs to be dynamically created.
- eip
Ids string[] List of existing elastic IP IDs.
If the
eip_ids
parameter is configured, you do not need to configure theeip_count
andbandwidth
parameters:iptype
,bandwidth_charge_mode
,bandwidth_size
andshare_type
.- extend
Param numberCharging Mode - Node charging mode, 0 is on-demand charging. Changing this parameter will create a new cluster resource.
- iptype string
- Elastic IP type.
- {[key: string]: string}
- Tags of a Kubernetes node, key/value pair format.
- labels {[key: string]: string}
- Node tag, key/value pair format. Changing this parameter will create a new resource.
- max
Pods number - The maximum number of instances a node is allowed to create. Changing this parameter will create a new node resource.
- name string
- Node Name.
- order
Id string - Order ID, mandatory when the node payment type is the automatic payment package period type. Changing this parameter will create a new cluster resource.
- os string
Node OS. Changing this parameter will create a new resource.
Supported OS depends on kubernetes version of the cluster. | OS | Kubernetes version | | :----------- | :----------------- | | HCE OS 2.0 |
v1.29
,v1.28
,v1.27
,v1.25
| | Ubuntu 22.04 |v1.29
,v1.28
,v1.27
,v1.25
| | EulerOS release 2.9 |v1.29
,v1.28
,v1.27
,v1.25
,v1.23
,v1.21
,V1.19
| | EulerOS release 2.5 |v1.25
,v1.23
,v1.21
,V1.19
|- postinstall string
- Script required after installation. The input value can be a Base64 encoded string or not. Changing this parameter will create a new resource.
- preinstall string
- Script required before installation. The input value can be a Base64 encoded string or not. Changing this parameter will create a new resource.
- private
Ip string - Private IP of the CCE node. Changing this parameter will create a new resource.
- product
Id string - The Product ID. Changing this parameter will create a new cluster resource.
- public
Key string - The Public key. Changing this parameter will create a new cluster resource.
- region string
- runtime string
- Container runtime. Changing this parameter will create a new resource.
Use with high-caution, may trigger resource recreation. Options are:
docker
- Dockercontainerd
- Containerd - string
- Bandwidth sharing type.
- subnet
Id string - The ID of the subnet to which the NIC belongs. Changing this parameter will create a new resource.
- {[key: string]: string}
- The field is alternative to
labels
, key/value pair format. - taints
Cce
Node V3Taint[] - Taints to created nodes to configure anti-affinity.
- timeouts
Cce
Node V3Timeouts
- availability_
zone str - specify the name of the available partition (AZ). Changing this parameter will create a new resource.
- cluster_
id str - ID of the cluster. Changing this parameter will create a new resource.
- data_
volumes Sequence[CceNode V3Data Volume Args] - Represents the data disk to be created. Changing this parameter will create a new resource.
- flavor_
id str - Specifies the flavor id. Changing this parameter will create a new resource.
- key_
pair str - Key pair name when logging in to select the key pair mode. Changing this parameter will create a new resource.
- root_
volume CceNode V3Root Volume Args - It corresponds to the system disk related configuration. Changing this parameter will create a new resource.
- agency_
name str IAM agency name. Changing this parameter will create a new resource.
NOTE: The IAM agency requires
tms:resourceTags:list
in order to properly read resource state.- annotations Mapping[str, str]
- Node annotation, key/value pair format. Changing this parameter will create a new resource
- bandwidth_
charge_ strmode - Bandwidth billing type.
- bandwidth_
size float Bandwidth size.
If the
bandwidth_size
parameter is configured, you do not need to configure theeip_count
,bandwidth_charge_mode
,sharetype
andiptype
parameters.- billing_
mode float - Node's billing mode: The value is
0
(on demand). Changing this parameter will create a new resource. - cce_
node_ strv3_ id - dedicated_
host_ strid - Specifies the ID of the DeH to which the node is scheduled.
- docker_
base_ floatsize - Available disk space of a single Docker container on the node using the device mapper. Changing this parameter will create a new node.
- docker_
lvm_ strconfig_ override ConfigMap
of the Docker data disk. Changing this parameter will create a new node.Example:
dockerThinpool=vgpaas/90%VG;kubernetesLV=vgpaas/10%VG;diskType=evs;lvType=linear
In this example:
userLV
: size of the user space, for example, vgpaas/20%VG.userPath
: mount path of the user space, for example, /home/wqt-test.diskType
: disk type. Currently, only the evs, hdd, and ssd are supported.lvType
: type of a logic volume. Currently, the value can be linear or striped.dockerThinpool
: Docker space size, for example, vgpaas/60%VG.kubernetesLV
: kubelet space size, for example, vgpaas/20%VG.
- ecs_
performance_ strtype - Classification of cloud server specifications. Changing this parameter will create a new cluster resource.
- eip_
count float - Number of elastic IPs to be dynamically created.
- eip_
ids Sequence[str] List of existing elastic IP IDs.
If the
eip_ids
parameter is configured, you do not need to configure theeip_count
andbandwidth
parameters:iptype
,bandwidth_charge_mode
,bandwidth_size
andshare_type
.- extend_
param_ floatcharging_ mode - Node charging mode, 0 is on-demand charging. Changing this parameter will create a new cluster resource.
- iptype str
- Elastic IP type.
- Mapping[str, str]
- Tags of a Kubernetes node, key/value pair format.
- labels Mapping[str, str]
- Node tag, key/value pair format. Changing this parameter will create a new resource.
- max_
pods float - The maximum number of instances a node is allowed to create. Changing this parameter will create a new node resource.
- name str
- Node Name.
- order_
id str - Order ID, mandatory when the node payment type is the automatic payment package period type. Changing this parameter will create a new cluster resource.
- os str
Node OS. Changing this parameter will create a new resource.
Supported OS depends on kubernetes version of the cluster. | OS | Kubernetes version | | :----------- | :----------------- | | HCE OS 2.0 |
v1.29
,v1.28
,v1.27
,v1.25
| | Ubuntu 22.04 |v1.29
,v1.28
,v1.27
,v1.25
| | EulerOS release 2.9 |v1.29
,v1.28
,v1.27
,v1.25
,v1.23
,v1.21
,V1.19
| | EulerOS release 2.5 |v1.25
,v1.23
,v1.21
,V1.19
|- postinstall str
- Script required after installation. The input value can be a Base64 encoded string or not. Changing this parameter will create a new resource.
- preinstall str
- Script required before installation. The input value can be a Base64 encoded string or not. Changing this parameter will create a new resource.
- private_
ip str - Private IP of the CCE node. Changing this parameter will create a new resource.
- product_
id str - The Product ID. Changing this parameter will create a new cluster resource.
- public_
key str - The Public key. Changing this parameter will create a new cluster resource.
- region str
- runtime str
- Container runtime. Changing this parameter will create a new resource.
Use with high-caution, may trigger resource recreation. Options are:
docker
- Dockercontainerd
- Containerd - str
- Bandwidth sharing type.
- subnet_
id str - The ID of the subnet to which the NIC belongs. Changing this parameter will create a new resource.
- Mapping[str, str]
- The field is alternative to
labels
, key/value pair format. - taints
Sequence[Cce
Node V3Taint Args] - Taints to created nodes to configure anti-affinity.
- timeouts
Cce
Node V3Timeouts Args
- availability
Zone String - specify the name of the available partition (AZ). Changing this parameter will create a new resource.
- cluster
Id String - ID of the cluster. Changing this parameter will create a new resource.
- data
Volumes List<Property Map> - Represents the data disk to be created. Changing this parameter will create a new resource.
- flavor
Id String - Specifies the flavor id. Changing this parameter will create a new resource.
- key
Pair String - Key pair name when logging in to select the key pair mode. Changing this parameter will create a new resource.
- root
Volume Property Map - It corresponds to the system disk related configuration. Changing this parameter will create a new resource.
- agency
Name String IAM agency name. Changing this parameter will create a new resource.
NOTE: The IAM agency requires
tms:resourceTags:list
in order to properly read resource state.- annotations Map<String>
- Node annotation, key/value pair format. Changing this parameter will create a new resource
- bandwidth
Charge StringMode - Bandwidth billing type.
- bandwidth
Size Number Bandwidth size.
If the
bandwidth_size
parameter is configured, you do not need to configure theeip_count
,bandwidth_charge_mode
,sharetype
andiptype
parameters.- billing
Mode Number - Node's billing mode: The value is
0
(on demand). Changing this parameter will create a new resource. - cce
Node StringV3Id - dedicated
Host StringId - Specifies the ID of the DeH to which the node is scheduled.
- docker
Base NumberSize - Available disk space of a single Docker container on the node using the device mapper. Changing this parameter will create a new node.
- docker
Lvm StringConfig Override ConfigMap
of the Docker data disk. Changing this parameter will create a new node.Example:
dockerThinpool=vgpaas/90%VG;kubernetesLV=vgpaas/10%VG;diskType=evs;lvType=linear
In this example:
userLV
: size of the user space, for example, vgpaas/20%VG.userPath
: mount path of the user space, for example, /home/wqt-test.diskType
: disk type. Currently, only the evs, hdd, and ssd are supported.lvType
: type of a logic volume. Currently, the value can be linear or striped.dockerThinpool
: Docker space size, for example, vgpaas/60%VG.kubernetesLV
: kubelet space size, for example, vgpaas/20%VG.
- ecs
Performance StringType - Classification of cloud server specifications. Changing this parameter will create a new cluster resource.
- eip
Count Number - Number of elastic IPs to be dynamically created.
- eip
Ids List<String> List of existing elastic IP IDs.
If the
eip_ids
parameter is configured, you do not need to configure theeip_count
andbandwidth
parameters:iptype
,bandwidth_charge_mode
,bandwidth_size
andshare_type
.- extend
Param NumberCharging Mode - Node charging mode, 0 is on-demand charging. Changing this parameter will create a new cluster resource.
- iptype String
- Elastic IP type.
- Map<String>
- Tags of a Kubernetes node, key/value pair format.
- labels Map<String>
- Node tag, key/value pair format. Changing this parameter will create a new resource.
- max
Pods Number - The maximum number of instances a node is allowed to create. Changing this parameter will create a new node resource.
- name String
- Node Name.
- order
Id String - Order ID, mandatory when the node payment type is the automatic payment package period type. Changing this parameter will create a new cluster resource.
- os String
Node OS. Changing this parameter will create a new resource.
Supported OS depends on kubernetes version of the cluster. | OS | Kubernetes version | | :----------- | :----------------- | | HCE OS 2.0 |
v1.29
,v1.28
,v1.27
,v1.25
| | Ubuntu 22.04 |v1.29
,v1.28
,v1.27
,v1.25
| | EulerOS release 2.9 |v1.29
,v1.28
,v1.27
,v1.25
,v1.23
,v1.21
,V1.19
| | EulerOS release 2.5 |v1.25
,v1.23
,v1.21
,V1.19
|- postinstall String
- Script required after installation. The input value can be a Base64 encoded string or not. Changing this parameter will create a new resource.
- preinstall String
- Script required before installation. The input value can be a Base64 encoded string or not. Changing this parameter will create a new resource.
- private
Ip String - Private IP of the CCE node. Changing this parameter will create a new resource.
- product
Id String - The Product ID. Changing this parameter will create a new cluster resource.
- public
Key String - The Public key. Changing this parameter will create a new cluster resource.
- region String
- runtime String
- Container runtime. Changing this parameter will create a new resource.
Use with high-caution, may trigger resource recreation. Options are:
docker
- Dockercontainerd
- Containerd - String
- Bandwidth sharing type.
- subnet
Id String - The ID of the subnet to which the NIC belongs. Changing this parameter will create a new resource.
- Map<String>
- The field is alternative to
labels
, key/value pair format. - taints List<Property Map>
- Taints to created nodes to configure anti-affinity.
- timeouts Property Map
Outputs
All input properties are implicitly available as output properties. Additionally, the CceNodeV3 resource produces the following output properties:
Look up Existing CceNodeV3 Resource
Get an existing CceNodeV3 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?: CceNodeV3State, opts?: CustomResourceOptions): CceNodeV3
@staticmethod
def get(resource_name: str,
id: str,
opts: Optional[ResourceOptions] = None,
agency_name: Optional[str] = None,
annotations: Optional[Mapping[str, str]] = None,
availability_zone: Optional[str] = None,
bandwidth_charge_mode: Optional[str] = None,
bandwidth_size: Optional[float] = None,
billing_mode: Optional[float] = None,
cce_node_v3_id: Optional[str] = None,
cluster_id: Optional[str] = None,
data_volumes: Optional[Sequence[CceNodeV3DataVolumeArgs]] = None,
dedicated_host_id: Optional[str] = None,
docker_base_size: Optional[float] = None,
docker_lvm_config_override: Optional[str] = None,
ecs_performance_type: Optional[str] = None,
eip_count: Optional[float] = None,
eip_ids: Optional[Sequence[str]] = None,
extend_param_charging_mode: Optional[float] = None,
flavor_id: Optional[str] = None,
iptype: Optional[str] = None,
k8s_tags: Optional[Mapping[str, str]] = None,
key_pair: Optional[str] = None,
labels: Optional[Mapping[str, str]] = None,
max_pods: Optional[float] = None,
name: Optional[str] = None,
order_id: Optional[str] = None,
os: Optional[str] = None,
postinstall: Optional[str] = None,
preinstall: Optional[str] = None,
private_ip: Optional[str] = None,
product_id: Optional[str] = None,
public_ip: Optional[str] = None,
public_key: Optional[str] = None,
region: Optional[str] = None,
root_volume: Optional[CceNodeV3RootVolumeArgs] = None,
runtime: Optional[str] = None,
server_id: Optional[str] = None,
sharetype: Optional[str] = None,
status: Optional[str] = None,
subnet_id: Optional[str] = None,
tags: Optional[Mapping[str, str]] = None,
taints: Optional[Sequence[CceNodeV3TaintArgs]] = None,
timeouts: Optional[CceNodeV3TimeoutsArgs] = None) -> CceNodeV3
func GetCceNodeV3(ctx *Context, name string, id IDInput, state *CceNodeV3State, opts ...ResourceOption) (*CceNodeV3, error)
public static CceNodeV3 Get(string name, Input<string> id, CceNodeV3State? state, CustomResourceOptions? opts = null)
public static CceNodeV3 get(String name, Output<String> id, CceNodeV3State state, CustomResourceOptions options)
resources: _: type: opentelekomcloud:CceNodeV3 get: id: ${id}
- name
- The unique name of the resulting resource.
- id
- The unique provider ID of the resource to lookup.
- state
- Any extra arguments used during the lookup.
- opts
- A bag of options that control this resource's behavior.
- resource_name
- The unique name of the resulting resource.
- id
- The unique provider ID of the resource to lookup.
- name
- The unique name of the resulting resource.
- id
- The unique provider ID of the resource to lookup.
- state
- Any extra arguments used during the lookup.
- opts
- A bag of options that control this resource's behavior.
- name
- The unique name of the resulting resource.
- id
- The unique provider ID of the resource to lookup.
- state
- Any extra arguments used during the lookup.
- opts
- A bag of options that control this resource's behavior.
- name
- The unique name of the resulting resource.
- id
- The unique provider ID of the resource to lookup.
- state
- Any extra arguments used during the lookup.
- opts
- A bag of options that control this resource's behavior.
- Agency
Name string IAM agency name. Changing this parameter will create a new resource.
NOTE: The IAM agency requires
tms:resourceTags:list
in order to properly read resource state.- Annotations Dictionary<string, string>
- Node annotation, key/value pair format. Changing this parameter will create a new resource
- Availability
Zone string - specify the name of the available partition (AZ). Changing this parameter will create a new resource.
- Bandwidth
Charge stringMode - Bandwidth billing type.
- Bandwidth
Size double Bandwidth size.
If the
bandwidth_size
parameter is configured, you do not need to configure theeip_count
,bandwidth_charge_mode
,sharetype
andiptype
parameters.- Billing
Mode double - Node's billing mode: The value is
0
(on demand). Changing this parameter will create a new resource. - Cce
Node stringV3Id - Cluster
Id string - ID of the cluster. Changing this parameter will create a new resource.
- Data
Volumes List<CceNode V3Data Volume> - Represents the data disk to be created. Changing this parameter will create a new resource.
- Dedicated
Host stringId - Specifies the ID of the DeH to which the node is scheduled.
- Docker
Base doubleSize - Available disk space of a single Docker container on the node using the device mapper. Changing this parameter will create a new node.
- Docker
Lvm stringConfig Override ConfigMap
of the Docker data disk. Changing this parameter will create a new node.Example:
dockerThinpool=vgpaas/90%VG;kubernetesLV=vgpaas/10%VG;diskType=evs;lvType=linear
In this example:
userLV
: size of the user space, for example, vgpaas/20%VG.userPath
: mount path of the user space, for example, /home/wqt-test.diskType
: disk type. Currently, only the evs, hdd, and ssd are supported.lvType
: type of a logic volume. Currently, the value can be linear or striped.dockerThinpool
: Docker space size, for example, vgpaas/60%VG.kubernetesLV
: kubelet space size, for example, vgpaas/20%VG.
- Ecs
Performance stringType - Classification of cloud server specifications. Changing this parameter will create a new cluster resource.
- Eip
Count double - Number of elastic IPs to be dynamically created.
- Eip
Ids List<string> List of existing elastic IP IDs.
If the
eip_ids
parameter is configured, you do not need to configure theeip_count
andbandwidth
parameters:iptype
,bandwidth_charge_mode
,bandwidth_size
andshare_type
.- Extend
Param doubleCharging Mode - Node charging mode, 0 is on-demand charging. Changing this parameter will create a new cluster resource.
- Flavor
Id string - Specifies the flavor id. Changing this parameter will create a new resource.
- Iptype string
- Elastic IP type.
- Dictionary<string, string>
- Tags of a Kubernetes node, key/value pair format.
- Key
Pair string - Key pair name when logging in to select the key pair mode. Changing this parameter will create a new resource.
- Labels Dictionary<string, string>
- Node tag, key/value pair format. Changing this parameter will create a new resource.
- Max
Pods double - The maximum number of instances a node is allowed to create. Changing this parameter will create a new node resource.
- Name string
- Node Name.
- Order
Id string - Order ID, mandatory when the node payment type is the automatic payment package period type. Changing this parameter will create a new cluster resource.
- Os string
Node OS. Changing this parameter will create a new resource.
Supported OS depends on kubernetes version of the cluster. | OS | Kubernetes version | | :----------- | :----------------- | | HCE OS 2.0 |
v1.29
,v1.28
,v1.27
,v1.25
| | Ubuntu 22.04 |v1.29
,v1.28
,v1.27
,v1.25
| | EulerOS release 2.9 |v1.29
,v1.28
,v1.27
,v1.25
,v1.23
,v1.21
,V1.19
| | EulerOS release 2.5 |v1.25
,v1.23
,v1.21
,V1.19
|- Postinstall string
- Script required after installation. The input value can be a Base64 encoded string or not. Changing this parameter will create a new resource.
- Preinstall string
- Script required before installation. The input value can be a Base64 encoded string or not. Changing this parameter will create a new resource.
- Private
Ip string - Private IP of the CCE node. Changing this parameter will create a new resource.
- Product
Id string - The Product ID. Changing this parameter will create a new cluster resource.
- Public
Ip string - Public IP of the CCE node.
- Public
Key string - The Public key. Changing this parameter will create a new cluster resource.
- Region string
- Root
Volume CceNode V3Root Volume - It corresponds to the system disk related configuration. Changing this parameter will create a new resource.
- Runtime string
- Container runtime. Changing this parameter will create a new resource.
Use with high-caution, may trigger resource recreation. Options are:
docker
- Dockercontainerd
- Containerd - Server
Id string - ID of the ECS where the node resides.
- string
- Bandwidth sharing type.
- Status string
- Node status information.
- Subnet
Id string - The ID of the subnet to which the NIC belongs. Changing this parameter will create a new resource.
- Dictionary<string, string>
- The field is alternative to
labels
, key/value pair format. - Taints
List<Cce
Node V3Taint> - Taints to created nodes to configure anti-affinity.
- Timeouts
Cce
Node V3Timeouts
- Agency
Name string IAM agency name. Changing this parameter will create a new resource.
NOTE: The IAM agency requires
tms:resourceTags:list
in order to properly read resource state.- Annotations map[string]string
- Node annotation, key/value pair format. Changing this parameter will create a new resource
- Availability
Zone string - specify the name of the available partition (AZ). Changing this parameter will create a new resource.
- Bandwidth
Charge stringMode - Bandwidth billing type.
- Bandwidth
Size float64 Bandwidth size.
If the
bandwidth_size
parameter is configured, you do not need to configure theeip_count
,bandwidth_charge_mode
,sharetype
andiptype
parameters.- Billing
Mode float64 - Node's billing mode: The value is
0
(on demand). Changing this parameter will create a new resource. - Cce
Node stringV3Id - Cluster
Id string - ID of the cluster. Changing this parameter will create a new resource.
- Data
Volumes []CceNode V3Data Volume Args - Represents the data disk to be created. Changing this parameter will create a new resource.
- Dedicated
Host stringId - Specifies the ID of the DeH to which the node is scheduled.
- Docker
Base float64Size - Available disk space of a single Docker container on the node using the device mapper. Changing this parameter will create a new node.
- Docker
Lvm stringConfig Override ConfigMap
of the Docker data disk. Changing this parameter will create a new node.Example:
dockerThinpool=vgpaas/90%VG;kubernetesLV=vgpaas/10%VG;diskType=evs;lvType=linear
In this example:
userLV
: size of the user space, for example, vgpaas/20%VG.userPath
: mount path of the user space, for example, /home/wqt-test.diskType
: disk type. Currently, only the evs, hdd, and ssd are supported.lvType
: type of a logic volume. Currently, the value can be linear or striped.dockerThinpool
: Docker space size, for example, vgpaas/60%VG.kubernetesLV
: kubelet space size, for example, vgpaas/20%VG.
- Ecs
Performance stringType - Classification of cloud server specifications. Changing this parameter will create a new cluster resource.
- Eip
Count float64 - Number of elastic IPs to be dynamically created.
- Eip
Ids []string List of existing elastic IP IDs.
If the
eip_ids
parameter is configured, you do not need to configure theeip_count
andbandwidth
parameters:iptype
,bandwidth_charge_mode
,bandwidth_size
andshare_type
.- Extend
Param float64Charging Mode - Node charging mode, 0 is on-demand charging. Changing this parameter will create a new cluster resource.
- Flavor
Id string - Specifies the flavor id. Changing this parameter will create a new resource.
- Iptype string
- Elastic IP type.
- map[string]string
- Tags of a Kubernetes node, key/value pair format.
- Key
Pair string - Key pair name when logging in to select the key pair mode. Changing this parameter will create a new resource.
- Labels map[string]string
- Node tag, key/value pair format. Changing this parameter will create a new resource.
- Max
Pods float64 - The maximum number of instances a node is allowed to create. Changing this parameter will create a new node resource.
- Name string
- Node Name.
- Order
Id string - Order ID, mandatory when the node payment type is the automatic payment package period type. Changing this parameter will create a new cluster resource.
- Os string
Node OS. Changing this parameter will create a new resource.
Supported OS depends on kubernetes version of the cluster. | OS | Kubernetes version | | :----------- | :----------------- | | HCE OS 2.0 |
v1.29
,v1.28
,v1.27
,v1.25
| | Ubuntu 22.04 |v1.29
,v1.28
,v1.27
,v1.25
| | EulerOS release 2.9 |v1.29
,v1.28
,v1.27
,v1.25
,v1.23
,v1.21
,V1.19
| | EulerOS release 2.5 |v1.25
,v1.23
,v1.21
,V1.19
|- Postinstall string
- Script required after installation. The input value can be a Base64 encoded string or not. Changing this parameter will create a new resource.
- Preinstall string
- Script required before installation. The input value can be a Base64 encoded string or not. Changing this parameter will create a new resource.
- Private
Ip string - Private IP of the CCE node. Changing this parameter will create a new resource.
- Product
Id string - The Product ID. Changing this parameter will create a new cluster resource.
- Public
Ip string - Public IP of the CCE node.
- Public
Key string - The Public key. Changing this parameter will create a new cluster resource.
- Region string
- Root
Volume CceNode V3Root Volume Args - It corresponds to the system disk related configuration. Changing this parameter will create a new resource.
- Runtime string
- Container runtime. Changing this parameter will create a new resource.
Use with high-caution, may trigger resource recreation. Options are:
docker
- Dockercontainerd
- Containerd - Server
Id string - ID of the ECS where the node resides.
- string
- Bandwidth sharing type.
- Status string
- Node status information.
- Subnet
Id string - The ID of the subnet to which the NIC belongs. Changing this parameter will create a new resource.
- map[string]string
- The field is alternative to
labels
, key/value pair format. - Taints
[]Cce
Node V3Taint Args - Taints to created nodes to configure anti-affinity.
- Timeouts
Cce
Node V3Timeouts Args
- agency
Name String IAM agency name. Changing this parameter will create a new resource.
NOTE: The IAM agency requires
tms:resourceTags:list
in order to properly read resource state.- annotations Map<String,String>
- Node annotation, key/value pair format. Changing this parameter will create a new resource
- availability
Zone String - specify the name of the available partition (AZ). Changing this parameter will create a new resource.
- bandwidth
Charge StringMode - Bandwidth billing type.
- bandwidth
Size Double Bandwidth size.
If the
bandwidth_size
parameter is configured, you do not need to configure theeip_count
,bandwidth_charge_mode
,sharetype
andiptype
parameters.- billing
Mode Double - Node's billing mode: The value is
0
(on demand). Changing this parameter will create a new resource. - cce
Node StringV3Id - cluster
Id String - ID of the cluster. Changing this parameter will create a new resource.
- data
Volumes List<CceNode V3Data Volume> - Represents the data disk to be created. Changing this parameter will create a new resource.
- dedicated
Host StringId - Specifies the ID of the DeH to which the node is scheduled.
- docker
Base DoubleSize - Available disk space of a single Docker container on the node using the device mapper. Changing this parameter will create a new node.
- docker
Lvm StringConfig Override ConfigMap
of the Docker data disk. Changing this parameter will create a new node.Example:
dockerThinpool=vgpaas/90%VG;kubernetesLV=vgpaas/10%VG;diskType=evs;lvType=linear
In this example:
userLV
: size of the user space, for example, vgpaas/20%VG.userPath
: mount path of the user space, for example, /home/wqt-test.diskType
: disk type. Currently, only the evs, hdd, and ssd are supported.lvType
: type of a logic volume. Currently, the value can be linear or striped.dockerThinpool
: Docker space size, for example, vgpaas/60%VG.kubernetesLV
: kubelet space size, for example, vgpaas/20%VG.
- ecs
Performance StringType - Classification of cloud server specifications. Changing this parameter will create a new cluster resource.
- eip
Count Double - Number of elastic IPs to be dynamically created.
- eip
Ids List<String> List of existing elastic IP IDs.
If the
eip_ids
parameter is configured, you do not need to configure theeip_count
andbandwidth
parameters:iptype
,bandwidth_charge_mode
,bandwidth_size
andshare_type
.- extend
Param DoubleCharging Mode - Node charging mode, 0 is on-demand charging. Changing this parameter will create a new cluster resource.
- flavor
Id String - Specifies the flavor id. Changing this parameter will create a new resource.
- iptype String
- Elastic IP type.
- Map<String,String>
- Tags of a Kubernetes node, key/value pair format.
- key
Pair String - Key pair name when logging in to select the key pair mode. Changing this parameter will create a new resource.
- labels Map<String,String>
- Node tag, key/value pair format. Changing this parameter will create a new resource.
- max
Pods Double - The maximum number of instances a node is allowed to create. Changing this parameter will create a new node resource.
- name String
- Node Name.
- order
Id String - Order ID, mandatory when the node payment type is the automatic payment package period type. Changing this parameter will create a new cluster resource.
- os String
Node OS. Changing this parameter will create a new resource.
Supported OS depends on kubernetes version of the cluster. | OS | Kubernetes version | | :----------- | :----------------- | | HCE OS 2.0 |
v1.29
,v1.28
,v1.27
,v1.25
| | Ubuntu 22.04 |v1.29
,v1.28
,v1.27
,v1.25
| | EulerOS release 2.9 |v1.29
,v1.28
,v1.27
,v1.25
,v1.23
,v1.21
,V1.19
| | EulerOS release 2.5 |v1.25
,v1.23
,v1.21
,V1.19
|- postinstall String
- Script required after installation. The input value can be a Base64 encoded string or not. Changing this parameter will create a new resource.
- preinstall String
- Script required before installation. The input value can be a Base64 encoded string or not. Changing this parameter will create a new resource.
- private
Ip String - Private IP of the CCE node. Changing this parameter will create a new resource.
- product
Id String - The Product ID. Changing this parameter will create a new cluster resource.
- public
Ip String - Public IP of the CCE node.
- public
Key String - The Public key. Changing this parameter will create a new cluster resource.
- region String
- root
Volume CceNode V3Root Volume - It corresponds to the system disk related configuration. Changing this parameter will create a new resource.
- runtime String
- Container runtime. Changing this parameter will create a new resource.
Use with high-caution, may trigger resource recreation. Options are:
docker
- Dockercontainerd
- Containerd - server
Id String - ID of the ECS where the node resides.
- String
- Bandwidth sharing type.
- status String
- Node status information.
- subnet
Id String - The ID of the subnet to which the NIC belongs. Changing this parameter will create a new resource.
- Map<String,String>
- The field is alternative to
labels
, key/value pair format. - taints
List<Cce
Node V3Taint> - Taints to created nodes to configure anti-affinity.
- timeouts
Cce
Node V3Timeouts
- agency
Name string IAM agency name. Changing this parameter will create a new resource.
NOTE: The IAM agency requires
tms:resourceTags:list
in order to properly read resource state.- annotations {[key: string]: string}
- Node annotation, key/value pair format. Changing this parameter will create a new resource
- availability
Zone string - specify the name of the available partition (AZ). Changing this parameter will create a new resource.
- bandwidth
Charge stringMode - Bandwidth billing type.
- bandwidth
Size number Bandwidth size.
If the
bandwidth_size
parameter is configured, you do not need to configure theeip_count
,bandwidth_charge_mode
,sharetype
andiptype
parameters.- billing
Mode number - Node's billing mode: The value is
0
(on demand). Changing this parameter will create a new resource. - cce
Node stringV3Id - cluster
Id string - ID of the cluster. Changing this parameter will create a new resource.
- data
Volumes CceNode V3Data Volume[] - Represents the data disk to be created. Changing this parameter will create a new resource.
- dedicated
Host stringId - Specifies the ID of the DeH to which the node is scheduled.
- docker
Base numberSize - Available disk space of a single Docker container on the node using the device mapper. Changing this parameter will create a new node.
- docker
Lvm stringConfig Override ConfigMap
of the Docker data disk. Changing this parameter will create a new node.Example:
dockerThinpool=vgpaas/90%VG;kubernetesLV=vgpaas/10%VG;diskType=evs;lvType=linear
In this example:
userLV
: size of the user space, for example, vgpaas/20%VG.userPath
: mount path of the user space, for example, /home/wqt-test.diskType
: disk type. Currently, only the evs, hdd, and ssd are supported.lvType
: type of a logic volume. Currently, the value can be linear or striped.dockerThinpool
: Docker space size, for example, vgpaas/60%VG.kubernetesLV
: kubelet space size, for example, vgpaas/20%VG.
- ecs
Performance stringType - Classification of cloud server specifications. Changing this parameter will create a new cluster resource.
- eip
Count number - Number of elastic IPs to be dynamically created.
- eip
Ids string[] List of existing elastic IP IDs.
If the
eip_ids
parameter is configured, you do not need to configure theeip_count
andbandwidth
parameters:iptype
,bandwidth_charge_mode
,bandwidth_size
andshare_type
.- extend
Param numberCharging Mode - Node charging mode, 0 is on-demand charging. Changing this parameter will create a new cluster resource.
- flavor
Id string - Specifies the flavor id. Changing this parameter will create a new resource.
- iptype string
- Elastic IP type.
- {[key: string]: string}
- Tags of a Kubernetes node, key/value pair format.
- key
Pair string - Key pair name when logging in to select the key pair mode. Changing this parameter will create a new resource.
- labels {[key: string]: string}
- Node tag, key/value pair format. Changing this parameter will create a new resource.
- max
Pods number - The maximum number of instances a node is allowed to create. Changing this parameter will create a new node resource.
- name string
- Node Name.
- order
Id string - Order ID, mandatory when the node payment type is the automatic payment package period type. Changing this parameter will create a new cluster resource.
- os string
Node OS. Changing this parameter will create a new resource.
Supported OS depends on kubernetes version of the cluster. | OS | Kubernetes version | | :----------- | :----------------- | | HCE OS 2.0 |
v1.29
,v1.28
,v1.27
,v1.25
| | Ubuntu 22.04 |v1.29
,v1.28
,v1.27
,v1.25
| | EulerOS release 2.9 |v1.29
,v1.28
,v1.27
,v1.25
,v1.23
,v1.21
,V1.19
| | EulerOS release 2.5 |v1.25
,v1.23
,v1.21
,V1.19
|- postinstall string
- Script required after installation. The input value can be a Base64 encoded string or not. Changing this parameter will create a new resource.
- preinstall string
- Script required before installation. The input value can be a Base64 encoded string or not. Changing this parameter will create a new resource.
- private
Ip string - Private IP of the CCE node. Changing this parameter will create a new resource.
- product
Id string - The Product ID. Changing this parameter will create a new cluster resource.
- public
Ip string - Public IP of the CCE node.
- public
Key string - The Public key. Changing this parameter will create a new cluster resource.
- region string
- root
Volume CceNode V3Root Volume - It corresponds to the system disk related configuration. Changing this parameter will create a new resource.
- runtime string
- Container runtime. Changing this parameter will create a new resource.
Use with high-caution, may trigger resource recreation. Options are:
docker
- Dockercontainerd
- Containerd - server
Id string - ID of the ECS where the node resides.
- string
- Bandwidth sharing type.
- status string
- Node status information.
- subnet
Id string - The ID of the subnet to which the NIC belongs. Changing this parameter will create a new resource.
- {[key: string]: string}
- The field is alternative to
labels
, key/value pair format. - taints
Cce
Node V3Taint[] - Taints to created nodes to configure anti-affinity.
- timeouts
Cce
Node V3Timeouts
- agency_
name str IAM agency name. Changing this parameter will create a new resource.
NOTE: The IAM agency requires
tms:resourceTags:list
in order to properly read resource state.- annotations Mapping[str, str]
- Node annotation, key/value pair format. Changing this parameter will create a new resource
- availability_
zone str - specify the name of the available partition (AZ). Changing this parameter will create a new resource.
- bandwidth_
charge_ strmode - Bandwidth billing type.
- bandwidth_
size float Bandwidth size.
If the
bandwidth_size
parameter is configured, you do not need to configure theeip_count
,bandwidth_charge_mode
,sharetype
andiptype
parameters.- billing_
mode float - Node's billing mode: The value is
0
(on demand). Changing this parameter will create a new resource. - cce_
node_ strv3_ id - cluster_
id str - ID of the cluster. Changing this parameter will create a new resource.
- data_
volumes Sequence[CceNode V3Data Volume Args] - Represents the data disk to be created. Changing this parameter will create a new resource.
- dedicated_
host_ strid - Specifies the ID of the DeH to which the node is scheduled.
- docker_
base_ floatsize - Available disk space of a single Docker container on the node using the device mapper. Changing this parameter will create a new node.
- docker_
lvm_ strconfig_ override ConfigMap
of the Docker data disk. Changing this parameter will create a new node.Example:
dockerThinpool=vgpaas/90%VG;kubernetesLV=vgpaas/10%VG;diskType=evs;lvType=linear
In this example:
userLV
: size of the user space, for example, vgpaas/20%VG.userPath
: mount path of the user space, for example, /home/wqt-test.diskType
: disk type. Currently, only the evs, hdd, and ssd are supported.lvType
: type of a logic volume. Currently, the value can be linear or striped.dockerThinpool
: Docker space size, for example, vgpaas/60%VG.kubernetesLV
: kubelet space size, for example, vgpaas/20%VG.
- ecs_
performance_ strtype - Classification of cloud server specifications. Changing this parameter will create a new cluster resource.
- eip_
count float - Number of elastic IPs to be dynamically created.
- eip_
ids Sequence[str] List of existing elastic IP IDs.
If the
eip_ids
parameter is configured, you do not need to configure theeip_count
andbandwidth
parameters:iptype
,bandwidth_charge_mode
,bandwidth_size
andshare_type
.- extend_
param_ floatcharging_ mode - Node charging mode, 0 is on-demand charging. Changing this parameter will create a new cluster resource.
- flavor_
id str - Specifies the flavor id. Changing this parameter will create a new resource.
- iptype str
- Elastic IP type.
- Mapping[str, str]
- Tags of a Kubernetes node, key/value pair format.
- key_
pair str - Key pair name when logging in to select the key pair mode. Changing this parameter will create a new resource.
- labels Mapping[str, str]
- Node tag, key/value pair format. Changing this parameter will create a new resource.
- max_
pods float - The maximum number of instances a node is allowed to create. Changing this parameter will create a new node resource.
- name str
- Node Name.
- order_
id str - Order ID, mandatory when the node payment type is the automatic payment package period type. Changing this parameter will create a new cluster resource.
- os str
Node OS. Changing this parameter will create a new resource.
Supported OS depends on kubernetes version of the cluster. | OS | Kubernetes version | | :----------- | :----------------- | | HCE OS 2.0 |
v1.29
,v1.28
,v1.27
,v1.25
| | Ubuntu 22.04 |v1.29
,v1.28
,v1.27
,v1.25
| | EulerOS release 2.9 |v1.29
,v1.28
,v1.27
,v1.25
,v1.23
,v1.21
,V1.19
| | EulerOS release 2.5 |v1.25
,v1.23
,v1.21
,V1.19
|- postinstall str
- Script required after installation. The input value can be a Base64 encoded string or not. Changing this parameter will create a new resource.
- preinstall str
- Script required before installation. The input value can be a Base64 encoded string or not. Changing this parameter will create a new resource.
- private_
ip str - Private IP of the CCE node. Changing this parameter will create a new resource.
- product_
id str - The Product ID. Changing this parameter will create a new cluster resource.
- public_
ip str - Public IP of the CCE node.
- public_
key str - The Public key. Changing this parameter will create a new cluster resource.
- region str
- root_
volume CceNode V3Root Volume Args - It corresponds to the system disk related configuration. Changing this parameter will create a new resource.
- runtime str
- Container runtime. Changing this parameter will create a new resource.
Use with high-caution, may trigger resource recreation. Options are:
docker
- Dockercontainerd
- Containerd - server_
id str - ID of the ECS where the node resides.
- str
- Bandwidth sharing type.
- status str
- Node status information.
- subnet_
id str - The ID of the subnet to which the NIC belongs. Changing this parameter will create a new resource.
- Mapping[str, str]
- The field is alternative to
labels
, key/value pair format. - taints
Sequence[Cce
Node V3Taint Args] - Taints to created nodes to configure anti-affinity.
- timeouts
Cce
Node V3Timeouts Args
- agency
Name String IAM agency name. Changing this parameter will create a new resource.
NOTE: The IAM agency requires
tms:resourceTags:list
in order to properly read resource state.- annotations Map<String>
- Node annotation, key/value pair format. Changing this parameter will create a new resource
- availability
Zone String - specify the name of the available partition (AZ). Changing this parameter will create a new resource.
- bandwidth
Charge StringMode - Bandwidth billing type.
- bandwidth
Size Number Bandwidth size.
If the
bandwidth_size
parameter is configured, you do not need to configure theeip_count
,bandwidth_charge_mode
,sharetype
andiptype
parameters.- billing
Mode Number - Node's billing mode: The value is
0
(on demand). Changing this parameter will create a new resource. - cce
Node StringV3Id - cluster
Id String - ID of the cluster. Changing this parameter will create a new resource.
- data
Volumes List<Property Map> - Represents the data disk to be created. Changing this parameter will create a new resource.
- dedicated
Host StringId - Specifies the ID of the DeH to which the node is scheduled.
- docker
Base NumberSize - Available disk space of a single Docker container on the node using the device mapper. Changing this parameter will create a new node.
- docker
Lvm StringConfig Override ConfigMap
of the Docker data disk. Changing this parameter will create a new node.Example:
dockerThinpool=vgpaas/90%VG;kubernetesLV=vgpaas/10%VG;diskType=evs;lvType=linear
In this example:
userLV
: size of the user space, for example, vgpaas/20%VG.userPath
: mount path of the user space, for example, /home/wqt-test.diskType
: disk type. Currently, only the evs, hdd, and ssd are supported.lvType
: type of a logic volume. Currently, the value can be linear or striped.dockerThinpool
: Docker space size, for example, vgpaas/60%VG.kubernetesLV
: kubelet space size, for example, vgpaas/20%VG.
- ecs
Performance StringType - Classification of cloud server specifications. Changing this parameter will create a new cluster resource.
- eip
Count Number - Number of elastic IPs to be dynamically created.
- eip
Ids List<String> List of existing elastic IP IDs.
If the
eip_ids
parameter is configured, you do not need to configure theeip_count
andbandwidth
parameters:iptype
,bandwidth_charge_mode
,bandwidth_size
andshare_type
.- extend
Param NumberCharging Mode - Node charging mode, 0 is on-demand charging. Changing this parameter will create a new cluster resource.
- flavor
Id String - Specifies the flavor id. Changing this parameter will create a new resource.
- iptype String
- Elastic IP type.
- Map<String>
- Tags of a Kubernetes node, key/value pair format.
- key
Pair String - Key pair name when logging in to select the key pair mode. Changing this parameter will create a new resource.
- labels Map<String>
- Node tag, key/value pair format. Changing this parameter will create a new resource.
- max
Pods Number - The maximum number of instances a node is allowed to create. Changing this parameter will create a new node resource.
- name String
- Node Name.
- order
Id String - Order ID, mandatory when the node payment type is the automatic payment package period type. Changing this parameter will create a new cluster resource.
- os String
Node OS. Changing this parameter will create a new resource.
Supported OS depends on kubernetes version of the cluster. | OS | Kubernetes version | | :----------- | :----------------- | | HCE OS 2.0 |
v1.29
,v1.28
,v1.27
,v1.25
| | Ubuntu 22.04 |v1.29
,v1.28
,v1.27
,v1.25
| | EulerOS release 2.9 |v1.29
,v1.28
,v1.27
,v1.25
,v1.23
,v1.21
,V1.19
| | EulerOS release 2.5 |v1.25
,v1.23
,v1.21
,V1.19
|- postinstall String
- Script required after installation. The input value can be a Base64 encoded string or not. Changing this parameter will create a new resource.
- preinstall String
- Script required before installation. The input value can be a Base64 encoded string or not. Changing this parameter will create a new resource.
- private
Ip String - Private IP of the CCE node. Changing this parameter will create a new resource.
- product
Id String - The Product ID. Changing this parameter will create a new cluster resource.
- public
Ip String - Public IP of the CCE node.
- public
Key String - The Public key. Changing this parameter will create a new cluster resource.
- region String
- root
Volume Property Map - It corresponds to the system disk related configuration. Changing this parameter will create a new resource.
- runtime String
- Container runtime. Changing this parameter will create a new resource.
Use with high-caution, may trigger resource recreation. Options are:
docker
- Dockercontainerd
- Containerd - server
Id String - ID of the ECS where the node resides.
- String
- Bandwidth sharing type.
- status String
- Node status information.
- subnet
Id String - The ID of the subnet to which the NIC belongs. Changing this parameter will create a new resource.
- Map<String>
- The field is alternative to
labels
, key/value pair format. - taints List<Property Map>
- Taints to created nodes to configure anti-affinity.
- timeouts Property Map
Supporting Types
CceNodeV3DataVolume, CceNodeV3DataVolumeArgs
- Size double
- Disk size in GB.
- Volumetype string
- Disk type.
- Extend
Param string - DEPRECATED - (Optional, ForceNew, String) Disk expansion parameters.
Please use alternative parameter
extend_params
. - Extend
Params Dictionary<string, string> - Disk expansion parameters. A list of strings which describes additional disk parameters.
- Kms
Id string The Encryption KMS ID of the data volume. By default, it tries to get from env by
OS_KMS_ID
.NOTE: Common I/O (SATA) will reach end of life, end of 2025.
To enable encryption with the KMS. Firstly, you need to create the agency to grant KMS rights to EVS. The agency has to be created for a new project first with a user who has security
admin
permissions. It is created automatically with the first encrypted EVS disk via UI.
- Size float64
- Disk size in GB.
- Volumetype string
- Disk type.
- Extend
Param string - DEPRECATED - (Optional, ForceNew, String) Disk expansion parameters.
Please use alternative parameter
extend_params
. - Extend
Params map[string]string - Disk expansion parameters. A list of strings which describes additional disk parameters.
- Kms
Id string The Encryption KMS ID of the data volume. By default, it tries to get from env by
OS_KMS_ID
.NOTE: Common I/O (SATA) will reach end of life, end of 2025.
To enable encryption with the KMS. Firstly, you need to create the agency to grant KMS rights to EVS. The agency has to be created for a new project first with a user who has security
admin
permissions. It is created automatically with the first encrypted EVS disk via UI.
- size Double
- Disk size in GB.
- volumetype String
- Disk type.
- extend
Param String - DEPRECATED - (Optional, ForceNew, String) Disk expansion parameters.
Please use alternative parameter
extend_params
. - extend
Params Map<String,String> - Disk expansion parameters. A list of strings which describes additional disk parameters.
- kms
Id String The Encryption KMS ID of the data volume. By default, it tries to get from env by
OS_KMS_ID
.NOTE: Common I/O (SATA) will reach end of life, end of 2025.
To enable encryption with the KMS. Firstly, you need to create the agency to grant KMS rights to EVS. The agency has to be created for a new project first with a user who has security
admin
permissions. It is created automatically with the first encrypted EVS disk via UI.
- size number
- Disk size in GB.
- volumetype string
- Disk type.
- extend
Param string - DEPRECATED - (Optional, ForceNew, String) Disk expansion parameters.
Please use alternative parameter
extend_params
. - extend
Params {[key: string]: string} - Disk expansion parameters. A list of strings which describes additional disk parameters.
- kms
Id string The Encryption KMS ID of the data volume. By default, it tries to get from env by
OS_KMS_ID
.NOTE: Common I/O (SATA) will reach end of life, end of 2025.
To enable encryption with the KMS. Firstly, you need to create the agency to grant KMS rights to EVS. The agency has to be created for a new project first with a user who has security
admin
permissions. It is created automatically with the first encrypted EVS disk via UI.
- size float
- Disk size in GB.
- volumetype str
- Disk type.
- extend_
param str - DEPRECATED - (Optional, ForceNew, String) Disk expansion parameters.
Please use alternative parameter
extend_params
. - extend_
params Mapping[str, str] - Disk expansion parameters. A list of strings which describes additional disk parameters.
- kms_
id str The Encryption KMS ID of the data volume. By default, it tries to get from env by
OS_KMS_ID
.NOTE: Common I/O (SATA) will reach end of life, end of 2025.
To enable encryption with the KMS. Firstly, you need to create the agency to grant KMS rights to EVS. The agency has to be created for a new project first with a user who has security
admin
permissions. It is created automatically with the first encrypted EVS disk via UI.
- size Number
- Disk size in GB.
- volumetype String
- Disk type.
- extend
Param String - DEPRECATED - (Optional, ForceNew, String) Disk expansion parameters.
Please use alternative parameter
extend_params
. - extend
Params Map<String> - Disk expansion parameters. A list of strings which describes additional disk parameters.
- kms
Id String The Encryption KMS ID of the data volume. By default, it tries to get from env by
OS_KMS_ID
.NOTE: Common I/O (SATA) will reach end of life, end of 2025.
To enable encryption with the KMS. Firstly, you need to create the agency to grant KMS rights to EVS. The agency has to be created for a new project first with a user who has security
admin
permissions. It is created automatically with the first encrypted EVS disk via UI.
CceNodeV3RootVolume, CceNodeV3RootVolumeArgs
- Size double
- Disk size in GB.
- Volumetype string
- Disk type.
- Extend
Param string - DEPRECATED - (Optional, ForceNew, String) Disk expansion parameters.
Please use alternative parameter
extend_params
. - Extend
Params Dictionary<string, string> - Disk expansion parameters. A list of strings which describes additional disk parameters.
- Kms
Id string The Encryption KMS ID of the system volume. By default, it tries to get from env by
OS_KMS_ID
.NOTE: Common I/O (SATA) will reach end of life, end of 2025.
- Size float64
- Disk size in GB.
- Volumetype string
- Disk type.
- Extend
Param string - DEPRECATED - (Optional, ForceNew, String) Disk expansion parameters.
Please use alternative parameter
extend_params
. - Extend
Params map[string]string - Disk expansion parameters. A list of strings which describes additional disk parameters.
- Kms
Id string The Encryption KMS ID of the system volume. By default, it tries to get from env by
OS_KMS_ID
.NOTE: Common I/O (SATA) will reach end of life, end of 2025.
- size Double
- Disk size in GB.
- volumetype String
- Disk type.
- extend
Param String - DEPRECATED - (Optional, ForceNew, String) Disk expansion parameters.
Please use alternative parameter
extend_params
. - extend
Params Map<String,String> - Disk expansion parameters. A list of strings which describes additional disk parameters.
- kms
Id String The Encryption KMS ID of the system volume. By default, it tries to get from env by
OS_KMS_ID
.NOTE: Common I/O (SATA) will reach end of life, end of 2025.
- size number
- Disk size in GB.
- volumetype string
- Disk type.
- extend
Param string - DEPRECATED - (Optional, ForceNew, String) Disk expansion parameters.
Please use alternative parameter
extend_params
. - extend
Params {[key: string]: string} - Disk expansion parameters. A list of strings which describes additional disk parameters.
- kms
Id string The Encryption KMS ID of the system volume. By default, it tries to get from env by
OS_KMS_ID
.NOTE: Common I/O (SATA) will reach end of life, end of 2025.
- size float
- Disk size in GB.
- volumetype str
- Disk type.
- extend_
param str - DEPRECATED - (Optional, ForceNew, String) Disk expansion parameters.
Please use alternative parameter
extend_params
. - extend_
params Mapping[str, str] - Disk expansion parameters. A list of strings which describes additional disk parameters.
- kms_
id str The Encryption KMS ID of the system volume. By default, it tries to get from env by
OS_KMS_ID
.NOTE: Common I/O (SATA) will reach end of life, end of 2025.
- size Number
- Disk size in GB.
- volumetype String
- Disk type.
- extend
Param String - DEPRECATED - (Optional, ForceNew, String) Disk expansion parameters.
Please use alternative parameter
extend_params
. - extend
Params Map<String> - Disk expansion parameters. A list of strings which describes additional disk parameters.
- kms
Id String The Encryption KMS ID of the system volume. By default, it tries to get from env by
OS_KMS_ID
.NOTE: Common I/O (SATA) will reach end of life, end of 2025.
CceNodeV3Taint, CceNodeV3TaintArgs
- Effect string
- Available options are
NoSchedule
,PreferNoSchedule
, andNoExecute
. - Key string
- A key must contain 1 to 63 characters starting with a letter or digit. Only letters, digits, hyphens (-), underscores (_), and periods (.) are allowed. A DNS subdomain name can be used as the prefix of a key.
- Value string
- A value must start with a letter or digit and can contain a maximum of 63 characters, including letters, digits, hyphens (-), underscores (_), and periods (.).
- Effect string
- Available options are
NoSchedule
,PreferNoSchedule
, andNoExecute
. - Key string
- A key must contain 1 to 63 characters starting with a letter or digit. Only letters, digits, hyphens (-), underscores (_), and periods (.) are allowed. A DNS subdomain name can be used as the prefix of a key.
- Value string
- A value must start with a letter or digit and can contain a maximum of 63 characters, including letters, digits, hyphens (-), underscores (_), and periods (.).
- effect String
- Available options are
NoSchedule
,PreferNoSchedule
, andNoExecute
. - key String
- A key must contain 1 to 63 characters starting with a letter or digit. Only letters, digits, hyphens (-), underscores (_), and periods (.) are allowed. A DNS subdomain name can be used as the prefix of a key.
- value String
- A value must start with a letter or digit and can contain a maximum of 63 characters, including letters, digits, hyphens (-), underscores (_), and periods (.).
- effect string
- Available options are
NoSchedule
,PreferNoSchedule
, andNoExecute
. - key string
- A key must contain 1 to 63 characters starting with a letter or digit. Only letters, digits, hyphens (-), underscores (_), and periods (.) are allowed. A DNS subdomain name can be used as the prefix of a key.
- value string
- A value must start with a letter or digit and can contain a maximum of 63 characters, including letters, digits, hyphens (-), underscores (_), and periods (.).
- effect str
- Available options are
NoSchedule
,PreferNoSchedule
, andNoExecute
. - key str
- A key must contain 1 to 63 characters starting with a letter or digit. Only letters, digits, hyphens (-), underscores (_), and periods (.) are allowed. A DNS subdomain name can be used as the prefix of a key.
- value str
- A value must start with a letter or digit and can contain a maximum of 63 characters, including letters, digits, hyphens (-), underscores (_), and periods (.).
- effect String
- Available options are
NoSchedule
,PreferNoSchedule
, andNoExecute
. - key String
- A key must contain 1 to 63 characters starting with a letter or digit. Only letters, digits, hyphens (-), underscores (_), and periods (.) are allowed. A DNS subdomain name can be used as the prefix of a key.
- value String
- A value must start with a letter or digit and can contain a maximum of 63 characters, including letters, digits, hyphens (-), underscores (_), and periods (.).
CceNodeV3Timeouts, CceNodeV3TimeoutsArgs
Import
CCE node can be imported using the cluster ID and node ID separated by a slash, e.g.:
bash
$ pulumi import opentelekomcloud:index/cceNodeV3:CceNodeV3 my_node 5c20fdad-7288-11eb-b817-0255ac10158b/e9287dff-7288-11eb-b817-0255ac10158b
Note that the imported state may not be identical to your resource definition, due to some attributes missing from the
API response, security or some other reason. The missing attributes include:
key_pair
, private_ip
, eip_id
, iptype
, bandwidth_charge_mode
,
bandwidth_size
, share_type
, extend_params
, dedicated_host_id
, labels
, taints
and arguments for pre-paid. It is generally recommended running pulumi preview
after importing a node.
You can then decide if changes should be applied to the node, or the resource definition should be updated to align
with the node. Also you can ignore changes as below.
hcl
resource “opentelekomcloud_cce_node_v3” “my_node” {
lifecycle {
ignore_changes = [
extend_params, labels,
]
}
}
To learn more about importing existing cloud resources, see Importing resources.
Package Details
- Repository
- opentelekomcloud opentelekomcloud/terraform-provider-opentelekomcloud
- License
- Notes
- This Pulumi package is based on the
opentelekomcloud
Terraform Provider.