1. Packages
  2. Flexibleengine Provider
  3. API Docs
  4. CceNodePoolV3
flexibleengine 1.46.0 published on Monday, Apr 14, 2025 by flexibleenginecloud

flexibleengine.CceNodePoolV3

Explore with Pulumi AI

Add a node pool to a container cluster.

Example Usage

import * as pulumi from "@pulumi/pulumi";
import * as flexibleengine from "@pulumi/flexibleengine";

const config = new pulumi.Config();
const clusterId = config.requireObject("clusterId");
const keyPair = config.requireObject("keyPair");
const availabilityZone = config.requireObject("availabilityZone");
const nodePool = new flexibleengine.CceNodePoolV3("nodePool", {
    clusterId: clusterId,
    os: "EulerOS 2.5",
    initialNodeCount: 2,
    flavorId: "s3.large.4",
    availabilityZone: availabilityZone,
    keyPair: _var.keypair,
    scaleEnable: true,
    minNodeCount: 1,
    maxNodeCount: 10,
    scaleDownCooldownTime: 100,
    priority: 1,
    type: "vm",
    rootVolume: {
        size: 40,
        volumetype: "SAS",
    },
    dataVolumes: [{
        size: 100,
        volumetype: "SAS",
    }],
});
Copy
import pulumi
import pulumi_flexibleengine as flexibleengine

config = pulumi.Config()
cluster_id = config.require_object("clusterId")
key_pair = config.require_object("keyPair")
availability_zone = config.require_object("availabilityZone")
node_pool = flexibleengine.CceNodePoolV3("nodePool",
    cluster_id=cluster_id,
    os="EulerOS 2.5",
    initial_node_count=2,
    flavor_id="s3.large.4",
    availability_zone=availability_zone,
    key_pair=var["keypair"],
    scale_enable=True,
    min_node_count=1,
    max_node_count=10,
    scale_down_cooldown_time=100,
    priority=1,
    type="vm",
    root_volume={
        "size": 40,
        "volumetype": "SAS",
    },
    data_volumes=[{
        "size": 100,
        "volumetype": "SAS",
    }])
Copy
package main

import (
	"github.com/pulumi/pulumi-terraform-provider/sdks/go/flexibleengine/flexibleengine"
	"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")
		keyPair := cfg.RequireObject("keyPair")
		availabilityZone := cfg.RequireObject("availabilityZone")
		_, err := flexibleengine.NewCceNodePoolV3(ctx, "nodePool", &flexibleengine.CceNodePoolV3Args{
			ClusterId:             pulumi.Any(clusterId),
			Os:                    pulumi.String("EulerOS 2.5"),
			InitialNodeCount:      pulumi.Float64(2),
			FlavorId:              pulumi.String("s3.large.4"),
			AvailabilityZone:      pulumi.Any(availabilityZone),
			KeyPair:               pulumi.Any(_var.Keypair),
			ScaleEnable:           pulumi.Bool(true),
			MinNodeCount:          pulumi.Float64(1),
			MaxNodeCount:          pulumi.Float64(10),
			ScaleDownCooldownTime: pulumi.Float64(100),
			Priority:              pulumi.Float64(1),
			Type:                  pulumi.String("vm"),
			RootVolume: &flexibleengine.CceNodePoolV3RootVolumeArgs{
				Size:       pulumi.Float64(40),
				Volumetype: pulumi.String("SAS"),
			},
			DataVolumes: flexibleengine.CceNodePoolV3DataVolumeArray{
				&flexibleengine.CceNodePoolV3DataVolumeArgs{
					Size:       pulumi.Float64(100),
					Volumetype: pulumi.String("SAS"),
				},
			},
		})
		if err != nil {
			return err
		}
		return nil
	})
}
Copy
using System.Collections.Generic;
using System.Linq;
using Pulumi;
using Flexibleengine = Pulumi.Flexibleengine;

return await Deployment.RunAsync(() => 
{
    var config = new Config();
    var clusterId = config.RequireObject<dynamic>("clusterId");
    var keyPair = config.RequireObject<dynamic>("keyPair");
    var availabilityZone = config.RequireObject<dynamic>("availabilityZone");
    var nodePool = new Flexibleengine.CceNodePoolV3("nodePool", new()
    {
        ClusterId = clusterId,
        Os = "EulerOS 2.5",
        InitialNodeCount = 2,
        FlavorId = "s3.large.4",
        AvailabilityZone = availabilityZone,
        KeyPair = @var.Keypair,
        ScaleEnable = true,
        MinNodeCount = 1,
        MaxNodeCount = 10,
        ScaleDownCooldownTime = 100,
        Priority = 1,
        Type = "vm",
        RootVolume = new Flexibleengine.Inputs.CceNodePoolV3RootVolumeArgs
        {
            Size = 40,
            Volumetype = "SAS",
        },
        DataVolumes = new[]
        {
            new Flexibleengine.Inputs.CceNodePoolV3DataVolumeArgs
            {
                Size = 100,
                Volumetype = "SAS",
            },
        },
    });

});
Copy
package generated_program;

import com.pulumi.Context;
import com.pulumi.Pulumi;
import com.pulumi.core.Output;
import com.pulumi.flexibleengine.CceNodePoolV3;
import com.pulumi.flexibleengine.CceNodePoolV3Args;
import com.pulumi.flexibleengine.inputs.CceNodePoolV3RootVolumeArgs;
import com.pulumi.flexibleengine.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 keyPair = config.get("keyPair");
        final var availabilityZone = config.get("availabilityZone");
        var nodePool = new CceNodePoolV3("nodePool", CceNodePoolV3Args.builder()
            .clusterId(clusterId)
            .os("EulerOS 2.5")
            .initialNodeCount(2)
            .flavorId("s3.large.4")
            .availabilityZone(availabilityZone)
            .keyPair(var_.keypair())
            .scaleEnable(true)
            .minNodeCount(1)
            .maxNodeCount(10)
            .scaleDownCooldownTime(100)
            .priority(1)
            .type("vm")
            .rootVolume(CceNodePoolV3RootVolumeArgs.builder()
                .size(40)
                .volumetype("SAS")
                .build())
            .dataVolumes(CceNodePoolV3DataVolumeArgs.builder()
                .size(100)
                .volumetype("SAS")
                .build())
            .build());

    }
}
Copy
configuration:
  clusterId:
    type: dynamic
  keyPair:
    type: dynamic
  availabilityZone:
    type: dynamic
resources:
  nodePool:
    type: flexibleengine:CceNodePoolV3
    properties:
      clusterId: ${clusterId}
      os: EulerOS 2.5
      initialNodeCount: 2
      flavorId: s3.large.4
      availabilityZone: ${availabilityZone}
      keyPair: ${var.keypair}
      scaleEnable: true
      minNodeCount: 1
      maxNodeCount: 10
      scaleDownCooldownTime: 100
      priority: 1
      type: vm
      rootVolume:
        size: 40
        volumetype: SAS
      dataVolumes:
        - size: 100
          volumetype: SAS
