opentelekomcloud.CceNodePoolV3
Explore with Pulumi AI
Up-to-date reference of API arguments for CCE cluster node pool you can get at documentation portal
Provides a node pool resource management of a container cluster.
Example Usage
Basic example
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 nodePool1 = new opentelekomcloud.CceNodePoolV3("nodePool1", {
clusterId: clusterId,
os: "EulerOS 2.9",
flavor: "s2.xlarge.2",
initialNodeCount: 2,
availabilityZone: availabilityZone,
keyPair: sshKey,
scaleEnable: true,
minNodeCount: 2,
maxNodeCount: 9,
scaleDownCooldownTime: 100,
priority: 1,
runtime: "containerd",
agencyName: "test-agency",
rootVolume: {
size: 40,
volumetype: "SSD",
},
dataVolumes: [
{
size: 100,
volumetype: "SSD",
},
{
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")
node_pool1 = opentelekomcloud.CceNodePoolV3("nodePool1",
cluster_id=cluster_id,
os="EulerOS 2.9",
flavor="s2.xlarge.2",
initial_node_count=2,
availability_zone=availability_zone,
key_pair=ssh_key,
scale_enable=True,
min_node_count=2,
max_node_count=9,
scale_down_cooldown_time=100,
priority=1,
runtime="containerd",
agency_name="test-agency",
root_volume={
"size": 40,
"volumetype": "SSD",
},
data_volumes=[
{
"size": 100,
"volumetype": "SSD",
},
{
"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.NewCceNodePoolV3(ctx, "nodePool1", &opentelekomcloud.CceNodePoolV3Args{
ClusterId: pulumi.Any(clusterId),
Os: pulumi.String("EulerOS 2.9"),
Flavor: pulumi.String("s2.xlarge.2"),
InitialNodeCount: pulumi.Float64(2),
AvailabilityZone: pulumi.Any(availabilityZone),
KeyPair: pulumi.Any(sshKey),
ScaleEnable: pulumi.Bool(true),
MinNodeCount: pulumi.Float64(2),
MaxNodeCount: pulumi.Float64(9),
ScaleDownCooldownTime: pulumi.Float64(100),
Priority: pulumi.Float64(1),
Runtime: pulumi.String("containerd"),
AgencyName: pulumi.String("test-agency"),
RootVolume: &opentelekomcloud.CceNodePoolV3RootVolumeArgs{
Size: pulumi.Float64(40),
Volumetype: pulumi.String("SSD"),
},
DataVolumes: opentelekomcloud.CceNodePoolV3DataVolumeArray{
&opentelekomcloud.CceNodePoolV3DataVolumeArgs{
Size: pulumi.Float64(100),
Volumetype: pulumi.String("SSD"),
},
&opentelekomcloud.CceNodePoolV3DataVolumeArgs{
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 nodePool1 = new Opentelekomcloud.CceNodePoolV3("nodePool1", new()
{
ClusterId = clusterId,
Os = "EulerOS 2.9",
Flavor = "s2.xlarge.2",
InitialNodeCount = 2,
AvailabilityZone = availabilityZone,
KeyPair = sshKey,
ScaleEnable = true,
MinNodeCount = 2,
MaxNodeCount = 9,
ScaleDownCooldownTime = 100,
Priority = 1,
Runtime = "containerd",
AgencyName = "test-agency",
RootVolume = new Opentelekomcloud.Inputs.CceNodePoolV3RootVolumeArgs
{
Size = 40,
Volumetype = "SSD",
},
DataVolumes = new[]
{
new Opentelekomcloud.Inputs.CceNodePoolV3DataVolumeArgs
{
Size = 100,
Volumetype = "SSD",
},
new Opentelekomcloud.Inputs.CceNodePoolV3DataVolumeArgs
{
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.CceNodePoolV3;
import com.pulumi.opentelekomcloud.CceNodePoolV3Args;
import com.pulumi.opentelekomcloud.inputs.CceNodePoolV3RootVolumeArgs;
import com.pulumi.opentelekomcloud.inputs.CceNodePoolV3DataVolumeArgs;
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 nodePool1 = new CceNodePoolV3("nodePool1", CceNodePoolV3Args.builder()
.clusterId(clusterId)
.os("EulerOS 2.9")
.flavor("s2.xlarge.2")
.initialNodeCount(2)
.availabilityZone(availabilityZone)
.keyPair(sshKey)
.scaleEnable(true)
.minNodeCount(2)
.maxNodeCount(9)
.scaleDownCooldownTime(100)
.priority(1)
.runtime("containerd")
.agencyName("test-agency")
.rootVolume(CceNodePoolV3RootVolumeArgs.builder()
.size(40)
.volumetype("SSD")
.build())
.dataVolumes(
CceNodePoolV3DataVolumeArgs.builder()
.size(100)
.volumetype("SSD")
.build(),
CceNodePoolV3DataVolumeArgs.builder()
.size(100)
.volumetype("SSD")
.extendParams(Map.of("useType", "docker"))
.build())
.build());
}
}
configuration:
clusterId:
type: dynamic
sshKey:
type: dynamic
availabilityZone:
type: dynamic
resources:
nodePool1:
type: opentelekomcloud:CceNodePoolV3
properties:
clusterId: ${clusterId}
os: EulerOS 2.9
flavor: s2.xlarge.2
initialNodeCount: 2
availabilityZone: ${availabilityZone}
keyPair: ${sshKey}
scaleEnable: true
minNodeCount: 2
maxNodeCount: 9
scaleDownCooldownTime: 100
priority: 1
runtime: containerd
agencyName: test-agency
rootVolume:
size: 40
volumetype: SSD
dataVolumes:
- size: 100
volumetype: SSD
- size: 100
volumetype: SSD
extendParams:
useType: docker
Node pool with storage settings
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 kmsKeyId = config.requireObject("kmsKeyId");
const availabilityZone = config.requireObject("availabilityZone");
const nodePool = new opentelekomcloud.CceNodePoolV3("nodePool", {
clusterId: clusterId,
os: "EulerOS 2.9",
flavor: "s2.large.2",
initialNodeCount: 1,
keyPair: sshKey,
availabilityZone: "random",
rootVolume: {
size: 40,
volumetype: "SSD",
},
dataVolumes: [{
size: 100,
volumetype: "SSD",
}],
storage: JSON.stringify({
storageSelectors: [{
name: "cceUse",
storageType: "evs",
matchLabels: {
size: "100",
volumeType: "SSD",
count: "1",
metadataEncrypted: "1",
metadataCmkid: kmsKeyId,
},
}],
storageGroups: [{
name: "vgpaas",
selectorNames: ["cceUse"],
cceManaged: true,
virtualSpaces: [
{
name: "runtime",
size: "90%",
},
{
name: "kubernetes",
size: "10%",
},
],
}],
}),
maxPods: 16,
dockerBaseSize: 32,
});
import pulumi
import json
import pulumi_opentelekomcloud as opentelekomcloud
config = pulumi.Config()
cluster_id = config.require_object("clusterId")
ssh_key = config.require_object("sshKey")
kms_key_id = config.require_object("kmsKeyId")
availability_zone = config.require_object("availabilityZone")
node_pool = opentelekomcloud.CceNodePoolV3("nodePool",
cluster_id=cluster_id,
os="EulerOS 2.9",
flavor="s2.large.2",
initial_node_count=1,
key_pair=ssh_key,
availability_zone="random",
root_volume={
"size": 40,
"volumetype": "SSD",
},
data_volumes=[{
"size": 100,
"volumetype": "SSD",
}],
storage=json.dumps({
"storageSelectors": [{
"name": "cceUse",
"storageType": "evs",
"matchLabels": {
"size": "100",
"volumeType": "SSD",
"count": "1",
"metadataEncrypted": "1",
"metadataCmkid": kms_key_id,
},
}],
"storageGroups": [{
"name": "vgpaas",
"selectorNames": ["cceUse"],
"cceManaged": True,
"virtualSpaces": [
{
"name": "runtime",
"size": "90%",
},
{
"name": "kubernetes",
"size": "10%",
},
],
}],
}),
max_pods=16,
docker_base_size=32)
package main
import (
"encoding/json"
"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")
kmsKeyId := cfg.RequireObject("kmsKeyId")
availabilityZone := cfg.RequireObject("availabilityZone")
tmpJSON0, err := json.Marshal(map[string]interface{}{
"storageSelectors": []map[string]interface{}{
map[string]interface{}{
"name": "cceUse",
"storageType": "evs",
"matchLabels": map[string]interface{}{
"size": "100",
"volumeType": "SSD",
"count": "1",
"metadataEncrypted": "1",
"metadataCmkid": kmsKeyId,
},
},
},
"storageGroups": []map[string]interface{}{
map[string]interface{}{
"name": "vgpaas",
"selectorNames": []string{
"cceUse",
},
"cceManaged": true,
"virtualSpaces": []map[string]interface{}{
map[string]interface{}{
"name": "runtime",
"size": "90%",
},
map[string]interface{}{
"name": "kubernetes",
"size": "10%",
},
},
},
},
})
if err != nil {
return err
}
json0 := string(tmpJSON0)
_, err = opentelekomcloud.NewCceNodePoolV3(ctx, "nodePool", &opentelekomcloud.CceNodePoolV3Args{
ClusterId: pulumi.Any(clusterId),
Os: pulumi.String("EulerOS 2.9"),
Flavor: pulumi.String("s2.large.2"),
InitialNodeCount: pulumi.Float64(1),
KeyPair: pulumi.Any(sshKey),
AvailabilityZone: pulumi.String("random"),
RootVolume: &opentelekomcloud.CceNodePoolV3RootVolumeArgs{
Size: pulumi.Float64(40),
Volumetype: pulumi.String("SSD"),
},
DataVolumes: opentelekomcloud.CceNodePoolV3DataVolumeArray{
&opentelekomcloud.CceNodePoolV3DataVolumeArgs{
Size: pulumi.Float64(100),
Volumetype: pulumi.String("SSD"),
},
},
Storage: pulumi.String(json0),
MaxPods: pulumi.Float64(16),
DockerBaseSize: pulumi.Float64(32),
})
if err != nil {
return err
}
return nil
})
}
using System.Collections.Generic;
using System.Linq;
using System.Text.Json;
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 kmsKeyId = config.RequireObject<dynamic>("kmsKeyId");
var availabilityZone = config.RequireObject<dynamic>("availabilityZone");
var nodePool = new Opentelekomcloud.CceNodePoolV3("nodePool", new()
{
ClusterId = clusterId,
Os = "EulerOS 2.9",
Flavor = "s2.large.2",
InitialNodeCount = 1,
KeyPair = sshKey,
AvailabilityZone = "random",
RootVolume = new Opentelekomcloud.Inputs.CceNodePoolV3RootVolumeArgs
{
Size = 40,
Volumetype = "SSD",
},
DataVolumes = new[]
{
new Opentelekomcloud.Inputs.CceNodePoolV3DataVolumeArgs
{
Size = 100,
Volumetype = "SSD",
},
},
Storage = JsonSerializer.Serialize(new Dictionary<string, object?>
{
["storageSelectors"] = new[]
{
new Dictionary<string, object?>
{
["name"] = "cceUse",
["storageType"] = "evs",
["matchLabels"] = new Dictionary<string, object?>
{
["size"] = "100",
["volumeType"] = "SSD",
["count"] = "1",
["metadataEncrypted"] = "1",
["metadataCmkid"] = kmsKeyId,
},
},
},
["storageGroups"] = new[]
{
new Dictionary<string, object?>
{
["name"] = "vgpaas",
["selectorNames"] = new[]
{
"cceUse",
},
["cceManaged"] = true,
["virtualSpaces"] = new[]
{
new Dictionary<string, object?>
{
["name"] = "runtime",
["size"] = "90%",
},
new Dictionary<string, object?>
{
["name"] = "kubernetes",
["size"] = "10%",
},
},
},
},
}),
MaxPods = 16,
DockerBaseSize = 32,
});
});
package generated_program;
import com.pulumi.Context;
import com.pulumi.Pulumi;
import com.pulumi.core.Output;
import com.pulumi.opentelekomcloud.CceNodePoolV3;
import com.pulumi.opentelekomcloud.CceNodePoolV3Args;
import com.pulumi.opentelekomcloud.inputs.CceNodePoolV3RootVolumeArgs;
import com.pulumi.opentelekomcloud.inputs.CceNodePoolV3DataVolumeArgs;
import static com.pulumi.codegen.internal.Serialization.*;
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 kmsKeyId = config.get("kmsKeyId");
final var availabilityZone = config.get("availabilityZone");
var nodePool = new CceNodePoolV3("nodePool", CceNodePoolV3Args.builder()
.clusterId(clusterId)
.os("EulerOS 2.9")
.flavor("s2.large.2")
.initialNodeCount(1)
.keyPair(sshKey)
.availabilityZone("random")
.rootVolume(CceNodePoolV3RootVolumeArgs.builder()
.size(40)
.volumetype("SSD")
.build())
.dataVolumes(CceNodePoolV3DataVolumeArgs.builder()
.size(100)
.volumetype("SSD")
.build())
.storage(serializeJson(
jsonObject(
jsonProperty("storageSelectors", jsonArray(jsonObject(
jsonProperty("name", "cceUse"),
jsonProperty("storageType", "evs"),
jsonProperty("matchLabels", jsonObject(
jsonProperty("size", "100"),
jsonProperty("volumeType", "SSD"),
jsonProperty("count", "1"),
jsonProperty("metadataEncrypted", "1"),
jsonProperty("metadataCmkid", kmsKeyId)
))
))),
jsonProperty("storageGroups", jsonArray(jsonObject(
jsonProperty("name", "vgpaas"),
jsonProperty("selectorNames", jsonArray("cceUse")),
jsonProperty("cceManaged", true),
jsonProperty("virtualSpaces", jsonArray(
jsonObject(
jsonProperty("name", "runtime"),
jsonProperty("size", "90%")
),
jsonObject(
jsonProperty("name", "kubernetes"),
jsonProperty("size", "10%")
)
))
)))
)))
.maxPods(16)
.dockerBaseSize(32)
.build());
}
}
configuration:
clusterId:
type: dynamic
sshKey:
type: dynamic
kmsKeyId:
type: dynamic
availabilityZone:
type: dynamic
resources:
nodePool:
type: opentelekomcloud:CceNodePoolV3
properties:
clusterId: ${clusterId}
os: EulerOS 2.9
flavor: s2.large.2
initialNodeCount: 1
keyPair: ${sshKey}
availabilityZone: random
rootVolume:
size: 40
volumetype: SSD
dataVolumes:
- size: 100
volumetype: SSD
storage:
fn::toJSON:
storageSelectors:
- name: cceUse
storageType: evs
matchLabels:
size: '100'
volumeType: SSD
count: '1'
metadataEncrypted: '1'
metadataCmkid: ${kmsKeyId}
storageGroups:
- name: vgpaas
selectorNames:
- cceUse
cceManaged: true
virtualSpaces:
- name: runtime
size: 90%
- name: kubernetes
size: 10%
maxPods: 16
dockerBaseSize: 32
Create CceNodePoolV3 Resource
Resources are created with functions called constructors. To learn more about declaring and configuring resources, see Resources.
Constructor syntax
new CceNodePoolV3(name: string, args: CceNodePoolV3Args, opts?: CustomResourceOptions);
@overload
def CceNodePoolV3(resource_name: str,
args: CceNodePoolV3Args,
opts: Optional[ResourceOptions] = None)
@overload
def CceNodePoolV3(resource_name: str,
opts: Optional[ResourceOptions] = None,
flavor: Optional[str] = None,
root_volume: Optional[CceNodePoolV3RootVolumeArgs] = None,
initial_node_count: Optional[float] = None,
cluster_id: Optional[str] = None,
data_volumes: Optional[Sequence[CceNodePoolV3DataVolumeArgs]] = None,
name: Optional[str] = None,
preinstall: Optional[str] = None,
docker_base_size: Optional[float] = None,
cce_node_pool_v3_id: Optional[str] = None,
k8s_tags: Optional[Mapping[str, str]] = None,
key_pair: Optional[str] = None,
max_node_count: Optional[float] = None,
max_pods: Optional[float] = None,
min_node_count: Optional[float] = None,
agency_name: Optional[str] = None,
os: Optional[str] = None,
password: Optional[str] = None,
postinstall: Optional[str] = None,
docker_lvm_config_override: Optional[str] = None,
priority: Optional[float] = None,
availability_zone: Optional[str] = None,
runtime: Optional[str] = None,
scale_down_cooldown_time: Optional[float] = None,
scale_enable: Optional[bool] = None,
security_group_ids: Optional[Sequence[str]] = None,
server_group_reference: Optional[str] = None,
storage: Optional[str] = None,
subnet_id: Optional[str] = None,
taints: Optional[Sequence[CceNodePoolV3TaintArgs]] = None,
timeouts: Optional[CceNodePoolV3TimeoutsArgs] = None,
user_tags: Optional[Mapping[str, str]] = None)
func NewCceNodePoolV3(ctx *Context, name string, args CceNodePoolV3Args, opts ...ResourceOption) (*CceNodePoolV3, error)
public CceNodePoolV3(string name, CceNodePoolV3Args args, CustomResourceOptions? opts = null)
public CceNodePoolV3(String name, CceNodePoolV3Args args)
public CceNodePoolV3(String name, CceNodePoolV3Args args, CustomResourceOptions options)
type: opentelekomcloud:CceNodePoolV3
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 CceNodePoolV3Args
- 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 CceNodePoolV3Args
- 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 CceNodePoolV3Args
- The arguments to resource properties.
- opts ResourceOption
- Bag of options to control resource's behavior.
- name string
- The unique name of the resource.
- args CceNodePoolV3Args
- The arguments to resource properties.
- opts CustomResourceOptions
- Bag of options to control resource's behavior.
- name String
- The unique name of the resource.
- args CceNodePoolV3Args
- 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 cceNodePoolV3Resource = new Opentelekomcloud.CceNodePoolV3("cceNodePoolV3Resource", new()
{
Flavor = "string",
RootVolume = new Opentelekomcloud.Inputs.CceNodePoolV3RootVolumeArgs
{
Size = 0,
Volumetype = "string",
ExtendParams =
{
{ "string", "string" },
},
KmsId = "string",
},
InitialNodeCount = 0,
ClusterId = "string",
DataVolumes = new[]
{
new Opentelekomcloud.Inputs.CceNodePoolV3DataVolumeArgs
{
Size = 0,
Volumetype = "string",
ExtendParams =
{
{ "string", "string" },
},
KmsId = "string",
},
},
Name = "string",
Preinstall = "string",
DockerBaseSize = 0,
CceNodePoolV3Id = "string",
K8sTags =
{
{ "string", "string" },
},
KeyPair = "string",
MaxNodeCount = 0,
MaxPods = 0,
MinNodeCount = 0,
AgencyName = "string",
Os = "string",
Password = "string",
Postinstall = "string",
DockerLvmConfigOverride = "string",
Priority = 0,
AvailabilityZone = "string",
Runtime = "string",
ScaleDownCooldownTime = 0,
ScaleEnable = false,
SecurityGroupIds = new[]
{
"string",
},
ServerGroupReference = "string",
Storage = "string",
SubnetId = "string",
Taints = new[]
{
new Opentelekomcloud.Inputs.CceNodePoolV3TaintArgs
{
Effect = "string",
Key = "string",
Value = "string",
},
},
Timeouts = new Opentelekomcloud.Inputs.CceNodePoolV3TimeoutsArgs
{
Create = "string",
Default = "string",
Delete = "string",
Update = "string",
},
UserTags =
{
{ "string", "string" },
},
});
example, err := opentelekomcloud.NewCceNodePoolV3(ctx, "cceNodePoolV3Resource", &opentelekomcloud.CceNodePoolV3Args{
Flavor: pulumi.String("string"),
RootVolume: &opentelekomcloud.CceNodePoolV3RootVolumeArgs{
Size: pulumi.Float64(0),
Volumetype: pulumi.String("string"),
ExtendParams: pulumi.StringMap{
"string": pulumi.String("string"),
},
KmsId: pulumi.String("string"),
},
InitialNodeCount: pulumi.Float64(0),
ClusterId: pulumi.String("string"),
DataVolumes: opentelekomcloud.CceNodePoolV3DataVolumeArray{
&opentelekomcloud.CceNodePoolV3DataVolumeArgs{
Size: pulumi.Float64(0),
Volumetype: pulumi.String("string"),
ExtendParams: pulumi.StringMap{
"string": pulumi.String("string"),
},
KmsId: pulumi.String("string"),
},
},
Name: pulumi.String("string"),
Preinstall: pulumi.String("string"),
DockerBaseSize: pulumi.Float64(0),
CceNodePoolV3Id: pulumi.String("string"),
K8sTags: pulumi.StringMap{
"string": pulumi.String("string"),
},
KeyPair: pulumi.String("string"),
MaxNodeCount: pulumi.Float64(0),
MaxPods: pulumi.Float64(0),
MinNodeCount: pulumi.Float64(0),
AgencyName: pulumi.String("string"),
Os: pulumi.String("string"),
Password: pulumi.String("string"),
Postinstall: pulumi.String("string"),
DockerLvmConfigOverride: pulumi.String("string"),
Priority: pulumi.Float64(0),
AvailabilityZone: pulumi.String("string"),
Runtime: pulumi.String("string"),
ScaleDownCooldownTime: pulumi.Float64(0),
ScaleEnable: pulumi.Bool(false),
SecurityGroupIds: pulumi.StringArray{
pulumi.String("string"),
},
ServerGroupReference: pulumi.String("string"),
Storage: pulumi.String("string"),
SubnetId: pulumi.String("string"),
Taints: opentelekomcloud.CceNodePoolV3TaintArray{
&opentelekomcloud.CceNodePoolV3TaintArgs{
Effect: pulumi.String("string"),
Key: pulumi.String("string"),
Value: pulumi.String("string"),
},
},
Timeouts: &opentelekomcloud.CceNodePoolV3TimeoutsArgs{
Create: pulumi.String("string"),
Default: pulumi.String("string"),
Delete: pulumi.String("string"),
Update: pulumi.String("string"),
},
UserTags: pulumi.StringMap{
"string": pulumi.String("string"),
},
})
var cceNodePoolV3Resource = new CceNodePoolV3("cceNodePoolV3Resource", CceNodePoolV3Args.builder()
.flavor("string")
.rootVolume(CceNodePoolV3RootVolumeArgs.builder()
.size(0)
.volumetype("string")
.extendParams(Map.of("string", "string"))
.kmsId("string")
.build())
.initialNodeCount(0)
.clusterId("string")
.dataVolumes(CceNodePoolV3DataVolumeArgs.builder()
.size(0)
.volumetype("string")
.extendParams(Map.of("string", "string"))
.kmsId("string")
.build())
.name("string")
.preinstall("string")
.dockerBaseSize(0)
.cceNodePoolV3Id("string")
.k8sTags(Map.of("string", "string"))
.keyPair("string")
.maxNodeCount(0)
.maxPods(0)
.minNodeCount(0)
.agencyName("string")
.os("string")
.password("string")
.postinstall("string")
.dockerLvmConfigOverride("string")
.priority(0)
.availabilityZone("string")
.runtime("string")
.scaleDownCooldownTime(0)
.scaleEnable(false)
.securityGroupIds("string")
.serverGroupReference("string")
.storage("string")
.subnetId("string")
.taints(CceNodePoolV3TaintArgs.builder()
.effect("string")
.key("string")
.value("string")
.build())
.timeouts(CceNodePoolV3TimeoutsArgs.builder()
.create("string")
.default_("string")
.delete("string")
.update("string")
.build())
.userTags(Map.of("string", "string"))
.build());
cce_node_pool_v3_resource = opentelekomcloud.CceNodePoolV3("cceNodePoolV3Resource",
flavor="string",
root_volume={
"size": 0,
"volumetype": "string",
"extend_params": {
"string": "string",
},
"kms_id": "string",
},
initial_node_count=0,
cluster_id="string",
data_volumes=[{
"size": 0,
"volumetype": "string",
"extend_params": {
"string": "string",
},
"kms_id": "string",
}],
name="string",
preinstall="string",
docker_base_size=0,
cce_node_pool_v3_id="string",
k8s_tags={
"string": "string",
},
key_pair="string",
max_node_count=0,
max_pods=0,
min_node_count=0,
agency_name="string",
os="string",
password="string",
postinstall="string",
docker_lvm_config_override="string",
priority=0,
availability_zone="string",
runtime="string",
scale_down_cooldown_time=0,
scale_enable=False,
security_group_ids=["string"],
server_group_reference="string",
storage="string",
subnet_id="string",
taints=[{
"effect": "string",
"key": "string",
"value": "string",
}],
timeouts={
"create": "string",
"default": "string",
"delete": "string",
"update": "string",
},
user_tags={
"string": "string",
})
const cceNodePoolV3Resource = new opentelekomcloud.CceNodePoolV3("cceNodePoolV3Resource", {
flavor: "string",
rootVolume: {
size: 0,
volumetype: "string",
extendParams: {
string: "string",
},
kmsId: "string",
},
initialNodeCount: 0,
clusterId: "string",
dataVolumes: [{
size: 0,
volumetype: "string",
extendParams: {
string: "string",
},
kmsId: "string",
}],
name: "string",
preinstall: "string",
dockerBaseSize: 0,
cceNodePoolV3Id: "string",
k8sTags: {
string: "string",
},
keyPair: "string",
maxNodeCount: 0,
maxPods: 0,
minNodeCount: 0,
agencyName: "string",
os: "string",
password: "string",
postinstall: "string",
dockerLvmConfigOverride: "string",
priority: 0,
availabilityZone: "string",
runtime: "string",
scaleDownCooldownTime: 0,
scaleEnable: false,
securityGroupIds: ["string"],
serverGroupReference: "string",
storage: "string",
subnetId: "string",
taints: [{
effect: "string",
key: "string",
value: "string",
}],
timeouts: {
create: "string",
"default": "string",
"delete": "string",
update: "string",
},
userTags: {
string: "string",
},
});
type: opentelekomcloud:CceNodePoolV3
properties:
agencyName: string
availabilityZone: string
cceNodePoolV3Id: string
clusterId: string
dataVolumes:
- extendParams:
string: string
kmsId: string
size: 0
volumetype: string
dockerBaseSize: 0
dockerLvmConfigOverride: string
flavor: string
initialNodeCount: 0
k8sTags:
string: string
keyPair: string
maxNodeCount: 0
maxPods: 0
minNodeCount: 0
name: string
os: string
password: string
postinstall: string
preinstall: string
priority: 0
rootVolume:
extendParams:
string: string
kmsId: string
size: 0
volumetype: string
runtime: string
scaleDownCooldownTime: 0
scaleEnable: false
securityGroupIds:
- string
serverGroupReference: string
storage: string
subnetId: string
taints:
- effect: string
key: string
value: string
timeouts:
create: string
default: string
delete: string
update: string
userTags:
string: string
CceNodePoolV3 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 CceNodePoolV3 resource accepts the following input properties:
- Cluster
Id string - ID of the cluster. Changing this parameter will create a new resource.
- Data
Volumes List<CceNode Pool V3Data Volume> - Represents the data disk to be created. Changing this parameter will create a new resource.
- Flavor string
- Specifies the flavor id. Changing this parameter will create a new resource.
- Initial
Node doubleCount - Initial number of expected nodes in the node pool.
- Root
Volume CceNode Pool 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.
- Availability
Zone string Specify the name of the available partition (AZ). If zone is not specified than
node_pool
will be in randomly selected AZ. The default value israndom
. Changing this parameter will create a new resource.-> If AZ is set to
random
, when you create a node pool or update the number of nodes in a node pool, a scaling task is triggered. The system selects an AZ from all AZs where scaling is allowed to add nodes based on priorities. AZs with a smaller the number of existing nodes have a higher priority. If AZs have the same number of nodes, the system selects the AZ based on the AZ sequence. For more details see API documentation- Cce
Node stringPool V3Id - Specifies a resource ID in UUID format.
- 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 pool.
- Docker
Lvm stringConfig Override ConfigMap
of the Docker data disk. Changing this parameter will create a new node.- 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. This parameter and password are alternative. Changing this parameter will create a new resource.
- Max
Node doubleCount - Maximum number of nodes allowed if auto scaling is enabled.
- Max
Pods double - The maximum number of instances a node is allowed to create. Changing this parameter will create a new node pool.
- Min
Node doubleCount - Minimum number of nodes allowed if auto scaling is enabled.
- Name string
- Node Pool Name.
- Os string
- Node OS. Changing this parameter will create a new resource.
Supported OS depends on kubernetes version of the cluster.
- Clusters of Kubernetes
v1.13
or later supportEulerOS 2.5
. - Clusters of Kubernetes
v1.17
or later supportEulerOS 2.5
andCentOS 7.7
. - Clusters of Kubernetes
v1.21
or later supportEulerOS 2.5
,EulerOS 2.9
, andCentOS 7.7
. - Clusters of Kubernetes
v1.25
or later supportEulerOS 2.5
,EulerOS 2.9
,CentOS 7.7
andUbuntu 22.04
.
- Clusters of Kubernetes
- Password string
- Key pair name when logging in to select the key pair mode. This parameter and password are alternative. Changing this parameter will create a new resource.
- 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.
- Priority double
- Weight of a node pool. A node pool with a higher weight has a higher priority during scaling.
- 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 - Scale
Down doubleCooldown Time - Interval between two scaling operations, in minutes.
- Scale
Enable bool - Whether to enable auto scaling. If Autoscaler is enabled, install the autoscaler add-on to use the auto scaling feature.
- Security
Group List<string>Ids - Specifies the list of custom security group IDs for the node pool. If specified, the nodes will be put in these security groups. When specifying a security group, do not modify the rules of the port on which CCE running depends.
- Server
Group stringReference - ECS group ID. If this parameter is specified, all nodes in the node pool will be created in this ECS group.
- Storage string
Specifies the json string vary depending on CCE node pools storage options.
Please refer to the documentation for actual fields.
- Subnet
Id string - The ID of the subnet to which the NIC belongs. Changing this parameter will create a new resource.
- Taints
List<Cce
Node Pool V3Taint> - Taints to created nodes to configure anti-affinity.
- Timeouts
Cce
Node Pool V3Timeouts - Dictionary<string, string>
- Tag of a VM, key/value pair format. 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 Pool V3Data Volume Args - Represents the data disk to be created. Changing this parameter will create a new resource.
- Flavor string
- Specifies the flavor id. Changing this parameter will create a new resource.
- Initial
Node float64Count - Initial number of expected nodes in the node pool.
- Root
Volume CceNode Pool 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.
- Availability
Zone string Specify the name of the available partition (AZ). If zone is not specified than
node_pool
will be in randomly selected AZ. The default value israndom
. Changing this parameter will create a new resource.-> If AZ is set to
random
, when you create a node pool or update the number of nodes in a node pool, a scaling task is triggered. The system selects an AZ from all AZs where scaling is allowed to add nodes based on priorities. AZs with a smaller the number of existing nodes have a higher priority. If AZs have the same number of nodes, the system selects the AZ based on the AZ sequence. For more details see API documentation- Cce
Node stringPool V3Id - Specifies a resource ID in UUID format.
- 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 pool.
- Docker
Lvm stringConfig Override ConfigMap
of the Docker data disk. Changing this parameter will create a new node.- 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. This parameter and password are alternative. Changing this parameter will create a new resource.
- Max
Node float64Count - Maximum number of nodes allowed if auto scaling is enabled.
- Max
Pods float64 - The maximum number of instances a node is allowed to create. Changing this parameter will create a new node pool.
- Min
Node float64Count - Minimum number of nodes allowed if auto scaling is enabled.
- Name string
- Node Pool Name.
- Os string
- Node OS. Changing this parameter will create a new resource.
Supported OS depends on kubernetes version of the cluster.
- Clusters of Kubernetes
v1.13
or later supportEulerOS 2.5
. - Clusters of Kubernetes
v1.17
or later supportEulerOS 2.5
andCentOS 7.7
. - Clusters of Kubernetes
v1.21
or later supportEulerOS 2.5
,EulerOS 2.9
, andCentOS 7.7
. - Clusters of Kubernetes
v1.25
or later supportEulerOS 2.5
,EulerOS 2.9
,CentOS 7.7
andUbuntu 22.04
.
- Clusters of Kubernetes
- Password string
- Key pair name when logging in to select the key pair mode. This parameter and password are alternative. Changing this parameter will create a new resource.
- 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.
- Priority float64
- Weight of a node pool. A node pool with a higher weight has a higher priority during scaling.
- 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 - Scale
Down float64Cooldown Time - Interval between two scaling operations, in minutes.
- Scale
Enable bool - Whether to enable auto scaling. If Autoscaler is enabled, install the autoscaler add-on to use the auto scaling feature.
- Security
Group []stringIds - Specifies the list of custom security group IDs for the node pool. If specified, the nodes will be put in these security groups. When specifying a security group, do not modify the rules of the port on which CCE running depends.
- Server
Group stringReference - ECS group ID. If this parameter is specified, all nodes in the node pool will be created in this ECS group.
- Storage string
Specifies the json string vary depending on CCE node pools storage options.
Please refer to the documentation for actual fields.
- Subnet
Id string - The ID of the subnet to which the NIC belongs. Changing this parameter will create a new resource.
- Taints
[]Cce
Node Pool V3Taint Args - Taints to created nodes to configure anti-affinity.
- Timeouts
Cce
Node Pool V3Timeouts Args - map[string]string
- Tag of a VM, key/value pair format. 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 Pool V3Data Volume> - Represents the data disk to be created. Changing this parameter will create a new resource.
- flavor String
- Specifies the flavor id. Changing this parameter will create a new resource.
- initial
Node DoubleCount - Initial number of expected nodes in the node pool.
- root
Volume CceNode Pool 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.
- availability
Zone String Specify the name of the available partition (AZ). If zone is not specified than
node_pool
will be in randomly selected AZ. The default value israndom
. Changing this parameter will create a new resource.-> If AZ is set to
random
, when you create a node pool or update the number of nodes in a node pool, a scaling task is triggered. The system selects an AZ from all AZs where scaling is allowed to add nodes based on priorities. AZs with a smaller the number of existing nodes have a higher priority. If AZs have the same number of nodes, the system selects the AZ based on the AZ sequence. For more details see API documentation- cce
Node StringPool V3Id - Specifies a resource ID in UUID format.
- 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 pool.
- docker
Lvm StringConfig Override ConfigMap
of the Docker data disk. Changing this parameter will create a new node.- 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. This parameter and password are alternative. Changing this parameter will create a new resource.
- max
Node DoubleCount - Maximum number of nodes allowed if auto scaling is enabled.
- max
Pods Double - The maximum number of instances a node is allowed to create. Changing this parameter will create a new node pool.
- min
Node DoubleCount - Minimum number of nodes allowed if auto scaling is enabled.
- name String
- Node Pool Name.
- os String
- Node OS. Changing this parameter will create a new resource.
Supported OS depends on kubernetes version of the cluster.
- Clusters of Kubernetes
v1.13
or later supportEulerOS 2.5
. - Clusters of Kubernetes
v1.17
or later supportEulerOS 2.5
andCentOS 7.7
. - Clusters of Kubernetes
v1.21
or later supportEulerOS 2.5
,EulerOS 2.9
, andCentOS 7.7
. - Clusters of Kubernetes
v1.25
or later supportEulerOS 2.5
,EulerOS 2.9
,CentOS 7.7
andUbuntu 22.04
.
- Clusters of Kubernetes
- password String
- Key pair name when logging in to select the key pair mode. This parameter and password are alternative. Changing this parameter will create a new resource.
- 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.
- priority Double
- Weight of a node pool. A node pool with a higher weight has a higher priority during scaling.
- 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 - scale
Down DoubleCooldown Time - Interval between two scaling operations, in minutes.
- scale
Enable Boolean - Whether to enable auto scaling. If Autoscaler is enabled, install the autoscaler add-on to use the auto scaling feature.
- security
Group List<String>Ids - Specifies the list of custom security group IDs for the node pool. If specified, the nodes will be put in these security groups. When specifying a security group, do not modify the rules of the port on which CCE running depends.
- server
Group StringReference - ECS group ID. If this parameter is specified, all nodes in the node pool will be created in this ECS group.
- storage String
Specifies the json string vary depending on CCE node pools storage options.
Please refer to the documentation for actual fields.
- subnet
Id String - The ID of the subnet to which the NIC belongs. Changing this parameter will create a new resource.
- taints
List<Cce
Node Pool V3Taint> - Taints to created nodes to configure anti-affinity.
- timeouts
Cce
Node Pool V3Timeouts - Map<String,String>
- Tag of a VM, key/value pair format. 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 Pool V3Data Volume[] - Represents the data disk to be created. Changing this parameter will create a new resource.
- flavor string
- Specifies the flavor id. Changing this parameter will create a new resource.
- initial
Node numberCount - Initial number of expected nodes in the node pool.
- root
Volume CceNode Pool 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.
- availability
Zone string Specify the name of the available partition (AZ). If zone is not specified than
node_pool
will be in randomly selected AZ. The default value israndom
. Changing this parameter will create a new resource.-> If AZ is set to
random
, when you create a node pool or update the number of nodes in a node pool, a scaling task is triggered. The system selects an AZ from all AZs where scaling is allowed to add nodes based on priorities. AZs with a smaller the number of existing nodes have a higher priority. If AZs have the same number of nodes, the system selects the AZ based on the AZ sequence. For more details see API documentation- cce
Node stringPool V3Id - Specifies a resource ID in UUID format.
- 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 pool.
- docker
Lvm stringConfig Override ConfigMap
of the Docker data disk. Changing this parameter will create a new node.- {[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. This parameter and password are alternative. Changing this parameter will create a new resource.
- max
Node numberCount - Maximum number of nodes allowed if auto scaling is enabled.
- max
Pods number - The maximum number of instances a node is allowed to create. Changing this parameter will create a new node pool.
- min
Node numberCount - Minimum number of nodes allowed if auto scaling is enabled.
- name string
- Node Pool Name.
- os string
- Node OS. Changing this parameter will create a new resource.
Supported OS depends on kubernetes version of the cluster.
- Clusters of Kubernetes
v1.13
or later supportEulerOS 2.5
. - Clusters of Kubernetes
v1.17
or later supportEulerOS 2.5
andCentOS 7.7
. - Clusters of Kubernetes
v1.21
or later supportEulerOS 2.5
,EulerOS 2.9
, andCentOS 7.7
. - Clusters of Kubernetes
v1.25
or later supportEulerOS 2.5
,EulerOS 2.9
,CentOS 7.7
andUbuntu 22.04
.
- Clusters of Kubernetes
- password string
- Key pair name when logging in to select the key pair mode. This parameter and password are alternative. Changing this parameter will create a new resource.
- 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.
- priority number
- Weight of a node pool. A node pool with a higher weight has a higher priority during scaling.
- 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 - scale
Down numberCooldown Time - Interval between two scaling operations, in minutes.
- scale
Enable boolean - Whether to enable auto scaling. If Autoscaler is enabled, install the autoscaler add-on to use the auto scaling feature.
- security
Group string[]Ids - Specifies the list of custom security group IDs for the node pool. If specified, the nodes will be put in these security groups. When specifying a security group, do not modify the rules of the port on which CCE running depends.
- server
Group stringReference - ECS group ID. If this parameter is specified, all nodes in the node pool will be created in this ECS group.
- storage string
Specifies the json string vary depending on CCE node pools storage options.
Please refer to the documentation for actual fields.
- subnet
Id string - The ID of the subnet to which the NIC belongs. Changing this parameter will create a new resource.
- taints
Cce
Node Pool V3Taint[] - Taints to created nodes to configure anti-affinity.
- timeouts
Cce
Node Pool V3Timeouts - {[key: string]: string}
- Tag of a VM, key/value pair format. 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 Pool V3Data Volume Args] - Represents the data disk to be created. Changing this parameter will create a new resource.
- flavor str
- Specifies the flavor id. Changing this parameter will create a new resource.
- initial_
node_ floatcount - Initial number of expected nodes in the node pool.
- root_
volume CceNode Pool 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.
- availability_
zone str Specify the name of the available partition (AZ). If zone is not specified than
node_pool
will be in randomly selected AZ. The default value israndom
. Changing this parameter will create a new resource.-> If AZ is set to
random
, when you create a node pool or update the number of nodes in a node pool, a scaling task is triggered. The system selects an AZ from all AZs where scaling is allowed to add nodes based on priorities. AZs with a smaller the number of existing nodes have a higher priority. If AZs have the same number of nodes, the system selects the AZ based on the AZ sequence. For more details see API documentation- cce_
node_ strpool_ v3_ id - Specifies a resource ID in UUID format.
- 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 pool.
- docker_
lvm_ strconfig_ override ConfigMap
of the Docker data disk. Changing this parameter will create a new node.- 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. This parameter and password are alternative. Changing this parameter will create a new resource.
- max_
node_ floatcount - Maximum number of nodes allowed if auto scaling is enabled.
- max_
pods float - The maximum number of instances a node is allowed to create. Changing this parameter will create a new node pool.
- min_
node_ floatcount - Minimum number of nodes allowed if auto scaling is enabled.
- name str
- Node Pool Name.
- os str
- Node OS. Changing this parameter will create a new resource.
Supported OS depends on kubernetes version of the cluster.
- Clusters of Kubernetes
v1.13
or later supportEulerOS 2.5
. - Clusters of Kubernetes
v1.17
or later supportEulerOS 2.5
andCentOS 7.7
. - Clusters of Kubernetes
v1.21
or later supportEulerOS 2.5
,EulerOS 2.9
, andCentOS 7.7
. - Clusters of Kubernetes
v1.25
or later supportEulerOS 2.5
,EulerOS 2.9
,CentOS 7.7
andUbuntu 22.04
.
- Clusters of Kubernetes
- password str
- Key pair name when logging in to select the key pair mode. This parameter and password are alternative. Changing this parameter will create a new resource.
- 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.
- priority float
- Weight of a node pool. A node pool with a higher weight has a higher priority during scaling.
- 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 - scale_
down_ floatcooldown_ time - Interval between two scaling operations, in minutes.
- scale_
enable bool - Whether to enable auto scaling. If Autoscaler is enabled, install the autoscaler add-on to use the auto scaling feature.
- security_
group_ Sequence[str]ids - Specifies the list of custom security group IDs for the node pool. If specified, the nodes will be put in these security groups. When specifying a security group, do not modify the rules of the port on which CCE running depends.
- server_
group_ strreference - ECS group ID. If this parameter is specified, all nodes in the node pool will be created in this ECS group.
- storage str
Specifies the json string vary depending on CCE node pools storage options.
Please refer to the documentation for actual fields.
- subnet_
id str - The ID of the subnet to which the NIC belongs. Changing this parameter will create a new resource.
- taints
Sequence[Cce
Node Pool V3Taint Args] - Taints to created nodes to configure anti-affinity.
- timeouts
Cce
Node Pool V3Timeouts Args - Mapping[str, str]
- Tag of a VM, key/value pair format. 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 String
- Specifies the flavor id. Changing this parameter will create a new resource.
- initial
Node NumberCount - Initial number of expected nodes in the node pool.
- 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.
- availability
Zone String Specify the name of the available partition (AZ). If zone is not specified than
node_pool
will be in randomly selected AZ. The default value israndom
. Changing this parameter will create a new resource.-> If AZ is set to
random
, when you create a node pool or update the number of nodes in a node pool, a scaling task is triggered. The system selects an AZ from all AZs where scaling is allowed to add nodes based on priorities. AZs with a smaller the number of existing nodes have a higher priority. If AZs have the same number of nodes, the system selects the AZ based on the AZ sequence. For more details see API documentation- cce
Node StringPool V3Id - Specifies a resource ID in UUID format.
- 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 pool.
- docker
Lvm StringConfig Override ConfigMap
of the Docker data disk. Changing this parameter will create a new node.- 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. This parameter and password are alternative. Changing this parameter will create a new resource.
- max
Node NumberCount - Maximum number of nodes allowed if auto scaling is enabled.
- max
Pods Number - The maximum number of instances a node is allowed to create. Changing this parameter will create a new node pool.
- min
Node NumberCount - Minimum number of nodes allowed if auto scaling is enabled.
- name String
- Node Pool Name.
- os String
- Node OS. Changing this parameter will create a new resource.
Supported OS depends on kubernetes version of the cluster.
- Clusters of Kubernetes
v1.13
or later supportEulerOS 2.5
. - Clusters of Kubernetes
v1.17
or later supportEulerOS 2.5
andCentOS 7.7
. - Clusters of Kubernetes
v1.21
or later supportEulerOS 2.5
,EulerOS 2.9
, andCentOS 7.7
. - Clusters of Kubernetes
v1.25
or later supportEulerOS 2.5
,EulerOS 2.9
,CentOS 7.7
andUbuntu 22.04
.
- Clusters of Kubernetes
- password String
- Key pair name when logging in to select the key pair mode. This parameter and password are alternative. Changing this parameter will create a new resource.
- 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.
- priority Number
- Weight of a node pool. A node pool with a higher weight has a higher priority during scaling.
- 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 - scale
Down NumberCooldown Time - Interval between two scaling operations, in minutes.
- scale
Enable Boolean - Whether to enable auto scaling. If Autoscaler is enabled, install the autoscaler add-on to use the auto scaling feature.
- security
Group List<String>Ids - Specifies the list of custom security group IDs for the node pool. If specified, the nodes will be put in these security groups. When specifying a security group, do not modify the rules of the port on which CCE running depends.
- server
Group StringReference - ECS group ID. If this parameter is specified, all nodes in the node pool will be created in this ECS group.
- storage String
Specifies the json string vary depending on CCE node pools storage options.
Please refer to the documentation for actual fields.
- subnet
Id String - The ID of the subnet to which the NIC belongs. Changing this parameter will create a new resource.
- taints List<Property Map>
- Taints to created nodes to configure anti-affinity.
- timeouts Property Map
- Map<String>
- Tag of a VM, key/value pair format. Changing this parameter will create a new resource.
Outputs
All input properties are implicitly available as output properties. Additionally, the CceNodePoolV3 resource produces the following output properties:
Look up Existing CceNodePoolV3 Resource
Get an existing CceNodePoolV3 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?: CceNodePoolV3State, opts?: CustomResourceOptions): CceNodePoolV3
@staticmethod
def get(resource_name: str,
id: str,
opts: Optional[ResourceOptions] = None,
agency_name: Optional[str] = None,
availability_zone: Optional[str] = None,
cce_node_pool_v3_id: Optional[str] = None,
cluster_id: Optional[str] = None,
data_volumes: Optional[Sequence[CceNodePoolV3DataVolumeArgs]] = None,
docker_base_size: Optional[float] = None,
docker_lvm_config_override: Optional[str] = None,
flavor: Optional[str] = None,
initial_node_count: Optional[float] = None,
k8s_tags: Optional[Mapping[str, str]] = None,
key_pair: Optional[str] = None,
max_node_count: Optional[float] = None,
max_pods: Optional[float] = None,
min_node_count: Optional[float] = None,
name: Optional[str] = None,
os: Optional[str] = None,
password: Optional[str] = None,
postinstall: Optional[str] = None,
preinstall: Optional[str] = None,
priority: Optional[float] = None,
root_volume: Optional[CceNodePoolV3RootVolumeArgs] = None,
runtime: Optional[str] = None,
scale_down_cooldown_time: Optional[float] = None,
scale_enable: Optional[bool] = None,
security_group_ids: Optional[Sequence[str]] = None,
server_group_reference: Optional[str] = None,
status: Optional[str] = None,
storage: Optional[str] = None,
subnet_id: Optional[str] = None,
taints: Optional[Sequence[CceNodePoolV3TaintArgs]] = None,
timeouts: Optional[CceNodePoolV3TimeoutsArgs] = None,
user_tags: Optional[Mapping[str, str]] = None) -> CceNodePoolV3
func GetCceNodePoolV3(ctx *Context, name string, id IDInput, state *CceNodePoolV3State, opts ...ResourceOption) (*CceNodePoolV3, error)
public static CceNodePoolV3 Get(string name, Input<string> id, CceNodePoolV3State? state, CustomResourceOptions? opts = null)
public static CceNodePoolV3 get(String name, Output<String> id, CceNodePoolV3State state, CustomResourceOptions options)
resources: _: type: opentelekomcloud:CceNodePoolV3 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.
- Availability
Zone string Specify the name of the available partition (AZ). If zone is not specified than
node_pool
will be in randomly selected AZ. The default value israndom
. Changing this parameter will create a new resource.-> If AZ is set to
random
, when you create a node pool or update the number of nodes in a node pool, a scaling task is triggered. The system selects an AZ from all AZs where scaling is allowed to add nodes based on priorities. AZs with a smaller the number of existing nodes have a higher priority. If AZs have the same number of nodes, the system selects the AZ based on the AZ sequence. For more details see API documentation- Cce
Node stringPool V3Id - Specifies a resource ID in UUID format.
- Cluster
Id string - ID of the cluster. Changing this parameter will create a new resource.
- Data
Volumes List<CceNode Pool V3Data Volume> - Represents the data disk to be created. Changing this parameter will create a new resource.
- 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 pool.
- Docker
Lvm stringConfig Override ConfigMap
of the Docker data disk. Changing this parameter will create a new node.- Flavor string
- Specifies the flavor id. Changing this parameter will create a new resource.
- Initial
Node doubleCount - Initial number of expected nodes in the node pool.
- 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. This parameter and password are alternative. Changing this parameter will create a new resource.
- Max
Node doubleCount - Maximum number of nodes allowed if auto scaling is enabled.
- Max
Pods double - The maximum number of instances a node is allowed to create. Changing this parameter will create a new node pool.
- Min
Node doubleCount - Minimum number of nodes allowed if auto scaling is enabled.
- Name string
- Node Pool Name.
- Os string
- Node OS. Changing this parameter will create a new resource.
Supported OS depends on kubernetes version of the cluster.
- Clusters of Kubernetes
v1.13
or later supportEulerOS 2.5
. - Clusters of Kubernetes
v1.17
or later supportEulerOS 2.5
andCentOS 7.7
. - Clusters of Kubernetes
v1.21
or later supportEulerOS 2.5
,EulerOS 2.9
, andCentOS 7.7
. - Clusters of Kubernetes
v1.25
or later supportEulerOS 2.5
,EulerOS 2.9
,CentOS 7.7
andUbuntu 22.04
.
- Clusters of Kubernetes
- Password string
- Key pair name when logging in to select the key pair mode. This parameter and password are alternative. Changing this parameter will create a new resource.
- 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.
- Priority double
- Weight of a node pool. A node pool with a higher weight has a higher priority during scaling.
- Root
Volume CceNode Pool 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 - Scale
Down doubleCooldown Time - Interval between two scaling operations, in minutes.
- Scale
Enable bool - Whether to enable auto scaling. If Autoscaler is enabled, install the autoscaler add-on to use the auto scaling feature.
- Security
Group List<string>Ids - Specifies the list of custom security group IDs for the node pool. If specified, the nodes will be put in these security groups. When specifying a security group, do not modify the rules of the port on which CCE running depends.
- Server
Group stringReference - ECS group ID. If this parameter is specified, all nodes in the node pool will be created in this ECS group.
- Status string
- Node status information.
- Storage string
Specifies the json string vary depending on CCE node pools storage options.
Please refer to the documentation for actual fields.
- Subnet
Id string - The ID of the subnet to which the NIC belongs. Changing this parameter will create a new resource.
- Taints
List<Cce
Node Pool V3Taint> - Taints to created nodes to configure anti-affinity.
- Timeouts
Cce
Node Pool V3Timeouts - Dictionary<string, string>
- Tag of a VM, key/value pair format. Changing this parameter will create a new resource.
- Agency
Name string - IAM agency name. Changing this parameter will create a new resource.
- Availability
Zone string Specify the name of the available partition (AZ). If zone is not specified than
node_pool
will be in randomly selected AZ. The default value israndom
. Changing this parameter will create a new resource.-> If AZ is set to
random
, when you create a node pool or update the number of nodes in a node pool, a scaling task is triggered. The system selects an AZ from all AZs where scaling is allowed to add nodes based on priorities. AZs with a smaller the number of existing nodes have a higher priority. If AZs have the same number of nodes, the system selects the AZ based on the AZ sequence. For more details see API documentation- Cce
Node stringPool V3Id - Specifies a resource ID in UUID format.
- Cluster
Id string - ID of the cluster. Changing this parameter will create a new resource.
- Data
Volumes []CceNode Pool V3Data Volume Args - Represents the data disk to be created. Changing this parameter will create a new resource.
- 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 pool.
- Docker
Lvm stringConfig Override ConfigMap
of the Docker data disk. Changing this parameter will create a new node.- Flavor string
- Specifies the flavor id. Changing this parameter will create a new resource.
- Initial
Node float64Count - Initial number of expected nodes in the node pool.
- 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. This parameter and password are alternative. Changing this parameter will create a new resource.
- Max
Node float64Count - Maximum number of nodes allowed if auto scaling is enabled.
- Max
Pods float64 - The maximum number of instances a node is allowed to create. Changing this parameter will create a new node pool.
- Min
Node float64Count - Minimum number of nodes allowed if auto scaling is enabled.
- Name string
- Node Pool Name.
- Os string
- Node OS. Changing this parameter will create a new resource.
Supported OS depends on kubernetes version of the cluster.
- Clusters of Kubernetes
v1.13
or later supportEulerOS 2.5
. - Clusters of Kubernetes
v1.17
or later supportEulerOS 2.5
andCentOS 7.7
. - Clusters of Kubernetes
v1.21
or later supportEulerOS 2.5
,EulerOS 2.9
, andCentOS 7.7
. - Clusters of Kubernetes
v1.25
or later supportEulerOS 2.5
,EulerOS 2.9
,CentOS 7.7
andUbuntu 22.04
.
- Clusters of Kubernetes
- Password string
- Key pair name when logging in to select the key pair mode. This parameter and password are alternative. Changing this parameter will create a new resource.
- 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.
- Priority float64
- Weight of a node pool. A node pool with a higher weight has a higher priority during scaling.
- Root
Volume CceNode Pool 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 - Scale
Down float64Cooldown Time - Interval between two scaling operations, in minutes.
- Scale
Enable bool - Whether to enable auto scaling. If Autoscaler is enabled, install the autoscaler add-on to use the auto scaling feature.
- Security
Group []stringIds - Specifies the list of custom security group IDs for the node pool. If specified, the nodes will be put in these security groups. When specifying a security group, do not modify the rules of the port on which CCE running depends.
- Server
Group stringReference - ECS group ID. If this parameter is specified, all nodes in the node pool will be created in this ECS group.
- Status string
- Node status information.
- Storage string
Specifies the json string vary depending on CCE node pools storage options.
Please refer to the documentation for actual fields.
- Subnet
Id string - The ID of the subnet to which the NIC belongs. Changing this parameter will create a new resource.
- Taints
[]Cce
Node Pool V3Taint Args - Taints to created nodes to configure anti-affinity.
- Timeouts
Cce
Node Pool V3Timeouts Args - map[string]string
- Tag of a VM, key/value pair format. Changing this parameter will create a new resource.
- agency
Name String - IAM agency name. Changing this parameter will create a new resource.
- availability
Zone String Specify the name of the available partition (AZ). If zone is not specified than
node_pool
will be in randomly selected AZ. The default value israndom
. Changing this parameter will create a new resource.-> If AZ is set to
random
, when you create a node pool or update the number of nodes in a node pool, a scaling task is triggered. The system selects an AZ from all AZs where scaling is allowed to add nodes based on priorities. AZs with a smaller the number of existing nodes have a higher priority. If AZs have the same number of nodes, the system selects the AZ based on the AZ sequence. For more details see API documentation- cce
Node StringPool V3Id - Specifies a resource ID in UUID format.
- cluster
Id String - ID of the cluster. Changing this parameter will create a new resource.
- data
Volumes List<CceNode Pool V3Data Volume> - Represents the data disk to be created. Changing this parameter will create a new resource.
- 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 pool.
- docker
Lvm StringConfig Override ConfigMap
of the Docker data disk. Changing this parameter will create a new node.- flavor String
- Specifies the flavor id. Changing this parameter will create a new resource.
- initial
Node DoubleCount - Initial number of expected nodes in the node pool.
- 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. This parameter and password are alternative. Changing this parameter will create a new resource.
- max
Node DoubleCount - Maximum number of nodes allowed if auto scaling is enabled.
- max
Pods Double - The maximum number of instances a node is allowed to create. Changing this parameter will create a new node pool.
- min
Node DoubleCount - Minimum number of nodes allowed if auto scaling is enabled.
- name String
- Node Pool Name.
- os String
- Node OS. Changing this parameter will create a new resource.
Supported OS depends on kubernetes version of the cluster.
- Clusters of Kubernetes
v1.13
or later supportEulerOS 2.5
. - Clusters of Kubernetes
v1.17
or later supportEulerOS 2.5
andCentOS 7.7
. - Clusters of Kubernetes
v1.21
or later supportEulerOS 2.5
,EulerOS 2.9
, andCentOS 7.7
. - Clusters of Kubernetes
v1.25
or later supportEulerOS 2.5
,EulerOS 2.9
,CentOS 7.7
andUbuntu 22.04
.
- Clusters of Kubernetes
- password String
- Key pair name when logging in to select the key pair mode. This parameter and password are alternative. Changing this parameter will create a new resource.
- 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.
- priority Double
- Weight of a node pool. A node pool with a higher weight has a higher priority during scaling.
- root
Volume CceNode Pool 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 - scale
Down DoubleCooldown Time - Interval between two scaling operations, in minutes.
- scale
Enable Boolean - Whether to enable auto scaling. If Autoscaler is enabled, install the autoscaler add-on to use the auto scaling feature.
- security
Group List<String>Ids - Specifies the list of custom security group IDs for the node pool. If specified, the nodes will be put in these security groups. When specifying a security group, do not modify the rules of the port on which CCE running depends.
- server
Group StringReference - ECS group ID. If this parameter is specified, all nodes in the node pool will be created in this ECS group.
- status String
- Node status information.
- storage String
Specifies the json string vary depending on CCE node pools storage options.
Please refer to the documentation for actual fields.
- subnet
Id String - The ID of the subnet to which the NIC belongs. Changing this parameter will create a new resource.
- taints
List<Cce
Node Pool V3Taint> - Taints to created nodes to configure anti-affinity.
- timeouts
Cce
Node Pool V3Timeouts - Map<String,String>
- Tag of a VM, key/value pair format. Changing this parameter will create a new resource.
- agency
Name string - IAM agency name. Changing this parameter will create a new resource.
- availability
Zone string Specify the name of the available partition (AZ). If zone is not specified than
node_pool
will be in randomly selected AZ. The default value israndom
. Changing this parameter will create a new resource.-> If AZ is set to
random
, when you create a node pool or update the number of nodes in a node pool, a scaling task is triggered. The system selects an AZ from all AZs where scaling is allowed to add nodes based on priorities. AZs with a smaller the number of existing nodes have a higher priority. If AZs have the same number of nodes, the system selects the AZ based on the AZ sequence. For more details see API documentation- cce
Node stringPool V3Id - Specifies a resource ID in UUID format.
- cluster
Id string - ID of the cluster. Changing this parameter will create a new resource.
- data
Volumes CceNode Pool V3Data Volume[] - Represents the data disk to be created. Changing this parameter will create a new resource.
- 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 pool.
- docker
Lvm stringConfig Override ConfigMap
of the Docker data disk. Changing this parameter will create a new node.- flavor string
- Specifies the flavor id. Changing this parameter will create a new resource.
- initial
Node numberCount - Initial number of expected nodes in the node pool.
- {[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. This parameter and password are alternative. Changing this parameter will create a new resource.
- max
Node numberCount - Maximum number of nodes allowed if auto scaling is enabled.
- max
Pods number - The maximum number of instances a node is allowed to create. Changing this parameter will create a new node pool.
- min
Node numberCount - Minimum number of nodes allowed if auto scaling is enabled.
- name string
- Node Pool Name.
- os string
- Node OS. Changing this parameter will create a new resource.
Supported OS depends on kubernetes version of the cluster.
- Clusters of Kubernetes
v1.13
or later supportEulerOS 2.5
. - Clusters of Kubernetes
v1.17
or later supportEulerOS 2.5
andCentOS 7.7
. - Clusters of Kubernetes
v1.21
or later supportEulerOS 2.5
,EulerOS 2.9
, andCentOS 7.7
. - Clusters of Kubernetes
v1.25
or later supportEulerOS 2.5
,EulerOS 2.9
,CentOS 7.7
andUbuntu 22.04
.
- Clusters of Kubernetes
- password string
- Key pair name when logging in to select the key pair mode. This parameter and password are alternative. Changing this parameter will create a new resource.
- 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.
- priority number
- Weight of a node pool. A node pool with a higher weight has a higher priority during scaling.
- root
Volume CceNode Pool 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 - scale
Down numberCooldown Time - Interval between two scaling operations, in minutes.
- scale
Enable boolean - Whether to enable auto scaling. If Autoscaler is enabled, install the autoscaler add-on to use the auto scaling feature.
- security
Group string[]Ids - Specifies the list of custom security group IDs for the node pool. If specified, the nodes will be put in these security groups. When specifying a security group, do not modify the rules of the port on which CCE running depends.
- server
Group stringReference - ECS group ID. If this parameter is specified, all nodes in the node pool will be created in this ECS group.
- status string
- Node status information.
- storage string
Specifies the json string vary depending on CCE node pools storage options.
Please refer to the documentation for actual fields.
- subnet
Id string - The ID of the subnet to which the NIC belongs. Changing this parameter will create a new resource.
- taints
Cce
Node Pool V3Taint[] - Taints to created nodes to configure anti-affinity.
- timeouts
Cce
Node Pool V3Timeouts - {[key: string]: string}
- Tag of a VM, key/value pair format. Changing this parameter will create a new resource.
- agency_
name str - IAM agency name. Changing this parameter will create a new resource.
- availability_
zone str Specify the name of the available partition (AZ). If zone is not specified than
node_pool
will be in randomly selected AZ. The default value israndom
. Changing this parameter will create a new resource.-> If AZ is set to
random
, when you create a node pool or update the number of nodes in a node pool, a scaling task is triggered. The system selects an AZ from all AZs where scaling is allowed to add nodes based on priorities. AZs with a smaller the number of existing nodes have a higher priority. If AZs have the same number of nodes, the system selects the AZ based on the AZ sequence. For more details see API documentation- cce_
node_ strpool_ v3_ id - Specifies a resource ID in UUID format.
- cluster_
id str - ID of the cluster. Changing this parameter will create a new resource.
- data_
volumes Sequence[CceNode Pool V3Data Volume Args] - Represents the data disk to be created. Changing this parameter will create a new resource.
- 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 pool.
- docker_
lvm_ strconfig_ override ConfigMap
of the Docker data disk. Changing this parameter will create a new node.- flavor str
- Specifies the flavor id. Changing this parameter will create a new resource.
- initial_
node_ floatcount - Initial number of expected nodes in the node pool.
- 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. This parameter and password are alternative. Changing this parameter will create a new resource.
- max_
node_ floatcount - Maximum number of nodes allowed if auto scaling is enabled.
- max_
pods float - The maximum number of instances a node is allowed to create. Changing this parameter will create a new node pool.
- min_
node_ floatcount - Minimum number of nodes allowed if auto scaling is enabled.
- name str
- Node Pool Name.
- os str
- Node OS. Changing this parameter will create a new resource.
Supported OS depends on kubernetes version of the cluster.
- Clusters of Kubernetes
v1.13
or later supportEulerOS 2.5
. - Clusters of Kubernetes
v1.17
or later supportEulerOS 2.5
andCentOS 7.7
. - Clusters of Kubernetes
v1.21
or later supportEulerOS 2.5
,EulerOS 2.9
, andCentOS 7.7
. - Clusters of Kubernetes
v1.25
or later supportEulerOS 2.5
,EulerOS 2.9
,CentOS 7.7
andUbuntu 22.04
.
- Clusters of Kubernetes
- password str
- Key pair name when logging in to select the key pair mode. This parameter and password are alternative. Changing this parameter will create a new resource.
- 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.
- priority float
- Weight of a node pool. A node pool with a higher weight has a higher priority during scaling.
- root_
volume CceNode Pool 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 - scale_
down_ floatcooldown_ time - Interval between two scaling operations, in minutes.
- scale_
enable bool - Whether to enable auto scaling. If Autoscaler is enabled, install the autoscaler add-on to use the auto scaling feature.
- security_
group_ Sequence[str]ids - Specifies the list of custom security group IDs for the node pool. If specified, the nodes will be put in these security groups. When specifying a security group, do not modify the rules of the port on which CCE running depends.
- server_
group_ strreference - ECS group ID. If this parameter is specified, all nodes in the node pool will be created in this ECS group.
- status str
- Node status information.
- storage str
Specifies the json string vary depending on CCE node pools storage options.
Please refer to the documentation for actual fields.
- subnet_
id str - The ID of the subnet to which the NIC belongs. Changing this parameter will create a new resource.
- taints
Sequence[Cce
Node Pool V3Taint Args] - Taints to created nodes to configure anti-affinity.
- timeouts
Cce
Node Pool V3Timeouts Args - Mapping[str, str]
- Tag of a VM, key/value pair format. Changing this parameter will create a new resource.
- agency
Name String - IAM agency name. Changing this parameter will create a new resource.
- availability
Zone String Specify the name of the available partition (AZ). If zone is not specified than
node_pool
will be in randomly selected AZ. The default value israndom
. Changing this parameter will create a new resource.-> If AZ is set to
random
, when you create a node pool or update the number of nodes in a node pool, a scaling task is triggered. The system selects an AZ from all AZs where scaling is allowed to add nodes based on priorities. AZs with a smaller the number of existing nodes have a higher priority. If AZs have the same number of nodes, the system selects the AZ based on the AZ sequence. For more details see API documentation- cce
Node StringPool V3Id - Specifies a resource ID in UUID format.
- 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.
- 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 pool.
- docker
Lvm StringConfig Override ConfigMap
of the Docker data disk. Changing this parameter will create a new node.- flavor String
- Specifies the flavor id. Changing this parameter will create a new resource.
- initial
Node NumberCount - Initial number of expected nodes in the node pool.
- 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. This parameter and password are alternative. Changing this parameter will create a new resource.
- max
Node NumberCount - Maximum number of nodes allowed if auto scaling is enabled.
- max
Pods Number - The maximum number of instances a node is allowed to create. Changing this parameter will create a new node pool.
- min
Node NumberCount - Minimum number of nodes allowed if auto scaling is enabled.
- name String
- Node Pool Name.
- os String
- Node OS. Changing this parameter will create a new resource.
Supported OS depends on kubernetes version of the cluster.
- Clusters of Kubernetes
v1.13
or later supportEulerOS 2.5
. - Clusters of Kubernetes
v1.17
or later supportEulerOS 2.5
andCentOS 7.7
. - Clusters of Kubernetes
v1.21
or later supportEulerOS 2.5
,EulerOS 2.9
, andCentOS 7.7
. - Clusters of Kubernetes
v1.25
or later supportEulerOS 2.5
,EulerOS 2.9
,CentOS 7.7
andUbuntu 22.04
.
- Clusters of Kubernetes
- password String
- Key pair name when logging in to select the key pair mode. This parameter and password are alternative. Changing this parameter will create a new resource.
- 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.
- priority Number
- Weight of a node pool. A node pool with a higher weight has a higher priority during scaling.
- 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 - scale
Down NumberCooldown Time - Interval between two scaling operations, in minutes.
- scale
Enable Boolean - Whether to enable auto scaling. If Autoscaler is enabled, install the autoscaler add-on to use the auto scaling feature.
- security
Group List<String>Ids - Specifies the list of custom security group IDs for the node pool. If specified, the nodes will be put in these security groups. When specifying a security group, do not modify the rules of the port on which CCE running depends.
- server
Group StringReference - ECS group ID. If this parameter is specified, all nodes in the node pool will be created in this ECS group.
- status String
- Node status information.
- storage String
Specifies the json string vary depending on CCE node pools storage options.
Please refer to the documentation for actual fields.
- subnet
Id String - The ID of the subnet to which the NIC belongs. Changing this parameter will create a new resource.
- taints List<Property Map>
- Taints to created nodes to configure anti-affinity.
- timeouts Property Map
- Map<String>
- Tag of a VM, key/value pair format. Changing this parameter will create a new resource.
Supporting Types
CceNodePoolV3DataVolume, CceNodePoolV3DataVolumeArgs
- Size double
- Disk size in GB.
- Volumetype string
- Disk type.
- Extend
Param string - DEPRECATED - (Optional, String, ForceNew) 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, String, ForceNew) 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, String, ForceNew) 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, String, ForceNew) 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, String, ForceNew) 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, String, ForceNew) 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.
CceNodePoolV3RootVolume, CceNodePoolV3RootVolumeArgs
- Size double
- Disk size in GB.
- Volumetype string
- Disk type.
- Extend
Param string - DEPRECATED - (Optional, String, ForceNew) 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, String, ForceNew) 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, String, ForceNew) 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, String, ForceNew) 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, String, ForceNew) 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, String, ForceNew) 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.
CceNodePoolV3Taint, CceNodePoolV3TaintArgs
- 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 (.).
CceNodePoolV3Timeouts, CceNodePoolV3TimeoutsArgs
Import
CCE NodePool can be imported using the cluster_id/node_pool_id
, e.g.
$ pulumi import opentelekomcloud:index/cceNodePoolV3:CceNodePoolV3 pool_1 14a80bc7-c12c-4fe0-a38a-cb77eeac9bd6/89c60255-9bd6-460c-822a-e2b959ede9d2
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.