Copy

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_id: Optional[str] = None,
                  root_volume: Optional[CceNodePoolV3RootVolumeArgs] = None,
                  cluster_id: Optional[str] = None,
                  data_volumes: Optional[Sequence[CceNodePoolV3DataVolumeArgs]] = None,
                  initial_node_count: Optional[float] = None,
                  os: Optional[str] = None,
                  priority: Optional[float] = None,
                  ecs_group_id: Optional[str] = None,
                  key_pair: Optional[str] = None,
                  labels: Optional[Mapping[str, str]] = None,
                  max_node_count: Optional[float] = None,
                  max_pods: Optional[float] = None,
                  min_node_count: Optional[float] = None,
                  name: Optional[str] = None,
                  availability_zone: Optional[str] = None,
                  password: Optional[str] = None,
                  postinstall: Optional[str] = None,
                  preinstall: Optional[str] = None,
                  extend_param: Optional[Mapping[str, str]] = None,
                  region: Optional[str] = None,
                  cce_node_pool_v3_id: Optional[str] = None,
                  runtime: Optional[str] = None,
                  scale_down_cooldown_time: Optional[float] = None,
                  scale_enable: Optional[bool] = None,
                  scall_enable: Optional[bool] = None,
                  security_groups: Optional[Sequence[str]] = None,
                  subnet_id: Optional[str] = None,
                  tags: Optional[Mapping[str, str]] = None,
                  taints: Optional[Sequence[CceNodePoolV3TaintArgs]] = None,
                  timeouts: Optional[CceNodePoolV3TimeoutsArgs] = None,
                  type: Optional[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: flexibleengine:CceNodePoolV3
properties: # The arguments to resource properties.
options: # Bag of options to control resource's behavior.

Parameters

name This property is required. string
The unique name of the resource.
args This property is required. CceNodePoolV3Args
The arguments to resource properties.
opts CustomResourceOptions
Bag of options to control resource's behavior.
resource_name This property is required. str
The unique name of the resource.
args This property is required. 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 This property is required. string
The unique name of the resource.
args This property is required. CceNodePoolV3Args
The arguments to resource properties.
opts ResourceOption
Bag of options to control resource's behavior.
name This property is required. string
The unique name of the resource.
args This property is required. CceNodePoolV3Args
The arguments to resource properties.
opts CustomResourceOptions
Bag of options to control resource's behavior.
name This property is required. String
The unique name of the resource.
args This property is required. 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 Flexibleengine.CceNodePoolV3("cceNodePoolV3Resource", new()
{
    FlavorId = "string",
    RootVolume = new Flexibleengine.Inputs.CceNodePoolV3RootVolumeArgs
    {
        Size = 0,
        Volumetype = "string",
        ExtendParams = 
        {
            { "string", "string" },
        },
        KmsKeyId = "string",
    },
    ClusterId = "string",
    DataVolumes = new[]
    {
        new Flexibleengine.Inputs.CceNodePoolV3DataVolumeArgs
        {
            Size = 0,
            Volumetype = "string",
            ExtendParams = 
            {
                { "string", "string" },
            },
            KmsKeyId = "string",
        },
    },
    InitialNodeCount = 0,
    Os = "string",
    Priority = 0,
    EcsGroupId = "string",
    KeyPair = "string",
    Labels = 
    {
        { "string", "string" },
    },
    MaxNodeCount = 0,
    MaxPods = 0,
    MinNodeCount = 0,
    Name = "string",
    AvailabilityZone = "string",
    Password = "string",
    Postinstall = "string",
    Preinstall = "string",
    ExtendParam = 
    {
        { "string", "string" },
    },
    Region = "string",
    CceNodePoolV3Id = "string",
    Runtime = "string",
    ScaleDownCooldownTime = 0,
    ScaleEnable = false,
    SecurityGroups = new[]
    {
        "string",
    },
    SubnetId = "string",
    Tags = 
    {
        { "string", "string" },
    },
    Taints = new[]
    {
        new Flexibleengine.Inputs.CceNodePoolV3TaintArgs
        {
            Effect = "string",
            Key = "string",
            Value = "string",
        },
    },
    Timeouts = new Flexibleengine.Inputs.CceNodePoolV3TimeoutsArgs
    {
        Create = "string",
        Delete = "string",
    },
    Type = "string",
});
Copy
example, err := flexibleengine.NewCceNodePoolV3(ctx, "cceNodePoolV3Resource", &flexibleengine.CceNodePoolV3Args{
FlavorId: pulumi.String("string"),
RootVolume: &.CceNodePoolV3RootVolumeArgs{
Size: pulumi.Float64(0),
Volumetype: pulumi.String("string"),
ExtendParams: pulumi.StringMap{
"string": pulumi.String("string"),
},
KmsKeyId: pulumi.String("string"),
},
ClusterId: pulumi.String("string"),
DataVolumes: .CceNodePoolV3DataVolumeArray{
&.CceNodePoolV3DataVolumeArgs{
Size: pulumi.Float64(0),
Volumetype: pulumi.String("string"),
ExtendParams: pulumi.StringMap{
"string": pulumi.String("string"),
},
KmsKeyId: pulumi.String("string"),
},
},
InitialNodeCount: pulumi.Float64(0),
Os: pulumi.String("string"),
Priority: pulumi.Float64(0),
EcsGroupId: pulumi.String("string"),
KeyPair: pulumi.String("string"),
Labels: pulumi.StringMap{
"string": pulumi.String("string"),
},
MaxNodeCount: pulumi.Float64(0),
MaxPods: pulumi.Float64(0),
MinNodeCount: pulumi.Float64(0),
Name: pulumi.String("string"),
AvailabilityZone: pulumi.String("string"),
Password: pulumi.String("string"),
Postinstall: pulumi.String("string"),
Preinstall: pulumi.String("string"),
ExtendParam: pulumi.StringMap{
"string": pulumi.String("string"),
},
Region: pulumi.String("string"),
CceNodePoolV3Id: pulumi.String("string"),
Runtime: pulumi.String("string"),
ScaleDownCooldownTime: pulumi.Float64(0),
ScaleEnable: pulumi.Bool(false),
SecurityGroups: pulumi.StringArray{
pulumi.String("string"),
},
SubnetId: pulumi.String("string"),
Tags: pulumi.StringMap{
"string": pulumi.String("string"),
},
Taints: .CceNodePoolV3TaintArray{
&.CceNodePoolV3TaintArgs{
Effect: pulumi.String("string"),
Key: pulumi.String("string"),
Value: pulumi.String("string"),
},
},
Timeouts: &.CceNodePoolV3TimeoutsArgs{
Create: pulumi.String("string"),
Delete: pulumi.String("string"),
},
Type: pulumi.String("string"),
})
Copy
var cceNodePoolV3Resource = new CceNodePoolV3("cceNodePoolV3Resource", CceNodePoolV3Args.builder()
    .flavorId("string")
    .rootVolume(CceNodePoolV3RootVolumeArgs.builder()
        .size(0)
        .volumetype("string")
        .extendParams(Map.of("string", "string"))
        .kmsKeyId("string")
        .build())
    .clusterId("string")
    .dataVolumes(CceNodePoolV3DataVolumeArgs.builder()
        .size(0)
        .volumetype("string")
        .extendParams(Map.of("string", "string"))
        .kmsKeyId("string")
        .build())
    .initialNodeCount(0)
    .os("string")
    .priority(0)
    .ecsGroupId("string")
    .keyPair("string")
    .labels(Map.of("string", "string"))
    .maxNodeCount(0)
    .maxPods(0)
    .minNodeCount(0)
    .name("string")
    .availabilityZone("string")
    .password("string")
    .postinstall("string")
    .preinstall("string")
    .extendParam(Map.of("string", "string"))
    .region("string")
    .cceNodePoolV3Id("string")
    .runtime("string")
    .scaleDownCooldownTime(0)
    .scaleEnable(false)
    .securityGroups("string")
    .subnetId("string")
    .tags(Map.of("string", "string"))
    .taints(CceNodePoolV3TaintArgs.builder()
        .effect("string")
        .key("string")
        .value("string")
        .build())
    .timeouts(CceNodePoolV3TimeoutsArgs.builder()
        .create("string")
        .delete("string")
        .build())
    .type("string")
    .build());
Copy
cce_node_pool_v3_resource = flexibleengine.CceNodePoolV3("cceNodePoolV3Resource",
    flavor_id="string",
    root_volume={
        "size": 0,
        "volumetype": "string",
        "extend_params": {
            "string": "string",
        },
        "kms_key_id": "string",
    },
    cluster_id="string",
    data_volumes=[{
        "size": 0,
        "volumetype": "string",
        "extend_params": {
            "string": "string",
        },
        "kms_key_id": "string",
    }],
    initial_node_count=0,
    os="string",
    priority=0,
    ecs_group_id="string",
    key_pair="string",
    labels={
        "string": "string",
    },
    max_node_count=0,
    max_pods=0,
    min_node_count=0,
    name="string",
    availability_zone="string",
    password="string",
    postinstall="string",
    preinstall="string",
    extend_param={
        "string": "string",
    },
    region="string",
    cce_node_pool_v3_id="string",
    runtime="string",
    scale_down_cooldown_time=0,
    scale_enable=False,
    security_groups=["string"],
    subnet_id="string",
    tags={
        "string": "string",
    },
    taints=[{
        "effect": "string",
        "key": "string",
        "value": "string",
    }],
    timeouts={
        "create": "string",
        "delete": "string",
    },
    type="string")
Copy
const cceNodePoolV3Resource = new flexibleengine.CceNodePoolV3("cceNodePoolV3Resource", {
    flavorId: "string",
    rootVolume: {
        size: 0,
        volumetype: "string",
        extendParams: {
            string: "string",
        },
        kmsKeyId: "string",
    },
    clusterId: "string",
    dataVolumes: [{
        size: 0,
        volumetype: "string",
        extendParams: {
            string: "string",
        },
        kmsKeyId: "string",
    }],
    initialNodeCount: 0,
    os: "string",
    priority: 0,
    ecsGroupId: "string",
    keyPair: "string",
    labels: {
        string: "string",
    },
    maxNodeCount: 0,
    maxPods: 0,
    minNodeCount: 0,
    name: "string",
    availabilityZone: "string",
    password: "string",
    postinstall: "string",
    preinstall: "string",
    extendParam: {
        string: "string",
    },
    region: "string",
    cceNodePoolV3Id: "string",
    runtime: "string",
    scaleDownCooldownTime: 0,
    scaleEnable: false,
    securityGroups: ["string"],
    subnetId: "string",
    tags: {
        string: "string",
    },
    taints: [{
        effect: "string",
        key: "string",
        value: "string",
    }],
    timeouts: {
        create: "string",
        "delete": "string",
    },
    type: "string",
});
Copy
type: flexibleengine:CceNodePoolV3
properties:
    availabilityZone: string
    cceNodePoolV3Id: string
    clusterId: string
    dataVolumes:
        - extendParams:
            string: string
          kmsKeyId: string
          size: 0
          volumetype: string
    ecsGroupId: string
    extendParam:
        string: string
    flavorId: string
    initialNodeCount: 0
    keyPair: string
    labels:
        string: string
    maxNodeCount: 0
    maxPods: 0
    minNodeCount: 0
    name: string
    os: string
    password: string
    postinstall: string
    preinstall: string
    priority: 0
    region: string
    rootVolume:
        extendParams:
            string: string
        kmsKeyId: string
        size: 0
        volumetype: string
    runtime: string
    scaleDownCooldownTime: 0
    scaleEnable: false
    securityGroups:
        - string
    subnetId: string
    tags:
        string: string
    taints:
        - effect: string
          key: string
          value: string
    timeouts:
        create: string
        delete: string
    type: string
Copy

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:

ClusterId This property is required. string
ID of the cluster. Changing this parameter will create a new resource.
DataVolumes This property is required. List<CceNodePoolV3DataVolume>
Represents the data disk to be created. The object structure is documented below. Changing this parameter will create a new resource.
FlavorId This property is required. string
Specifies the flavor id. Changing this parameter will create a new resource.
InitialNodeCount This property is required. double
Specifies the initial number of expected nodes in the node pool. This parameter can be also used to manually scale the node count afterwards.
RootVolume This property is required. CceNodePoolV3RootVolume
It corresponds to the system disk related configuration. The object structure is documented below. Changing this parameter will create a new resource.
AvailabilityZone string
specify the name of the available partition (AZ). Default value is random to create nodes in a random AZ in the node pool. Changing this parameter will create a new resource.
CceNodePoolV3Id string
Specifies a resource ID in UUID format.
EcsGroupId string
Specifies the ECS group ID. If specified, the node will be created under the cloud server group. Changing this parameter will create a new resource.
ExtendParam Dictionary<string, string>
KeyPair 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.
Labels Dictionary<string, string>
Tags of a Kubernetes node, key/value pair format.
MaxNodeCount double
Maximum number of nodes allowed if auto scaling is enabled.
MaxPods double
The maximum number of instances a node is allowed to create. Changing this parameter will create a new resource.
MinNodeCount double
Minimum number of nodes allowed if auto scaling is enabled.
Name string
Node Pool Name.
Os string
Operating System of the node. The value can be EulerOS 2.5 and CentOS 7.6. Changing this parameter will create a new resource.
Password string
root password when logging in to select the password mode. This parameter must be salted and alternative to key_pair. Changing this parameter will create a new resource.
Postinstall string
Script required after the 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.
Region string
Specifies the region in which to create the CCE node pool resource. If omitted, the provider-level region will be used. Changing this will create a new CCE node pool resource.
Runtime string
Specifies the runtime of the CCE node pool. Valid values are docker and containerd. Changing this creates a new resource.
ScaleDownCooldownTime double
Interval between two scaling operations, in minutes.
ScaleEnable bool
Whether to enable auto scaling. If Autoscaler is enabled, install the autoscaler add-on to use the auto scaling feature.
ScallEnable bool

Deprecated: Deprecated

SecurityGroups List<string>
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. Changing this parameter will create a new resource.
SubnetId string
The ID of the VPC Subnet to which the NIC belongs. Changing this parameter will create a new resource.
Tags Dictionary<string, string>
Tags of a VM node, key/value pair format.
Taints List<CceNodePoolV3Taint>
You can add taints to created nodes to configure anti-affinity. The object structure is documented below.
Timeouts CceNodePoolV3Timeouts
Type string
Node Pool type. Possible values are: "vm" and "ElasticBMS".
ClusterId This property is required. string
ID of the cluster. Changing this parameter will create a new resource.
DataVolumes This property is required. []CceNodePoolV3DataVolumeArgs
Represents the data disk to be created. The object structure is documented below. Changing this parameter will create a new resource.
FlavorId This property is required. string
Specifies the flavor id. Changing this parameter will create a new resource.
InitialNodeCount This property is required. float64
Specifies the initial number of expected nodes in the node pool. This parameter can be also used to manually scale the node count afterwards.
RootVolume This property is required. CceNodePoolV3RootVolumeArgs
It corresponds to the system disk related configuration. The object structure is documented below. Changing this parameter will create a new resource.
AvailabilityZone string
specify the name of the available partition (AZ). Default value is random to create nodes in a random AZ in the node pool. Changing this parameter will create a new resource.
CceNodePoolV3Id string
Specifies a resource ID in UUID format.
EcsGroupId string
Specifies the ECS group ID. If specified, the node will be created under the cloud server group. Changing this parameter will create a new resource.
ExtendParam map[string]string
KeyPair 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.
Labels map[string]string
Tags of a Kubernetes node, key/value pair format.
MaxNodeCount float64
Maximum number of nodes allowed if auto scaling is enabled.
MaxPods float64
The maximum number of instances a node is allowed to create. Changing this parameter will create a new resource.
MinNodeCount float64
Minimum number of nodes allowed if auto scaling is enabled.
Name string
Node Pool Name.
Os string
Operating System of the node. The value can be EulerOS 2.5 and CentOS 7.6. Changing this parameter will create a new resource.
Password string
root password when logging in to select the password mode. This parameter must be salted and alternative to key_pair. Changing this parameter will create a new resource.
Postinstall string
Script required after the 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.
Region string
Specifies the region in which to create the CCE node pool resource. If omitted, the provider-level region will be used. Changing this will create a new CCE node pool resource.
Runtime string
Specifies the runtime of the CCE node pool. Valid values are docker and containerd. Changing this creates a new resource.
ScaleDownCooldownTime float64
Interval between two scaling operations, in minutes.
ScaleEnable bool
Whether to enable auto scaling. If Autoscaler is enabled, install the autoscaler add-on to use the auto scaling feature.
ScallEnable bool

Deprecated: Deprecated

SecurityGroups []string
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. Changing this parameter will create a new resource.
SubnetId string
The ID of the VPC Subnet to which the NIC belongs. Changing this parameter will create a new resource.
Tags map[string]string
Tags of a VM node, key/value pair format.
Taints []CceNodePoolV3TaintArgs
You can add taints to created nodes to configure anti-affinity. The object structure is documented below.
Timeouts CceNodePoolV3TimeoutsArgs
Type string
Node Pool type. Possible values are: "vm" and "ElasticBMS".
clusterId This property is required. String
ID of the cluster. Changing this parameter will create a new resource.
dataVolumes This property is required. List<CceNodePoolV3DataVolume>
Represents the data disk to be created. The object structure is documented below. Changing this parameter will create a new resource.
flavorId This property is required. String
Specifies the flavor id. Changing this parameter will create a new resource.
initialNodeCount This property is required. Double
Specifies the initial number of expected nodes in the node pool. This parameter can be also used to manually scale the node count afterwards.
rootVolume This property is required. CceNodePoolV3RootVolume
It corresponds to the system disk related configuration. The object structure is documented below. Changing this parameter will create a new resource.
availabilityZone String
specify the name of the available partition (AZ). Default value is random to create nodes in a random AZ in the node pool. Changing this parameter will create a new resource.
cceNodePoolV3Id String
Specifies a resource ID in UUID format.
ecsGroupId String
Specifies the ECS group ID. If specified, the node will be created under the cloud server group. Changing this parameter will create a new resource.
extendParam Map<String,String>
keyPair 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.
labels Map<String,String>
Tags of a Kubernetes node, key/value pair format.
maxNodeCount Double
Maximum number of nodes allowed if auto scaling is enabled.
maxPods Double
The maximum number of instances a node is allowed to create. Changing this parameter will create a new resource.
minNodeCount Double
Minimum number of nodes allowed if auto scaling is enabled.
name String
Node Pool Name.
os String
Operating System of the node. The value can be EulerOS 2.5 and CentOS 7.6. Changing this parameter will create a new resource.
password String
root password when logging in to select the password mode. This parameter must be salted and alternative to key_pair. Changing this parameter will create a new resource.
postinstall String
Script required after the 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.
region String
Specifies the region in which to create the CCE node pool resource. If omitted, the provider-level region will be used. Changing this will create a new CCE node pool resource.
runtime String
Specifies the runtime of the CCE node pool. Valid values are docker and containerd. Changing this creates a new resource.
scaleDownCooldownTime Double
Interval between two scaling operations, in minutes.
scaleEnable Boolean
Whether to enable auto scaling. If Autoscaler is enabled, install the autoscaler add-on to use the auto scaling feature.
scallEnable Boolean

Deprecated: Deprecated

securityGroups List<String>
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. Changing this parameter will create a new resource.
subnetId String
The ID of the VPC Subnet to which the NIC belongs. Changing this parameter will create a new resource.
tags Map<String,String>
Tags of a VM node, key/value pair format.
taints List<CceNodePoolV3Taint>
You can add taints to created nodes to configure anti-affinity. The object structure is documented below.
timeouts CceNodePoolV3Timeouts
type String
Node Pool type. Possible values are: "vm" and "ElasticBMS".
clusterId This property is required. string
ID of the cluster. Changing this parameter will create a new resource.
dataVolumes This property is required. CceNodePoolV3DataVolume[]
Represents the data disk to be created. The object structure is documented below. Changing this parameter will create a new resource.
flavorId This property is required. string
Specifies the flavor id. Changing this parameter will create a new resource.
initialNodeCount This property is required. number
Specifies the initial number of expected nodes in the node pool. This parameter can be also used to manually scale the node count afterwards.
rootVolume This property is required. CceNodePoolV3RootVolume
It corresponds to the system disk related configuration. The object structure is documented below. Changing this parameter will create a new resource.
availabilityZone string
specify the name of the available partition (AZ). Default value is random to create nodes in a random AZ in the node pool. Changing this parameter will create a new resource.
cceNodePoolV3Id string
Specifies a resource ID in UUID format.
ecsGroupId string
Specifies the ECS group ID. If specified, the node will be created under the cloud server group. Changing this parameter will create a new resource.
extendParam {[key: string]: string}
keyPair 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.
labels {[key: string]: string}
Tags of a Kubernetes node, key/value pair format.
maxNodeCount number
Maximum number of nodes allowed if auto scaling is enabled.
maxPods number
The maximum number of instances a node is allowed to create. Changing this parameter will create a new resource.
minNodeCount number
Minimum number of nodes allowed if auto scaling is enabled.
name string
Node Pool Name.
os string
Operating System of the node. The value can be EulerOS 2.5 and CentOS 7.6. Changing this parameter will create a new resource.
password string
root password when logging in to select the password mode. This parameter must be salted and alternative to key_pair. Changing this parameter will create a new resource.
postinstall string
Script required after the 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.
region string
Specifies the region in which to create the CCE node pool resource. If omitted, the provider-level region will be used. Changing this will create a new CCE node pool resource.
runtime string
Specifies the runtime of the CCE node pool. Valid values are docker and containerd. Changing this creates a new resource.
scaleDownCooldownTime number
Interval between two scaling operations, in minutes.
scaleEnable boolean
Whether to enable auto scaling. If Autoscaler is enabled, install the autoscaler add-on to use the auto scaling feature.
scallEnable boolean

Deprecated: Deprecated

securityGroups string[]
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. Changing this parameter will create a new resource.
subnetId string
The ID of the VPC Subnet to which the NIC belongs. Changing this parameter will create a new resource.
tags {[key: string]: string}
Tags of a VM node, key/value pair format.
taints CceNodePoolV3Taint[]
You can add taints to created nodes to configure anti-affinity. The object structure is documented below.
timeouts CceNodePoolV3Timeouts
type string
Node Pool type. Possible values are: "vm" and "ElasticBMS".
cluster_id This property is required. str
ID of the cluster. Changing this parameter will create a new resource.
data_volumes This property is required. Sequence[CceNodePoolV3DataVolumeArgs]
Represents the data disk to be created. The object structure is documented below. Changing this parameter will create a new resource.
flavor_id This property is required. str
Specifies the flavor id. Changing this parameter will create a new resource.
initial_node_count This property is required. float
Specifies the initial number of expected nodes in the node pool. This parameter can be also used to manually scale the node count afterwards.
root_volume This property is required. CceNodePoolV3RootVolumeArgs
It corresponds to the system disk related configuration. The object structure is documented below. Changing this parameter will create a new resource.
availability_zone str
specify the name of the available partition (AZ). Default value is random to create nodes in a random AZ in the node pool. Changing this parameter will create a new resource.
cce_node_pool_v3_id str
Specifies a resource ID in UUID format.
ecs_group_id str
Specifies the ECS group ID. If specified, the node will be created under the cloud server group. Changing this parameter will create a new resource.
extend_param Mapping[str, str]
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.
labels Mapping[str, str]
Tags of a Kubernetes node, key/value pair format.
max_node_count float
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 resource.
min_node_count float
Minimum number of nodes allowed if auto scaling is enabled.
name str
Node Pool Name.
os str
Operating System of the node. The value can be EulerOS 2.5 and CentOS 7.6. Changing this parameter will create a new resource.
password str
root password when logging in to select the password mode. This parameter must be salted and alternative to key_pair. Changing this parameter will create a new resource.
postinstall str
Script required after the 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.
region str
Specifies the region in which to create the CCE node pool resource. If omitted, the provider-level region will be used. Changing this will create a new CCE node pool resource.
runtime str
Specifies the runtime of the CCE node pool. Valid values are docker and containerd. Changing this creates a new resource.
scale_down_cooldown_time float
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.
scall_enable bool

Deprecated: Deprecated

security_groups Sequence[str]
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. Changing this parameter will create a new resource.
subnet_id str
The ID of the VPC Subnet to which the NIC belongs. Changing this parameter will create a new resource.
tags Mapping[str, str]
Tags of a VM node, key/value pair format.
taints Sequence[CceNodePoolV3TaintArgs]
You can add taints to created nodes to configure anti-affinity. The object structure is documented below.
timeouts CceNodePoolV3TimeoutsArgs
type str
Node Pool type. Possible values are: "vm" and "ElasticBMS".
clusterId This property is required. String
ID of the cluster. Changing this parameter will create a new resource.
dataVolumes This property is required. List<Property Map>
Represents the data disk to be created. The object structure is documented below. Changing this parameter will create a new resource.
flavorId This property is required. String
Specifies the flavor id. Changing this parameter will create a new resource.
initialNodeCount This property is required. Number
Specifies the initial number of expected nodes in the node pool. This parameter can be also used to manually scale the node count afterwards.
rootVolume This property is required. Property Map
It corresponds to the system disk related configuration. The object structure is documented below. Changing this parameter will create a new resource.
availabilityZone String
specify the name of the available partition (AZ). Default value is random to create nodes in a random AZ in the node pool. Changing this parameter will create a new resource.
cceNodePoolV3Id String
Specifies a resource ID in UUID format.
ecsGroupId String
Specifies the ECS group ID. If specified, the node will be created under the cloud server group. Changing this parameter will create a new resource.
extendParam Map<String>
keyPair 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.
labels Map<String>
Tags of a Kubernetes node, key/value pair format.
maxNodeCount Number
Maximum number of nodes allowed if auto scaling is enabled.
maxPods Number
The maximum number of instances a node is allowed to create. Changing this parameter will create a new resource.
minNodeCount Number
Minimum number of nodes allowed if auto scaling is enabled.
name String
Node Pool Name.
os String
Operating System of the node. The value can be EulerOS 2.5 and CentOS 7.6. Changing this parameter will create a new resource.
password String
root password when logging in to select the password mode. This parameter must be salted and alternative to key_pair. Changing this parameter will create a new resource.
postinstall String
Script required after the 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.
region String
Specifies the region in which to create the CCE node pool resource. If omitted, the provider-level region will be used. Changing this will create a new CCE node pool resource.
runtime String
Specifies the runtime of the CCE node pool. Valid values are docker and containerd. Changing this creates a new resource.
scaleDownCooldownTime Number
Interval between two scaling operations, in minutes.
scaleEnable Boolean
Whether to enable auto scaling. If Autoscaler is enabled, install the autoscaler add-on to use the auto scaling feature.
scallEnable Boolean

Deprecated: Deprecated

securityGroups List<String>
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. Changing this parameter will create a new resource.
subnetId String
The ID of the VPC Subnet to which the NIC belongs. Changing this parameter will create a new resource.
tags Map<String>
Tags of a VM node, key/value pair format.
taints List<Property Map>
You can add taints to created nodes to configure anti-affinity. The object structure is documented below.
timeouts Property Map
type String
Node Pool type. Possible values are: "vm" and "ElasticBMS".

Outputs

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

BillingMode double
Billing mode of a node.
CurrentNodeCount double
The current number of the nodes.
Id string
The provider-assigned unique ID for this managed resource.
Status string
Node status information.
BillingMode float64
Billing mode of a node.
CurrentNodeCount float64
The current number of the nodes.
Id string
The provider-assigned unique ID for this managed resource.
Status string
Node status information.
billingMode Double
Billing mode of a node.
currentNodeCount Double
The current number of the nodes.
id String
The provider-assigned unique ID for this managed resource.
status String
Node status information.
billingMode number
Billing mode of a node.
currentNodeCount number
The current number of the nodes.
id string
The provider-assigned unique ID for this managed resource.
status string
Node status information.
billing_mode float
Billing mode of a node.
current_node_count float
The current number of the nodes.
id str
The provider-assigned unique ID for this managed resource.
status str
Node status information.
billingMode Number
Billing mode of a node.
currentNodeCount Number
The current number of the nodes.
id String
The provider-assigned unique ID for this managed resource.
status String
Node status information.

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,
        availability_zone: Optional[str] = None,
        billing_mode: Optional[float] = None,
        cce_node_pool_v3_id: Optional[str] = None,
        cluster_id: Optional[str] = None,
        current_node_count: Optional[float] = None,
        data_volumes: Optional[Sequence[CceNodePoolV3DataVolumeArgs]] = None,
        ecs_group_id: Optional[str] = None,
        extend_param: Optional[Mapping[str, str]] = None,
        flavor_id: Optional[str] = None,
        initial_node_count: Optional[float] = None,
        key_pair: Optional[str] = None,
        labels: Optional[Mapping[str, 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,
        region: Optional[str] = None,
        root_volume: Optional[CceNodePoolV3RootVolumeArgs] = None,
        runtime: Optional[str] = None,
        scale_down_cooldown_time: Optional[float] = None,
        scale_enable: Optional[bool] = None,
        scall_enable: Optional[bool] = None,
        security_groups: Optional[Sequence[str]] = None,
        status: Optional[str] = None,
        subnet_id: Optional[str] = None,
        tags: Optional[Mapping[str, str]] = None,
        taints: Optional[Sequence[CceNodePoolV3TaintArgs]] = None,
        timeouts: Optional[CceNodePoolV3TimeoutsArgs] = None,
        type: Optional[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: flexibleengine:CceNodePoolV3    get:      id: ${id}
name This property is required.
The unique name of the resulting resource.
id This property is required.
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 This property is required.
The unique name of the resulting resource.
id This property is required.
The unique provider ID of the resource to lookup.
name This property is required.
The unique name of the resulting resource.
id This property is required.
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 This property is required.
The unique name of the resulting resource.
id This property is required.
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 This property is required.
The unique name of the resulting resource.
id This property is required.
The unique provider ID of the resource to lookup.
state
Any extra arguments used during the lookup.
opts
A bag of options that control this resource's behavior.
The following state arguments are supported:
AvailabilityZone string
specify the name of the available partition (AZ). Default value is random to create nodes in a random AZ in the node pool. Changing this parameter will create a new resource.
BillingMode double
Billing mode of a node.
CceNodePoolV3Id string
Specifies a resource ID in UUID format.
ClusterId string
ID of the cluster. Changing this parameter will create a new resource.
CurrentNodeCount double
The current number of the nodes.
DataVolumes List<CceNodePoolV3DataVolume>
Represents the data disk to be created. The object structure is documented below. Changing this parameter will create a new resource.
EcsGroupId string
Specifies the ECS group ID. If specified, the node will be created under the cloud server group. Changing this parameter will create a new resource.
ExtendParam Dictionary<string, string>
FlavorId string
Specifies the flavor id. Changing this parameter will create a new resource.
InitialNodeCount double
Specifies the initial number of expected nodes in the node pool. This parameter can be also used to manually scale the node count afterwards.
KeyPair 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.
Labels Dictionary<string, string>
Tags of a Kubernetes node, key/value pair format.
MaxNodeCount double
Maximum number of nodes allowed if auto scaling is enabled.
MaxPods double
The maximum number of instances a node is allowed to create. Changing this parameter will create a new resource.
MinNodeCount double
Minimum number of nodes allowed if auto scaling is enabled.
Name string
Node Pool Name.
Os string
Operating System of the node. The value can be EulerOS 2.5 and CentOS 7.6. Changing this parameter will create a new resource.
Password string
root password when logging in to select the password mode. This parameter must be salted and alternative to key_pair. Changing this parameter will create a new resource.
Postinstall string
Script required after the 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.
Region string
Specifies the region in which to create the CCE node pool resource. If omitted, the provider-level region will be used. Changing this will create a new CCE node pool resource.
RootVolume CceNodePoolV3RootVolume
It corresponds to the system disk related configuration. The object structure is documented below. Changing this parameter will create a new resource.
Runtime string
Specifies the runtime of the CCE node pool. Valid values are docker and containerd. Changing this creates a new resource.
ScaleDownCooldownTime double
Interval between two scaling operations, in minutes.
ScaleEnable bool
Whether to enable auto scaling. If Autoscaler is enabled, install the autoscaler add-on to use the auto scaling feature.
ScallEnable bool

Deprecated: Deprecated

SecurityGroups List<string>
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. Changing this parameter will create a new resource.
Status string
Node status information.
SubnetId string
The ID of the VPC Subnet to which the NIC belongs. Changing this parameter will create a new resource.
Tags Dictionary<string, string>
Tags of a VM node, key/value pair format.
Taints List<CceNodePoolV3Taint>
You can add taints to created nodes to configure anti-affinity. The object structure is documented below.
Timeouts CceNodePoolV3Timeouts
Type string
Node Pool type. Possible values are: "vm" and "ElasticBMS".
AvailabilityZone string
specify the name of the available partition (AZ). Default value is random to create nodes in a random AZ in the node pool. Changing this parameter will create a new resource.
BillingMode float64
Billing mode of a node.
CceNodePoolV3Id string
Specifies a resource ID in UUID format.
ClusterId string
ID of the cluster. Changing this parameter will create a new resource.
CurrentNodeCount float64
The current number of the nodes.
DataVolumes []CceNodePoolV3DataVolumeArgs
Represents the data disk to be created. The object structure is documented below. Changing this parameter will create a new resource.
EcsGroupId string
Specifies the ECS group ID. If specified, the node will be created under the cloud server group. Changing this parameter will create a new resource.
ExtendParam map[string]string
FlavorId string
Specifies the flavor id. Changing this parameter will create a new resource.
InitialNodeCount float64
Specifies the initial number of expected nodes in the node pool. This parameter can be also used to manually scale the node count afterwards.
KeyPair 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.
Labels map[string]string
Tags of a Kubernetes node, key/value pair format.
MaxNodeCount float64
Maximum number of nodes allowed if auto scaling is enabled.
MaxPods float64
The maximum number of instances a node is allowed to create. Changing this parameter will create a new resource.
MinNodeCount float64
Minimum number of nodes allowed if auto scaling is enabled.
Name string
Node Pool Name.
Os string
Operating System of the node. The value can be EulerOS 2.5 and CentOS 7.6. Changing this parameter will create a new resource.
Password string
root password when logging in to select the password mode. This parameter must be salted and alternative to key_pair. Changing this parameter will create a new resource.
Postinstall string
Script required after the 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.
Region string
Specifies the region in which to create the CCE node pool resource. If omitted, the provider-level region will be used. Changing this will create a new CCE node pool resource.
RootVolume CceNodePoolV3RootVolumeArgs
It corresponds to the system disk related configuration. The object structure is documented below. Changing this parameter will create a new resource.
Runtime string
Specifies the runtime of the CCE node pool. Valid values are docker and containerd. Changing this creates a new resource.
ScaleDownCooldownTime float64
Interval between two scaling operations, in minutes.
ScaleEnable bool
Whether to enable auto scaling. If Autoscaler is enabled, install the autoscaler add-on to use the auto scaling feature.
ScallEnable bool

Deprecated: Deprecated

SecurityGroups []string
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. Changing this parameter will create a new resource.
Status string
Node status information.
SubnetId string
The ID of the VPC Subnet to which the NIC belongs. Changing this parameter will create a new resource.
Tags map[string]string
Tags of a VM node, key/value pair format.
Taints []CceNodePoolV3TaintArgs
You can add taints to created nodes to configure anti-affinity. The object structure is documented below.
Timeouts CceNodePoolV3TimeoutsArgs
Type string
Node Pool type. Possible values are: "vm" and "ElasticBMS".
availabilityZone String
specify the name of the available partition (AZ). Default value is random to create nodes in a random AZ in the node pool. Changing this parameter will create a new resource.
billingMode Double
Billing mode of a node.
cceNodePoolV3Id String
Specifies a resource ID in UUID format.
clusterId String
ID of the cluster. Changing this parameter will create a new resource.
currentNodeCount Double
The current number of the nodes.
dataVolumes List<CceNodePoolV3DataVolume>
Represents the data disk to be created. The object structure is documented below. Changing this parameter will create a new resource.
ecsGroupId String
Specifies the ECS group ID. If specified, the node will be created under the cloud server group. Changing this parameter will create a new resource.
extendParam Map<String,String>
flavorId String
Specifies the flavor id. Changing this parameter will create a new resource.
initialNodeCount Double
Specifies the initial number of expected nodes in the node pool. This parameter can be also used to manually scale the node count afterwards.
keyPair 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.
labels Map<String,String>
Tags of a Kubernetes node, key/value pair format.
maxNodeCount Double
Maximum number of nodes allowed if auto scaling is enabled.
maxPods Double
The maximum number of instances a node is allowed to create. Changing this parameter will create a new resource.
minNodeCount Double
Minimum number of nodes allowed if auto scaling is enabled.
name String
Node Pool Name.
os String
Operating System of the node. The value can be EulerOS 2.5 and CentOS 7.6. Changing this parameter will create a new resource.
password String
root password when logging in to select the password mode. This parameter must be salted and alternative to key_pair. Changing this parameter will create a new resource.
postinstall String
Script required after the 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.
region String
Specifies the region in which to create the CCE node pool resource. If omitted, the provider-level region will be used. Changing this will create a new CCE node pool resource.
rootVolume CceNodePoolV3RootVolume
It corresponds to the system disk related configuration. The object structure is documented below. Changing this parameter will create a new resource.
runtime String
Specifies the runtime of the CCE node pool. Valid values are docker and containerd. Changing this creates a new resource.
scaleDownCooldownTime Double
Interval between two scaling operations, in minutes.
scaleEnable Boolean
Whether to enable auto scaling. If Autoscaler is enabled, install the autoscaler add-on to use the auto scaling feature.
scallEnable Boolean

Deprecated: Deprecated

securityGroups List<String>
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. Changing this parameter will create a new resource.
status String
Node status information.
subnetId String
The ID of the VPC Subnet to which the NIC belongs. Changing this parameter will create a new resource.
tags Map<String,String>
Tags of a VM node, key/value pair format.
taints List<CceNodePoolV3Taint>
You can add taints to created nodes to configure anti-affinity. The object structure is documented below.
timeouts CceNodePoolV3Timeouts
type String
Node Pool type. Possible values are: "vm" and "ElasticBMS".
availabilityZone string
specify the name of the available partition (AZ). Default value is random to create nodes in a random AZ in the node pool. Changing this parameter will create a new resource.
billingMode number
Billing mode of a node.
cceNodePoolV3Id string
Specifies a resource ID in UUID format.
clusterId string
ID of the cluster. Changing this parameter will create a new resource.
currentNodeCount number
The current number of the nodes.
dataVolumes CceNodePoolV3DataVolume[]
Represents the data disk to be created. The object structure is documented below. Changing this parameter will create a new resource.
ecsGroupId string
Specifies the ECS group ID. If specified, the node will be created under the cloud server group. Changing this parameter will create a new resource.
extendParam {[key: string]: string}
flavorId string
Specifies the flavor id. Changing this parameter will create a new resource.
initialNodeCount number
Specifies the initial number of expected nodes in the node pool. This parameter can be also used to manually scale the node count afterwards.
keyPair 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.
labels {[key: string]: string}
Tags of a Kubernetes node, key/value pair format.
maxNodeCount number
Maximum number of nodes allowed if auto scaling is enabled.
maxPods number
The maximum number of instances a node is allowed to create. Changing this parameter will create a new resource.
minNodeCount number
Minimum number of nodes allowed if auto scaling is enabled.
name string
Node Pool Name.
os string
Operating System of the node. The value can be EulerOS 2.5 and CentOS 7.6. Changing this parameter will create a new resource.
password string
root password when logging in to select the password mode. This parameter must be salted and alternative to key_pair. Changing this parameter will create a new resource.
postinstall string
Script required after the 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.
region string
Specifies the region in which to create the CCE node pool resource. If omitted, the provider-level region will be used. Changing this will create a new CCE node pool resource.
rootVolume CceNodePoolV3RootVolume
It corresponds to the system disk related configuration. The object structure is documented below. Changing this parameter will create a new resource.
runtime string
Specifies the runtime of the CCE node pool. Valid values are docker and containerd. Changing this creates a new resource.
scaleDownCooldownTime number
Interval between two scaling operations, in minutes.
scaleEnable boolean
Whether to enable auto scaling. If Autoscaler is enabled, install the autoscaler add-on to use the auto scaling feature.
scallEnable boolean

Deprecated: Deprecated

securityGroups string[]
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. Changing this parameter will create a new resource.
status string
Node status information.
subnetId string
The ID of the VPC Subnet to which the NIC belongs. Changing this parameter will create a new resource.
tags {[key: string]: string}
Tags of a VM node, key/value pair format.
taints CceNodePoolV3Taint[]
You can add taints to created nodes to configure anti-affinity. The object structure is documented below.
timeouts CceNodePoolV3Timeouts
type string
Node Pool type. Possible values are: "vm" and "ElasticBMS".
availability_zone str
specify the name of the available partition (AZ). Default value is random to create nodes in a random AZ in the node pool. Changing this parameter will create a new resource.
billing_mode float
Billing mode of a node.
cce_node_pool_v3_id str
Specifies a resource ID in UUID format.
cluster_id str
ID of the cluster. Changing this parameter will create a new resource.
current_node_count float
The current number of the nodes.
data_volumes Sequence[CceNodePoolV3DataVolumeArgs]
Represents the data disk to be created. The object structure is documented below. Changing this parameter will create a new resource.
ecs_group_id str
Specifies the ECS group ID. If specified, the node will be created under the cloud server group. Changing this parameter will create a new resource.
extend_param Mapping[str, str]
flavor_id str
Specifies the flavor id. Changing this parameter will create a new resource.
initial_node_count float
Specifies the initial number of expected nodes in the node pool. This parameter can be also used to manually scale the node count afterwards.
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.
labels Mapping[str, str]
Tags of a Kubernetes node, key/value pair format.
max_node_count float
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 resource.
min_node_count float
Minimum number of nodes allowed if auto scaling is enabled.
name str
Node Pool Name.
os str
Operating System of the node. The value can be EulerOS 2.5 and CentOS 7.6. Changing this parameter will create a new resource.
password str
root password when logging in to select the password mode. This parameter must be salted and alternative to key_pair. Changing this parameter will create a new resource.
postinstall str
Script required after the 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.
region str
Specifies the region in which to create the CCE node pool resource. If omitted, the provider-level region will be used. Changing this will create a new CCE node pool resource.
root_volume CceNodePoolV3RootVolumeArgs
It corresponds to the system disk related configuration. The object structure is documented below. Changing this parameter will create a new resource.
runtime str
Specifies the runtime of the CCE node pool. Valid values are docker and containerd. Changing this creates a new resource.
scale_down_cooldown_time float
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.
scall_enable bool

Deprecated: Deprecated

security_groups Sequence[str]
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. Changing this parameter will create a new resource.
status str
Node status information.
subnet_id str
The ID of the VPC Subnet to which the NIC belongs. Changing this parameter will create a new resource.
tags Mapping[str, str]
Tags of a VM node, key/value pair format.
taints Sequence[CceNodePoolV3TaintArgs]
You can add taints to created nodes to configure anti-affinity. The object structure is documented below.
timeouts CceNodePoolV3TimeoutsArgs
type str
Node Pool type. Possible values are: "vm" and "ElasticBMS".
availabilityZone String
specify the name of the available partition (AZ). Default value is random to create nodes in a random AZ in the node pool. Changing this parameter will create a new resource.
billingMode Number
Billing mode of a node.
cceNodePoolV3Id String
Specifies a resource ID in UUID format.
clusterId String
ID of the cluster. Changing this parameter will create a new resource.
currentNodeCount Number
The current number of the nodes.
dataVolumes List<Property Map>
Represents the data disk to be created. The object structure is documented below. Changing this parameter will create a new resource.
ecsGroupId String
Specifies the ECS group ID. If specified, the node will be created under the cloud server group. Changing this parameter will create a new resource.
extendParam Map<String>
flavorId String
Specifies the flavor id. Changing this parameter will create a new resource.
initialNodeCount Number
Specifies the initial number of expected nodes in the node pool. This parameter can be also used to manually scale the node count afterwards.
keyPair 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.
labels Map<String>
Tags of a Kubernetes node, key/value pair format.
maxNodeCount Number
Maximum number of nodes allowed if auto scaling is enabled.
maxPods Number
The maximum number of instances a node is allowed to create. Changing this parameter will create a new resource.
minNodeCount Number
Minimum number of nodes allowed if auto scaling is enabled.
name String
Node Pool Name.
os String
Operating System of the node. The value can be EulerOS 2.5 and CentOS 7.6. Changing this parameter will create a new resource.
password String
root password when logging in to select the password mode. This parameter must be salted and alternative to key_pair. Changing this parameter will create a new resource.
postinstall String
Script required after the 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.
region String
Specifies the region in which to create the CCE node pool resource. If omitted, the provider-level region will be used. Changing this will create a new CCE node pool resource.
rootVolume Property Map
It corresponds to the system disk related configuration. The object structure is documented below. Changing this parameter will create a new resource.
runtime String
Specifies the runtime of the CCE node pool. Valid values are docker and containerd. Changing this creates a new resource.
scaleDownCooldownTime Number
Interval between two scaling operations, in minutes.
scaleEnable Boolean
Whether to enable auto scaling. If Autoscaler is enabled, install the autoscaler add-on to use the auto scaling feature.
scallEnable Boolean

Deprecated: Deprecated

securityGroups List<String>
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. Changing this parameter will create a new resource.
status String
Node status information.
subnetId String
The ID of the VPC Subnet to which the NIC belongs. Changing this parameter will create a new resource.
tags Map<String>
Tags of a VM node, key/value pair format.
taints List<Property Map>
You can add taints to created nodes to configure anti-affinity. The object structure is documented below.
timeouts Property Map
type String
Node Pool type. Possible values are: "vm" and "ElasticBMS".

Supporting Types

CceNodePoolV3DataVolume
, CceNodePoolV3DataVolumeArgs

Size This property is required. double
Specifies the disk size in GB. Changing this will create a new CCE node pool resource.
Volumetype This property is required. string
Specifies the disk type. Changing this will create a new CCE node pool resource.
ExtendParams Dictionary<string, string>
Specifies the disk expansion parameters in key/value pair format. Changing this will create a new CCE node pool resource.
KmsKeyId string

Specifies the KMS key ID. This is used to encrypt the volume. Changing this will create a new CCE node pool resource.

You need to create an agency (EVSAccessKMS) when disk encryption is used in the current project for the first time ever. The account and permission of the created agency are op_svc_evs and KMS Administrator, respectively.

Size This property is required. float64
Specifies the disk size in GB. Changing this will create a new CCE node pool resource.
Volumetype This property is required. string
Specifies the disk type. Changing this will create a new CCE node pool resource.
ExtendParams map[string]string
Specifies the disk expansion parameters in key/value pair format. Changing this will create a new CCE node pool resource.
KmsKeyId string

Specifies the KMS key ID. This is used to encrypt the volume. Changing this will create a new CCE node pool resource.

You need to create an agency (EVSAccessKMS) when disk encryption is used in the current project for the first time ever. The account and permission of the created agency are op_svc_evs and KMS Administrator, respectively.

size This property is required. Double
Specifies the disk size in GB. Changing this will create a new CCE node pool resource.
volumetype This property is required. String
Specifies the disk type. Changing this will create a new CCE node pool resource.
extendParams Map<String,String>
Specifies the disk expansion parameters in key/value pair format. Changing this will create a new CCE node pool resource.
kmsKeyId String

Specifies the KMS key ID. This is used to encrypt the volume. Changing this will create a new CCE node pool resource.

You need to create an agency (EVSAccessKMS) when disk encryption is used in the current project for the first time ever. The account and permission of the created agency are op_svc_evs and KMS Administrator, respectively.

size This property is required. number
Specifies the disk size in GB. Changing this will create a new CCE node pool resource.
volumetype This property is required. string
Specifies the disk type. Changing this will create a new CCE node pool resource.
extendParams {[key: string]: string}
Specifies the disk expansion parameters in key/value pair format. Changing this will create a new CCE node pool resource.
kmsKeyId string

Specifies the KMS key ID. This is used to encrypt the volume. Changing this will create a new CCE node pool resource.

You need to create an agency (EVSAccessKMS) when disk encryption is used in the current project for the first time ever. The account and permission of the created agency are op_svc_evs and KMS Administrator, respectively.

size This property is required. float
Specifies the disk size in GB. Changing this will create a new CCE node pool resource.
volumetype This property is required. str
Specifies the disk type. Changing this will create a new CCE node pool resource.
extend_params Mapping[str, str]
Specifies the disk expansion parameters in key/value pair format. Changing this will create a new CCE node pool resource.
kms_key_id str

Specifies the KMS key ID. This is used to encrypt the volume. Changing this will create a new CCE node pool resource.

You need to create an agency (EVSAccessKMS) when disk encryption is used in the current project for the first time ever. The account and permission of the created agency are op_svc_evs and KMS Administrator, respectively.

size This property is required. Number
Specifies the disk size in GB. Changing this will create a new CCE node pool resource.
volumetype This property is required. String
Specifies the disk type. Changing this will create a new CCE node pool resource.
extendParams Map<String>
Specifies the disk expansion parameters in key/value pair format. Changing this will create a new CCE node pool resource.
kmsKeyId String

Specifies the KMS key ID. This is used to encrypt the volume. Changing this will create a new CCE node pool resource.

You need to create an agency (EVSAccessKMS) when disk encryption is used in the current project for the first time ever. The account and permission of the created agency are op_svc_evs and KMS Administrator, respectively.

CceNodePoolV3RootVolume
, CceNodePoolV3RootVolumeArgs

Size This property is required. double
Specifies the disk size in GB. Changing this will create a new CCE node pool resource.
Volumetype This property is required. string
Specifies the disk type. Changing this will create a new CCE node pool resource.
ExtendParams Dictionary<string, string>
Specifies the disk expansion parameters in key/value pair format. Changing this will create a new CCE node pool resource.
KmsKeyId string

Specifies the KMS key ID. This is used to encrypt the volume. Changing this will create a new CCE node pool resource.

You need to create an agency (EVSAccessKMS) when disk encryption is used in the current project for the first time ever. The account and permission of the created agency are op_svc_evs and KMS Administrator, respectively.

Size This property is required. float64
Specifies the disk size in GB. Changing this will create a new CCE node pool resource.
Volumetype This property is required. string
Specifies the disk type. Changing this will create a new CCE node pool resource.
ExtendParams map[string]string
Specifies the disk expansion parameters in key/value pair format. Changing this will create a new CCE node pool resource.
KmsKeyId string

Specifies the KMS key ID. This is used to encrypt the volume. Changing this will create a new CCE node pool resource.

You need to create an agency (EVSAccessKMS) when disk encryption is used in the current project for the first time ever. The account and permission of the created agency are op_svc_evs and KMS Administrator, respectively.

size This property is required. Double
Specifies the disk size in GB. Changing this will create a new CCE node pool resource.
volumetype This property is required. String
Specifies the disk type. Changing this will create a new CCE node pool resource.
extendParams Map<String,String>
Specifies the disk expansion parameters in key/value pair format. Changing this will create a new CCE node pool resource.
kmsKeyId String

Specifies the KMS key ID. This is used to encrypt the volume. Changing this will create a new CCE node pool resource.

You need to create an agency (EVSAccessKMS) when disk encryption is used in the current project for the first time ever. The account and permission of the created agency are op_svc_evs and KMS Administrator, respectively.

size This property is required. number
Specifies the disk size in GB. Changing this will create a new CCE node pool resource.
volumetype This property is required. string
Specifies the disk type. Changing this will create a new CCE node pool resource.
extendParams {[key: string]: string}
Specifies the disk expansion parameters in key/value pair format. Changing this will create a new CCE node pool resource.
kmsKeyId string

Specifies the KMS key ID. This is used to encrypt the volume. Changing this will create a new CCE node pool resource.

You need to create an agency (EVSAccessKMS) when disk encryption is used in the current project for the first time ever. The account and permission of the created agency are op_svc_evs and KMS Administrator, respectively.

size This property is required. float
Specifies the disk size in GB. Changing this will create a new CCE node pool resource.
volumetype This property is required. str
Specifies the disk type. Changing this will create a new CCE node pool resource.
extend_params Mapping[str, str]
Specifies the disk expansion parameters in key/value pair format. Changing this will create a new CCE node pool resource.
kms_key_id str

Specifies the KMS key ID. This is used to encrypt the volume. Changing this will create a new CCE node pool resource.

You need to create an agency (EVSAccessKMS) when disk encryption is used in the current project for the first time ever. The account and permission of the created agency are op_svc_evs and KMS Administrator, respectively.

size This property is required. Number
Specifies the disk size in GB. Changing this will create a new CCE node pool resource.
volumetype This property is required. String
Specifies the disk type. Changing this will create a new CCE node pool resource.
extendParams Map<String>
Specifies the disk expansion parameters in key/value pair format. Changing this will create a new CCE node pool resource.
kmsKeyId String

Specifies the KMS key ID. This is used to encrypt the volume. Changing this will create a new CCE node pool resource.

You need to create an agency (EVSAccessKMS) when disk encryption is used in the current project for the first time ever. The account and permission of the created agency are op_svc_evs and KMS Administrator, respectively.

CceNodePoolV3Taint
, CceNodePoolV3TaintArgs

Effect This property is required. string
Available options are NoSchedule, PreferNoSchedule and NoExecute.
Key This property is required. 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 This property is required. 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 This property is required. string
Available options are NoSchedule, PreferNoSchedule and NoExecute.
Key This property is required. 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 This property is required. 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 This property is required. String
Available options are NoSchedule, PreferNoSchedule and NoExecute.
key This property is required. 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 This property is required. 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 This property is required. string
Available options are NoSchedule, PreferNoSchedule and NoExecute.
key This property is required. 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 This property is required. 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 This property is required. str
Available options are NoSchedule, PreferNoSchedule and NoExecute.
key This property is required. 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 This property is required. 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 This property is required. String
Available options are NoSchedule, PreferNoSchedule and NoExecute.
key This property is required. 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 This property is required. 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

Create string
Delete string
Create string
Delete string
create String
delete String
create string
delete string
create str
delete str
create String
delete String

Import

Node_pool can be imported using the cluster ID and node_pool ID, e.g.

$ pulumi import flexibleengine:index/cceNodePoolV3:CceNodePoolV3 node_pool_1 <cluster_id>/<id>
Copy

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

Package Details

Repository
flexibleengine flexibleenginecloud/terraform-provider-flexibleengine
License
Notes
This Pulumi package is based on the flexibleengine Terraform Provider.