published on Thursday, Oct 15, 2026 by Volcengine
published on Thursday, Oct 15, 2026 by Volcengine
A node pool is a group of nodes in a cluster with the same configuration. A node pool can contain one or more nodes. The node pool configuration includes node attributes such as node specifications, availability zones, labels, taints, and more. These attributes can be specified when creating the node pool or edited after creation.
Example Usage
import * as pulumi from "@pulumi/pulumi";
import * as volcenginecc from "@volcengine/pulumi-volcenginecc";
const vKENodePoolDemo = new volcenginecc.vke.NodePool("VKENodePoolDemo", {
autoScaling: {
max_replicas: 10,
min_replicas: 0,
enabled: true,
desired_replicas: 0,
priority: 10,
subnet_policy: "ZoneBalance",
},
clusterId: "cd6gojxxxxxxxxxxx",
kubernetesConfig: {
auto_sync_disabled: false,
containerd_config: {
insecureRegistries: ["example.com"],
registryProxyConfigs: [{
proxyEndpoints: ["https://example.com:8080"],
registry: "example.com:8080",
}],
},
cordon: false,
kubelet_config: {
cpuManagerPolicy: "none",
evictionHard: [{
key: "memory.available",
value: "15%",
}],
kubeApiBurst: 10,
kubeApiQps: 5,
kubeReserved: [{
name: "memory",
quantity: "200m",
}],
maxPods: 110,
registryBurst: 10,
registryPullQps: 5,
serializeImagePulls: true,
systemReserved: [{
name: "memory",
quantity: "200m",
}],
topologyManagerPolicy: "none",
topologyManagerScope: "container",
},
labels: [{
key: "label-key",
value: "label-value",
}],
name_prefix: "name-prefix",
name_suffix: "name-suffix",
name_use_hostname: false,
taints: [{
key: "taint-key",
value: "taint-value",
effect: "NoSchedule",
}],
},
management: {
enabled: true,
remedy_config: {
enabled: true,
remedyId: "R20260227xxxxxxxxxxx",
},
},
name: "test",
nodeConfig: {
instance_charge_type: "PostPaid",
spot_strategy: "SpotAsPriceGo",
instances_distribution: {
capacityRebalance: true,
compensateWithOnDemand: true,
onDemandBaseCapacity: 0,
onDemandPercentageAboveBaseCapacity: 0,
},
security: {
securityGroupIds: ["sg-1a14cxqxxxxxxxxxx"],
securityStrategies: ["Hids"],
login: {
sshKeyPairName: "MigrationKey-job-yecd7xxxxxxxxxx",
},
},
data_volumes: [{
mountPoint: "/dev/vdb",
size: 100,
snapshotId: "snap-3wvah8xxxxxxxxxx",
type: "ESSD_PL0",
}],
system_volume: {
size: 40,
type: "ESSD_PL0",
},
additional_container_storage_enabled: true,
deployment_set_group_number: 0,
deployment_set_id: "dps-yedy0wxxxxxxxxxx",
hostname: "node-host",
image_id: "image-ybqi99xxxxxxxxxxx",
initialize_script: "YmFzaCxxxxx9maxxxxx",
instance_name: "node",
instance_type_ids: ["ecs.g4il.large"],
name_prefix: "name-prefix",
network_traffic_mode: "Standard",
project_name: "default",
public_access_config: {
billingType: 2,
isp: "BGP",
bandwidth: 5,
},
public_access_enabled: false,
subnet_ids: ["subnet-ijifxxxxxo8cuxxxxx"],
tags: [{
key: "key",
value: "value",
}],
},
tags: [{
key: "env",
value: "test",
}],
});
import pulumi
import pulumi_volcenginecc as volcenginecc
v_ke_node_pool_demo = volcenginecc.vke.NodePool("VKENodePoolDemo",
auto_scaling={
"max_replicas": 10,
"min_replicas": 0,
"enabled": True,
"desired_replicas": 0,
"priority": 10,
"subnet_policy": "ZoneBalance",
},
cluster_id="cd6gojxxxxxxxxxxx",
kubernetes_config={
"auto_sync_disabled": False,
"containerd_config": {
"insecureRegistries": ["example.com"],
"registryProxyConfigs": [{
"proxyEndpoints": ["https://example.com:8080"],
"registry": "example.com:8080",
}],
},
"cordon": False,
"kubelet_config": {
"cpuManagerPolicy": "none",
"evictionHard": [{
"key": "memory.available",
"value": "15%",
}],
"kubeApiBurst": 10,
"kubeApiQps": 5,
"kubeReserved": [{
"name": "memory",
"quantity": "200m",
}],
"maxPods": 110,
"registryBurst": 10,
"registryPullQps": 5,
"serializeImagePulls": True,
"systemReserved": [{
"name": "memory",
"quantity": "200m",
}],
"topologyManagerPolicy": "none",
"topologyManagerScope": "container",
},
"labels": [{
"key": "label-key",
"value": "label-value",
}],
"name_prefix": "name-prefix",
"name_suffix": "name-suffix",
"name_use_hostname": False,
"taints": [{
"key": "taint-key",
"value": "taint-value",
"effect": "NoSchedule",
}],
},
management={
"enabled": True,
"remedy_config": {
"enabled": True,
"remedyId": "R20260227xxxxxxxxxxx",
},
},
name="test",
node_config={
"instance_charge_type": "PostPaid",
"spot_strategy": "SpotAsPriceGo",
"instances_distribution": {
"capacityRebalance": True,
"compensateWithOnDemand": True,
"onDemandBaseCapacity": 0,
"onDemandPercentageAboveBaseCapacity": 0,
},
"security": {
"security_group_ids": ["sg-1a14cxqxxxxxxxxxx"],
"security_strategies": ["Hids"],
"login": {
"ssh_key_pair_name": "MigrationKey-job-yecd7xxxxxxxxxx",
},
},
"data_volumes": [{
"mountPoint": "/dev/vdb",
"size": 100,
"snapshotId": "snap-3wvah8xxxxxxxxxx",
"type": "ESSD_PL0",
}],
"system_volume": {
"size": 40,
"type": "ESSD_PL0",
},
"additional_container_storage_enabled": True,
"deployment_set_group_number": 0,
"deployment_set_id": "dps-yedy0wxxxxxxxxxx",
"hostname": "node-host",
"image_id": "image-ybqi99xxxxxxxxxxx",
"initialize_script": "YmFzaCxxxxx9maxxxxx",
"instance_name": "node",
"instance_type_ids": ["ecs.g4il.large"],
"name_prefix": "name-prefix",
"network_traffic_mode": "Standard",
"project_name": "default",
"public_access_config": {
"billingType": 2,
"isp": "BGP",
"bandwidth": 5,
},
"public_access_enabled": False,
"subnet_ids": ["subnet-ijifxxxxxo8cuxxxxx"],
"tags": [{
"key": "key",
"value": "value",
}],
},
tags=[{
"key": "env",
"value": "test",
}])
package main
import (
"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
"github.com/volcengine/pulumi-volcenginecc/sdk/go/volcenginecc/vke"
)
func main() {
pulumi.Run(func(ctx *pulumi.Context) error {
_, err := vke.NewNodePool(ctx, "VKENodePoolDemo", &vke.NodePoolArgs{
AutoScaling: &vke.NodePoolAutoScalingArgs{
Max_replicas: 10,
Min_replicas: 0,
Enabled: pulumi.Bool(true),
Desired_replicas: 0,
Priority: pulumi.Int(10),
Subnet_policy: "ZoneBalance",
},
ClusterId: pulumi.String("cd6gojxxxxxxxxxxx"),
KubernetesConfig: &vke.NodePoolKubernetesConfigArgs{
Auto_sync_disabled: false,
Containerd_config: map[string]interface{}{
"insecureRegistries": []string{
"example.com",
},
"registryProxyConfigs": []map[string]interface{}{
map[string]interface{}{
"proxyEndpoints": []string{
"https://example.com:8080",
},
"registry": "example.com:8080",
},
},
},
Cordon: pulumi.Bool(false),
Kubelet_config: map[string]interface{}{
"cpuManagerPolicy": "none",
"evictionHard": []map[string]interface{}{
map[string]interface{}{
"key": "memory.available",
"value": "15%",
},
},
"kubeApiBurst": 10,
"kubeApiQps": 5,
"kubeReserved": []map[string]interface{}{
map[string]interface{}{
"name": "memory",
"quantity": "200m",
},
},
"maxPods": 110,
"registryBurst": 10,
"registryPullQps": 5,
"serializeImagePulls": true,
"systemReserved": []map[string]interface{}{
map[string]interface{}{
"name": "memory",
"quantity": "200m",
},
},
"topologyManagerPolicy": "none",
"topologyManagerScope": "container",
},
Labels: vke.NodePoolKubernetesConfigLabelArray{
&vke.NodePoolKubernetesConfigLabelArgs{
Key: pulumi.String("label-key"),
Value: pulumi.String("label-value"),
},
},
Name_prefix: "name-prefix",
Name_suffix: "name-suffix",
Name_use_hostname: false,
Taints: vke.NodePoolKubernetesConfigTaintArray{
&vke.NodePoolKubernetesConfigTaintArgs{
Key: pulumi.String("taint-key"),
Value: pulumi.String("taint-value"),
Effect: pulumi.String("NoSchedule"),
},
},
},
Management: &vke.NodePoolManagementArgs{
Enabled: pulumi.Bool(true),
Remedy_config: map[string]interface{}{
"enabled": true,
"remedyId": "R20260227xxxxxxxxxxx",
},
},
Name: pulumi.String("test"),
NodeConfig: &vke.NodePoolNodeConfigArgs{
Instance_charge_type: "PostPaid",
Spot_strategy: "SpotAsPriceGo",
Instances_distribution: map[string]interface{}{
"capacityRebalance": true,
"compensateWithOnDemand": true,
"onDemandBaseCapacity": 0,
"onDemandPercentageAboveBaseCapacity": 0,
},
Security: &vke.NodePoolNodeConfigSecurityArgs{
SecurityGroupIds: pulumi.StringArray{
pulumi.String("sg-1a14cxqxxxxxxxxxx"),
},
SecurityStrategies: pulumi.StringArray{
pulumi.String("Hids"),
},
Login: &vke.NodePoolNodeConfigSecurityLoginArgs{
SshKeyPairName: pulumi.String("MigrationKey-job-yecd7xxxxxxxxxx"),
},
},
Data_volumes: []map[string]interface{}{
map[string]interface{}{
"mountPoint": "/dev/vdb",
"size": 100,
"snapshotId": "snap-3wvah8xxxxxxxxxx",
"type": "ESSD_PL0",
},
},
System_volume: map[string]interface{}{
"size": 40,
"type": "ESSD_PL0",
},
Additional_container_storage_enabled: true,
Deployment_set_group_number: 0,
Deployment_set_id: "dps-yedy0wxxxxxxxxxx",
Hostname: pulumi.String("node-host"),
Image_id: "image-ybqi99xxxxxxxxxxx",
Initialize_script: "YmFzaCxxxxx9maxxxxx",
Instance_name: "node",
Instance_type_ids: []string{
"ecs.g4il.large",
},
Name_prefix: "name-prefix",
Network_traffic_mode: "Standard",
Project_name: "default",
Public_access_config: map[string]interface{}{
"billingType": 2,
"isp": "BGP",
"bandwidth": 5,
},
Public_access_enabled: false,
Subnet_ids: []string{
"subnet-ijifxxxxxo8cuxxxxx",
},
Tags: vke.NodePoolNodeConfigTagArray{
&vke.NodePoolNodeConfigTagArgs{
Key: pulumi.String("key"),
Value: pulumi.String("value"),
},
},
},
Tags: vke.NodePoolTagArray{
&vke.NodePoolTagArgs{
Key: pulumi.String("env"),
Value: pulumi.String("test"),
},
},
})
if err != nil {
return err
}
return nil
})
}
using System.Collections.Generic;
using System.Linq;
using Pulumi;
using Volcenginecc = Volcengine.Pulumi.Volcenginecc;
return await Deployment.RunAsync(() =>
{
var vKENodePoolDemo = new Volcenginecc.Vke.NodePool("VKENodePoolDemo", new()
{
AutoScaling = new Volcenginecc.Vke.Inputs.NodePoolAutoScalingArgs
{
Max_replicas = 10,
Min_replicas = 0,
Enabled = true,
Desired_replicas = 0,
Priority = 10,
Subnet_policy = "ZoneBalance",
},
ClusterId = "cd6gojxxxxxxxxxxx",
KubernetesConfig = new Volcenginecc.Vke.Inputs.NodePoolKubernetesConfigArgs
{
Auto_sync_disabled = false,
Containerd_config =
{
{ "insecureRegistries", new[]
{
"example.com",
} },
{ "registryProxyConfigs", new[]
{
{
{ "proxyEndpoints", new[]
{
"https://example.com:8080",
} },
{ "registry", "example.com:8080" },
},
} },
},
Cordon = false,
Kubelet_config =
{
{ "cpuManagerPolicy", "none" },
{ "evictionHard", new[]
{
{
{ "key", "memory.available" },
{ "value", "15%" },
},
} },
{ "kubeApiBurst", 10 },
{ "kubeApiQps", 5 },
{ "kubeReserved", new[]
{
{
{ "name", "memory" },
{ "quantity", "200m" },
},
} },
{ "maxPods", 110 },
{ "registryBurst", 10 },
{ "registryPullQps", 5 },
{ "serializeImagePulls", true },
{ "systemReserved", new[]
{
{
{ "name", "memory" },
{ "quantity", "200m" },
},
} },
{ "topologyManagerPolicy", "none" },
{ "topologyManagerScope", "container" },
},
Labels = new[]
{
new Volcenginecc.Vke.Inputs.NodePoolKubernetesConfigLabelArgs
{
Key = "label-key",
Value = "label-value",
},
},
Name_prefix = "name-prefix",
Name_suffix = "name-suffix",
Name_use_hostname = false,
Taints = new[]
{
new Volcenginecc.Vke.Inputs.NodePoolKubernetesConfigTaintArgs
{
Key = "taint-key",
Value = "taint-value",
Effect = "NoSchedule",
},
},
},
Management = new Volcenginecc.Vke.Inputs.NodePoolManagementArgs
{
Enabled = true,
Remedy_config =
{
{ "enabled", true },
{ "remedyId", "R20260227xxxxxxxxxxx" },
},
},
Name = "test",
NodeConfig = new Volcenginecc.Vke.Inputs.NodePoolNodeConfigArgs
{
Instance_charge_type = "PostPaid",
Spot_strategy = "SpotAsPriceGo",
Instances_distribution =
{
{ "capacityRebalance", true },
{ "compensateWithOnDemand", true },
{ "onDemandBaseCapacity", 0 },
{ "onDemandPercentageAboveBaseCapacity", 0 },
},
Security = new Volcenginecc.Vke.Inputs.NodePoolNodeConfigSecurityArgs
{
SecurityGroupIds = new[]
{
"sg-1a14cxqxxxxxxxxxx",
},
SecurityStrategies = new[]
{
"Hids",
},
Login = new Volcenginecc.Vke.Inputs.NodePoolNodeConfigSecurityLoginArgs
{
SshKeyPairName = "MigrationKey-job-yecd7xxxxxxxxxx",
},
},
Data_volumes = new[]
{
{
{ "mountPoint", "/dev/vdb" },
{ "size", 100 },
{ "snapshotId", "snap-3wvah8xxxxxxxxxx" },
{ "type", "ESSD_PL0" },
},
},
System_volume =
{
{ "size", 40 },
{ "type", "ESSD_PL0" },
},
Additional_container_storage_enabled = true,
Deployment_set_group_number = 0,
Deployment_set_id = "dps-yedy0wxxxxxxxxxx",
Hostname = "node-host",
Image_id = "image-ybqi99xxxxxxxxxxx",
Initialize_script = "YmFzaCxxxxx9maxxxxx",
Instance_name = "node",
Instance_type_ids = new[]
{
"ecs.g4il.large",
},
Name_prefix = "name-prefix",
Network_traffic_mode = "Standard",
Project_name = "default",
Public_access_config =
{
{ "billingType", 2 },
{ "isp", "BGP" },
{ "bandwidth", 5 },
},
Public_access_enabled = false,
Subnet_ids = new[]
{
"subnet-ijifxxxxxo8cuxxxxx",
},
Tags = new[]
{
new Volcenginecc.Vke.Inputs.NodePoolNodeConfigTagArgs
{
Key = "key",
Value = "value",
},
},
},
Tags = new[]
{
new Volcenginecc.Vke.Inputs.NodePoolTagArgs
{
Key = "env",
Value = "test",
},
},
});
});
package generated_program;
import com.pulumi.Context;
import com.pulumi.Pulumi;
import com.pulumi.core.Output;
import com.volcengine.volcenginecc.vke.NodePool;
import com.volcengine.volcenginecc.vke.NodePoolArgs;
import com.pulumi.volcenginecc.vke.inputs.NodePoolAutoScalingArgs;
import com.pulumi.volcenginecc.vke.inputs.NodePoolKubernetesConfigArgs;
import com.pulumi.volcenginecc.vke.inputs.NodePoolKubernetesConfigLabelArgs;
import com.pulumi.volcenginecc.vke.inputs.NodePoolKubernetesConfigTaintArgs;
import com.pulumi.volcenginecc.vke.inputs.NodePoolManagementArgs;
import com.pulumi.volcenginecc.vke.inputs.NodePoolNodeConfigArgs;
import com.pulumi.volcenginecc.vke.inputs.NodePoolNodeConfigSecurityArgs;
import com.pulumi.volcenginecc.vke.inputs.NodePoolNodeConfigSecurityLoginArgs;
import com.pulumi.volcenginecc.vke.inputs.NodePoolNodeConfigTagArgs;
import com.pulumi.volcenginecc.vke.inputs.NodePoolTagArgs;
import java.util.ArrayList;
import java.util.Arrays;
import java.util.Map;
import java.io.File;
import java.nio.file.Files;
import java.nio.file.Paths;
public class App {
public static void main(String[] args) {
Pulumi.run(App::stack);
}
public static void stack(Context ctx) {
var vKENodePoolDemo = new NodePool("vKENodePoolDemo", NodePoolArgs.builder()
.autoScaling(NodePoolAutoScalingArgs.builder()
.max_replicas(10)
.min_replicas(0)
.enabled(true)
.desired_replicas(0)
.priority(10)
.subnet_policy("ZoneBalance")
.build())
.clusterId("cd6gojxxxxxxxxxxx")
.kubernetesConfig(NodePoolKubernetesConfigArgs.builder()
.auto_sync_disabled(false)
.containerd_config(Map.ofEntries(
Map.entry("insecureRegistries", Arrays.asList("example.com")),
Map.entry("registryProxyConfigs", Arrays.asList(Map.ofEntries(
Map.entry("proxyEndpoints", Arrays.asList("https://example.com:8080")),
Map.entry("registry", "example.com:8080")
)))
))
.cordon(false)
.kubelet_config(Map.ofEntries(
Map.entry("cpuManagerPolicy", "none"),
Map.entry("evictionHard", Arrays.asList(Map.ofEntries(
Map.entry("key", "memory.available"),
Map.entry("value", "15%")
))),
Map.entry("kubeApiBurst", 10),
Map.entry("kubeApiQps", 5),
Map.entry("kubeReserved", Arrays.asList(Map.ofEntries(
Map.entry("name", "memory"),
Map.entry("quantity", "200m")
))),
Map.entry("maxPods", 110),
Map.entry("registryBurst", 10),
Map.entry("registryPullQps", 5),
Map.entry("serializeImagePulls", true),
Map.entry("systemReserved", Arrays.asList(Map.ofEntries(
Map.entry("name", "memory"),
Map.entry("quantity", "200m")
))),
Map.entry("topologyManagerPolicy", "none"),
Map.entry("topologyManagerScope", "container")
))
.labels(NodePoolKubernetesConfigLabelArgs.builder()
.key("label-key")
.value("label-value")
.build())
.name_prefix("name-prefix")
.name_suffix("name-suffix")
.name_use_hostname(false)
.taints(NodePoolKubernetesConfigTaintArgs.builder()
.key("taint-key")
.value("taint-value")
.effect("NoSchedule")
.build())
.build())
.management(NodePoolManagementArgs.builder()
.enabled(true)
.remedy_config(Map.ofEntries(
Map.entry("enabled", true),
Map.entry("remedyId", "R20260227xxxxxxxxxxx")
))
.build())
.name("test")
.nodeConfig(NodePoolNodeConfigArgs.builder()
.instance_charge_type("PostPaid")
.spot_strategy("SpotAsPriceGo")
.instances_distribution(Map.ofEntries(
Map.entry("capacityRebalance", true),
Map.entry("compensateWithOnDemand", true),
Map.entry("onDemandBaseCapacity", 0),
Map.entry("onDemandPercentageAboveBaseCapacity", 0)
))
.security(NodePoolNodeConfigSecurityArgs.builder()
.securityGroupIds("sg-1a14cxqxxxxxxxxxx")
.securityStrategies("Hids")
.login(NodePoolNodeConfigSecurityLoginArgs.builder()
.sshKeyPairName("MigrationKey-job-yecd7xxxxxxxxxx")
.build())
.build())
.data_volumes(Arrays.asList(Map.ofEntries(
Map.entry("mountPoint", "/dev/vdb"),
Map.entry("size", 100),
Map.entry("snapshotId", "snap-3wvah8xxxxxxxxxx"),
Map.entry("type", "ESSD_PL0")
)))
.system_volume(Map.ofEntries(
Map.entry("size", 40),
Map.entry("type", "ESSD_PL0")
))
.additional_container_storage_enabled(true)
.deployment_set_group_number(0)
.deployment_set_id("dps-yedy0wxxxxxxxxxx")
.hostname("node-host")
.image_id("image-ybqi99xxxxxxxxxxx")
.initialize_script("YmFzaCxxxxx9maxxxxx")
.instance_name("node")
.instance_type_ids(Arrays.asList("ecs.g4il.large"))
.name_prefix("name-prefix")
.network_traffic_mode("Standard")
.project_name("default")
.public_access_config(Map.ofEntries(
Map.entry("billingType", 2),
Map.entry("isp", "BGP"),
Map.entry("bandwidth", 5)
))
.public_access_enabled(false)
.subnet_ids(Arrays.asList("subnet-ijifxxxxxo8cuxxxxx"))
.tags(NodePoolNodeConfigTagArgs.builder()
.key("key")
.value("value")
.build())
.build())
.tags(NodePoolTagArgs.builder()
.key("env")
.value("test")
.build())
.build());
}
}
resources:
vKENodePoolDemo:
type: volcenginecc:vke:NodePool
name: VKENodePoolDemo
properties:
autoScaling:
max_replicas: 10
min_replicas: 0
enabled: true
desired_replicas: 0
priority: 10
subnet_policy: ZoneBalance
clusterId: cd6gojxxxxxxxxxxx
kubernetesConfig:
auto_sync_disabled: false
containerd_config:
insecureRegistries:
- example.com
registryProxyConfigs:
- proxyEndpoints:
- https://example.com:8080
registry: example.com:8080
cordon: false
kubelet_config:
cpuManagerPolicy: none
evictionHard:
- key: memory.available
value: 15%
kubeApiBurst: 10
kubeApiQps: 5
kubeReserved:
- name: memory
quantity: 200m
maxPods: 110
registryBurst: 10
registryPullQps: 5
serializeImagePulls: true
systemReserved:
- name: memory
quantity: 200m
topologyManagerPolicy: none
topologyManagerScope: container
labels:
- key: label-key
value: label-value
name_prefix: name-prefix
name_suffix: name-suffix
name_use_hostname: false
taints:
- key: taint-key
value: taint-value
effect: NoSchedule
management:
enabled: true
remedy_config:
enabled: true
remedyId: R20260227xxxxxxxxxxx
name: test
nodeConfig:
instance_charge_type: PostPaid
spot_strategy: SpotAsPriceGo
instances_distribution:
capacityRebalance: true
compensateWithOnDemand: true
onDemandBaseCapacity: 0
onDemandPercentageAboveBaseCapacity: 0
security:
securityGroupIds:
- sg-1a14cxqxxxxxxxxxx
securityStrategies:
- Hids
login:
sshKeyPairName: MigrationKey-job-yecd7xxxxxxxxxx
data_volumes:
- mountPoint: /dev/vdb
size: 100
snapshotId: snap-3wvah8xxxxxxxxxx
type: ESSD_PL0
system_volume:
size: 40
type: ESSD_PL0
additional_container_storage_enabled: true
deployment_set_group_number: 0
deployment_set_id: dps-yedy0wxxxxxxxxxx
hostname: node-host
image_id: image-ybqi99xxxxxxxxxxx
initialize_script: YmFzaCxxxxx9maxxxxx
instance_name: node
instance_type_ids:
- ecs.g4il.large
name_prefix: name-prefix
network_traffic_mode: Standard
project_name: default
public_access_config:
billingType: 2
isp: BGP
bandwidth: 5
public_access_enabled: false
subnet_ids:
- subnet-ijifxxxxxo8cuxxxxx
tags:
- key: key
value: value
tags:
- key: env
value: test
pulumi {
required_providers {
volcenginecc = {
source = "pulumi/volcenginecc"
}
}
}
resource "volcenginecc_vke_nodepool" "VKENodePoolDemo" {
auto_scaling = {
max_replicas = 10
min_replicas = 0
enabled = true
desired_replicas = 0
priority = 10
subnet_policy = "ZoneBalance"
}
cluster_id = "cd6gojxxxxxxxxxxx"
kubernetes_config = {
auto_sync_disabled = false
containerd_config = {
"insecureRegistries" = ["example.com"]
"registryProxyConfigs" = [{
"proxyEndpoints" = ["https://example.com:8080"]
"registry" = "example.com:8080"
}]
}
cordon = false
kubelet_config = {
"cpuManagerPolicy" = "none"
"evictionHard" = [{
"key" = "memory.available"
"value" = "15%"
}]
"kubeApiBurst" = 10
"kubeApiQps" = 5
"kubeReserved" = [{
"name" = "memory"
"quantity" = "200m"
}]
"maxPods" = 110
"registryBurst" = 10
"registryPullQps" = 5
"serializeImagePulls" = true
"systemReserved" = [{
"name" = "memory"
"quantity" = "200m"
}]
"topologyManagerPolicy" = "none"
"topologyManagerScope" = "container"
}
labels = [{
"key" = "label-key"
"value" = "label-value"
}]
name_prefix = "name-prefix"
name_suffix = "name-suffix"
name_use_hostname = false
taints = [{
"key" = "taint-key"
"value" = "taint-value"
"effect" = "NoSchedule"
}]
}
management = {
enabled = true
remedy_config = {
"enabled" = true
"remedyId" = "R20260227xxxxxxxxxxx"
}
}
name = "test"
node_config = {
instance_charge_type = "PostPaid"
spot_strategy = "SpotAsPriceGo"
instances_distribution = {
"capacityRebalance" = true
"compensateWithOnDemand" = true
"onDemandBaseCapacity" = 0
"onDemandPercentageAboveBaseCapacity" = 0
}
security = {
security_group_ids = ["sg-1a14cxqxxxxxxxxxx"]
security_strategies = ["Hids"]
login = {
ssh_key_pair_name = "MigrationKey-job-yecd7xxxxxxxxxx"
}
}
data_volumes = [{
"mountPoint" = "/dev/vdb"
"size" = 100
"snapshotId" = "snap-3wvah8xxxxxxxxxx"
"type" = "ESSD_PL0"
}]
system_volume = {
"size" = 40
"type" = "ESSD_PL0"
}
additional_container_storage_enabled = true
deployment_set_group_number = 0
deployment_set_id = "dps-yedy0wxxxxxxxxxx"
hostname = "node-host"
image_id = "image-ybqi99xxxxxxxxxxx"
initialize_script = "YmFzaCxxxxx9maxxxxx"
instance_name = "node"
instance_type_ids = ["ecs.g4il.large"]
name_prefix = "name-prefix"
network_traffic_mode = "Standard"
project_name = "default"
public_access_config = {
"billingType" = 2
"isp" = "BGP"
"bandwidth" = 5
}
public_access_enabled = false
subnet_ids = ["subnet-ijifxxxxxo8cuxxxxx"]
tags = [{
"key" = "key"
"value" = "value"
}]
}
tags {
key = "env"
value = "test"
}
}
Create NodePool Resource
Resources are created with functions called constructors. To learn more about declaring and configuring resources, see Resources.
Constructor syntax
new NodePool(name: string, args: NodePoolArgs, opts?: CustomResourceOptions);@overload
def NodePool(resource_name: str,
args: NodePoolArgs,
opts: Optional[ResourceOptions] = None)
@overload
def NodePool(resource_name: str,
opts: Optional[ResourceOptions] = None,
cluster_id: Optional[str] = None,
auto_scaling: Optional[NodePoolAutoScalingArgs] = None,
kubernetes_config: Optional[NodePoolKubernetesConfigArgs] = None,
management: Optional[NodePoolManagementArgs] = None,
name: Optional[str] = None,
node_config: Optional[NodePoolNodeConfigArgs] = None,
retain_resources: Optional[Sequence[str]] = None,
tags: Optional[Sequence[NodePoolTagArgs]] = None)func NewNodePool(ctx *Context, name string, args NodePoolArgs, opts ...ResourceOption) (*NodePool, error)public NodePool(string name, NodePoolArgs args, CustomResourceOptions? opts = null)
public NodePool(String name, NodePoolArgs args)
public NodePool(String name, NodePoolArgs args, CustomResourceOptions options)
type: volcenginecc:vke:NodePool
properties: # The arguments to resource properties.
options: # Bag of options to control resource's behavior.
resource "volcenginecc_vke_node_pool" "name" {
# resource properties
}Parameters
- name string
- The unique name of the resource.
- args NodePoolArgs
- 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 NodePoolArgs
- 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 NodePoolArgs
- The arguments to resource properties.
- opts ResourceOption
- Bag of options to control resource's behavior.
- name string
- The unique name of the resource.
- args NodePoolArgs
- The arguments to resource properties.
- opts CustomResourceOptions
- Bag of options to control resource's behavior.
- name String
- The unique name of the resource.
- args NodePoolArgs
- 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 nodePoolResource = new Volcenginecc.Vke.NodePool("nodePoolResource", new()
{
ClusterId = "string",
AutoScaling = new Volcenginecc.Vke.Inputs.NodePoolAutoScalingArgs
{
DesiredReplicas = 0,
Enabled = false,
MaxReplicas = 0,
MinReplicas = 0,
Priority = 0,
ScalingGroupId = "string",
SubnetPolicy = "string",
},
KubernetesConfig = new Volcenginecc.Vke.Inputs.NodePoolKubernetesConfigArgs
{
AutoSyncDisabled = false,
ContainerdConfig = new Volcenginecc.Vke.Inputs.NodePoolKubernetesConfigContainerdConfigArgs
{
InsecureRegistries = new[]
{
"string",
},
RegistryProxyConfigs = new[]
{
new Volcenginecc.Vke.Inputs.NodePoolKubernetesConfigContainerdConfigRegistryProxyConfigArgs
{
ProxyEndpoints = new[]
{
"string",
},
Registry = "string",
},
},
},
Cordon = false,
KubeletConfig = new Volcenginecc.Vke.Inputs.NodePoolKubernetesConfigKubeletConfigArgs
{
CpuManagerPolicy = "string",
EvictionHards = new[]
{
new Volcenginecc.Vke.Inputs.NodePoolKubernetesConfigKubeletConfigEvictionHardArgs
{
Key = "string",
Value = "string",
},
},
FeatureGates = new Volcenginecc.Vke.Inputs.NodePoolKubernetesConfigKubeletConfigFeatureGatesArgs
{
InPlacePodVerticalScaling = false,
QoSResourceManager = false,
},
KubeApiBurst = 0,
KubeApiQps = 0,
KubeReserveds = new[]
{
new Volcenginecc.Vke.Inputs.NodePoolKubernetesConfigKubeletConfigKubeReservedArgs
{
Name = "string",
Quantity = "string",
},
},
MaxPods = 0,
RegistryBurst = 0,
RegistryPullQps = 0,
SerializeImagePulls = false,
SystemReserveds = new[]
{
new Volcenginecc.Vke.Inputs.NodePoolKubernetesConfigKubeletConfigSystemReservedArgs
{
Name = "string",
Quantity = "string",
},
},
TopologyManagerPolicy = "string",
TopologyManagerScope = "string",
},
Labels = new[]
{
new Volcenginecc.Vke.Inputs.NodePoolKubernetesConfigLabelArgs
{
Key = "string",
Value = "string",
},
},
NamePrefix = "string",
NameSuffix = "string",
NameUseHostname = false,
Taints = new[]
{
new Volcenginecc.Vke.Inputs.NodePoolKubernetesConfigTaintArgs
{
Effect = "string",
Key = "string",
Value = "string",
},
},
},
Management = new Volcenginecc.Vke.Inputs.NodePoolManagementArgs
{
Enabled = false,
RemedyConfig = new Volcenginecc.Vke.Inputs.NodePoolManagementRemedyConfigArgs
{
Enabled = false,
RemedyId = "string",
},
},
Name = "string",
NodeConfig = new Volcenginecc.Vke.Inputs.NodePoolNodeConfigArgs
{
AdditionalContainerStorageEnabled = false,
AutoRenew = false,
AutoRenewPeriod = 0,
DataVolumes = new[]
{
new Volcenginecc.Vke.Inputs.NodePoolNodeConfigDataVolumeArgs
{
FileSystem = "string",
MountPoint = "string",
PlacementGroupId = "string",
Size = 0,
SnapshotId = "string",
SubgroupNumber = 0,
Type = "string",
},
},
DeploymentSetGroupNumber = 0,
DeploymentSetId = "string",
Hostname = "string",
HpcClusterIds = new[]
{
"string",
},
ImageId = "string",
InitializeScript = "string",
InstanceChargeType = "string",
InstanceName = "string",
InstanceTypeIds = new[]
{
"string",
},
InstancesDistribution = new Volcenginecc.Vke.Inputs.NodePoolNodeConfigInstancesDistributionArgs
{
CapacityRebalance = false,
CompensateWithOnDemand = false,
OnDemandBaseCapacity = 0,
OnDemandPercentageAboveBaseCapacity = 0,
},
NamePrefix = "string",
NetworkTrafficMode = "string",
Period = 0,
PreScript = "string",
ProjectName = "string",
PublicAccessConfig = new Volcenginecc.Vke.Inputs.NodePoolNodeConfigPublicAccessConfigArgs
{
Bandwidth = 0,
BillingType = 0,
Isp = "string",
},
PublicAccessEnabled = false,
Security = new Volcenginecc.Vke.Inputs.NodePoolNodeConfigSecurityArgs
{
Login = new Volcenginecc.Vke.Inputs.NodePoolNodeConfigSecurityLoginArgs
{
Password = "string",
SshKeyPairName = "string",
Type = "string",
},
SecurityGroupIds = new[]
{
"string",
},
SecurityStrategies = new[]
{
"string",
},
SecurityStrategyEnabled = false,
},
SpotStrategy = "string",
SubnetIds = new[]
{
"string",
},
SystemVolume = new Volcenginecc.Vke.Inputs.NodePoolNodeConfigSystemVolumeArgs
{
PlacementGroupId = "string",
Size = 0,
SubgroupNumber = 0,
Type = "string",
},
Tags = new[]
{
new Volcenginecc.Vke.Inputs.NodePoolNodeConfigTagArgs
{
Key = "string",
Value = "string",
},
},
},
RetainResources = new[]
{
"string",
},
Tags = new[]
{
new Volcenginecc.Vke.Inputs.NodePoolTagArgs
{
Key = "string",
Value = "string",
},
},
});
example, err := vke.NewNodePool(ctx, "nodePoolResource", &vke.NodePoolArgs{
ClusterId: pulumi.String("string"),
AutoScaling: &vke.NodePoolAutoScalingArgs{
DesiredReplicas: pulumi.Int(0),
Enabled: pulumi.Bool(false),
MaxReplicas: pulumi.Int(0),
MinReplicas: pulumi.Int(0),
Priority: pulumi.Int(0),
ScalingGroupId: pulumi.String("string"),
SubnetPolicy: pulumi.String("string"),
},
KubernetesConfig: &vke.NodePoolKubernetesConfigArgs{
AutoSyncDisabled: pulumi.Bool(false),
ContainerdConfig: &vke.NodePoolKubernetesConfigContainerdConfigArgs{
InsecureRegistries: pulumi.StringArray{
pulumi.String("string"),
},
RegistryProxyConfigs: vke.NodePoolKubernetesConfigContainerdConfigRegistryProxyConfigArray{
&vke.NodePoolKubernetesConfigContainerdConfigRegistryProxyConfigArgs{
ProxyEndpoints: pulumi.StringArray{
pulumi.String("string"),
},
Registry: pulumi.String("string"),
},
},
},
Cordon: pulumi.Bool(false),
KubeletConfig: &vke.NodePoolKubernetesConfigKubeletConfigArgs{
CpuManagerPolicy: pulumi.String("string"),
EvictionHards: vke.NodePoolKubernetesConfigKubeletConfigEvictionHardArray{
&vke.NodePoolKubernetesConfigKubeletConfigEvictionHardArgs{
Key: pulumi.String("string"),
Value: pulumi.String("string"),
},
},
FeatureGates: &vke.NodePoolKubernetesConfigKubeletConfigFeatureGatesArgs{
InPlacePodVerticalScaling: pulumi.Bool(false),
QoSResourceManager: pulumi.Bool(false),
},
KubeApiBurst: pulumi.Int(0),
KubeApiQps: pulumi.Int(0),
KubeReserveds: vke.NodePoolKubernetesConfigKubeletConfigKubeReservedArray{
&vke.NodePoolKubernetesConfigKubeletConfigKubeReservedArgs{
Name: pulumi.String("string"),
Quantity: pulumi.String("string"),
},
},
MaxPods: pulumi.Int(0),
RegistryBurst: pulumi.Int(0),
RegistryPullQps: pulumi.Int(0),
SerializeImagePulls: pulumi.Bool(false),
SystemReserveds: vke.NodePoolKubernetesConfigKubeletConfigSystemReservedArray{
&vke.NodePoolKubernetesConfigKubeletConfigSystemReservedArgs{
Name: pulumi.String("string"),
Quantity: pulumi.String("string"),
},
},
TopologyManagerPolicy: pulumi.String("string"),
TopologyManagerScope: pulumi.String("string"),
},
Labels: vke.NodePoolKubernetesConfigLabelArray{
&vke.NodePoolKubernetesConfigLabelArgs{
Key: pulumi.String("string"),
Value: pulumi.String("string"),
},
},
NamePrefix: pulumi.String("string"),
NameSuffix: pulumi.String("string"),
NameUseHostname: pulumi.Bool(false),
Taints: vke.NodePoolKubernetesConfigTaintArray{
&vke.NodePoolKubernetesConfigTaintArgs{
Effect: pulumi.String("string"),
Key: pulumi.String("string"),
Value: pulumi.String("string"),
},
},
},
Management: &vke.NodePoolManagementArgs{
Enabled: pulumi.Bool(false),
RemedyConfig: &vke.NodePoolManagementRemedyConfigArgs{
Enabled: pulumi.Bool(false),
RemedyId: pulumi.String("string"),
},
},
Name: pulumi.String("string"),
NodeConfig: &vke.NodePoolNodeConfigArgs{
AdditionalContainerStorageEnabled: pulumi.Bool(false),
AutoRenew: pulumi.Bool(false),
AutoRenewPeriod: pulumi.Int(0),
DataVolumes: vke.NodePoolNodeConfigDataVolumeArray{
&vke.NodePoolNodeConfigDataVolumeArgs{
FileSystem: pulumi.String("string"),
MountPoint: pulumi.String("string"),
PlacementGroupId: pulumi.String("string"),
Size: pulumi.Int(0),
SnapshotId: pulumi.String("string"),
SubgroupNumber: pulumi.Int(0),
Type: pulumi.String("string"),
},
},
DeploymentSetGroupNumber: pulumi.Int(0),
DeploymentSetId: pulumi.String("string"),
Hostname: pulumi.String("string"),
HpcClusterIds: pulumi.StringArray{
pulumi.String("string"),
},
ImageId: pulumi.String("string"),
InitializeScript: pulumi.String("string"),
InstanceChargeType: pulumi.String("string"),
InstanceName: pulumi.String("string"),
InstanceTypeIds: pulumi.StringArray{
pulumi.String("string"),
},
InstancesDistribution: &vke.NodePoolNodeConfigInstancesDistributionArgs{
CapacityRebalance: pulumi.Bool(false),
CompensateWithOnDemand: pulumi.Bool(false),
OnDemandBaseCapacity: pulumi.Int(0),
OnDemandPercentageAboveBaseCapacity: pulumi.Int(0),
},
NamePrefix: pulumi.String("string"),
NetworkTrafficMode: pulumi.String("string"),
Period: pulumi.Int(0),
PreScript: pulumi.String("string"),
ProjectName: pulumi.String("string"),
PublicAccessConfig: &vke.NodePoolNodeConfigPublicAccessConfigArgs{
Bandwidth: pulumi.Int(0),
BillingType: pulumi.Int(0),
Isp: pulumi.String("string"),
},
PublicAccessEnabled: pulumi.Bool(false),
Security: &vke.NodePoolNodeConfigSecurityArgs{
Login: &vke.NodePoolNodeConfigSecurityLoginArgs{
Password: pulumi.String("string"),
SshKeyPairName: pulumi.String("string"),
Type: pulumi.String("string"),
},
SecurityGroupIds: pulumi.StringArray{
pulumi.String("string"),
},
SecurityStrategies: pulumi.StringArray{
pulumi.String("string"),
},
SecurityStrategyEnabled: pulumi.Bool(false),
},
SpotStrategy: pulumi.String("string"),
SubnetIds: pulumi.StringArray{
pulumi.String("string"),
},
SystemVolume: &vke.NodePoolNodeConfigSystemVolumeArgs{
PlacementGroupId: pulumi.String("string"),
Size: pulumi.Int(0),
SubgroupNumber: pulumi.Int(0),
Type: pulumi.String("string"),
},
Tags: vke.NodePoolNodeConfigTagArray{
&vke.NodePoolNodeConfigTagArgs{
Key: pulumi.String("string"),
Value: pulumi.String("string"),
},
},
},
RetainResources: pulumi.StringArray{
pulumi.String("string"),
},
Tags: vke.NodePoolTagArray{
&vke.NodePoolTagArgs{
Key: pulumi.String("string"),
Value: pulumi.String("string"),
},
},
})
resource "volcenginecc_vke_node_pool" "nodePoolResource" {
lifecycle {
create_before_destroy = true
}
cluster_id = "string"
auto_scaling = {
desired_replicas = 0
enabled = false
max_replicas = 0
min_replicas = 0
priority = 0
scaling_group_id = "string"
subnet_policy = "string"
}
kubernetes_config = {
auto_sync_disabled = false
containerd_config = {
insecure_registries = ["string"]
registry_proxy_configs = [{
proxy_endpoints = ["string"]
registry = "string"
}]
}
cordon = false
kubelet_config = {
cpu_manager_policy = "string"
eviction_hards = [{
key = "string"
value = "string"
}]
feature_gates = {
in_place_pod_vertical_scaling = false
qo_s_resource_manager = false
}
kube_api_burst = 0
kube_api_qps = 0
kube_reserveds = [{
name = "string"
quantity = "string"
}]
max_pods = 0
registry_burst = 0
registry_pull_qps = 0
serialize_image_pulls = false
system_reserveds = [{
name = "string"
quantity = "string"
}]
topology_manager_policy = "string"
topology_manager_scope = "string"
}
labels = [{
key = "string"
value = "string"
}]
name_prefix = "string"
name_suffix = "string"
name_use_hostname = false
taints = [{
effect = "string"
key = "string"
value = "string"
}]
}
management = {
enabled = false
remedy_config = {
enabled = false
remedy_id = "string"
}
}
name = "string"
node_config = {
additional_container_storage_enabled = false
auto_renew = false
auto_renew_period = 0
data_volumes = [{
file_system = "string"
mount_point = "string"
placement_group_id = "string"
size = 0
snapshot_id = "string"
subgroup_number = 0
type = "string"
}]
deployment_set_group_number = 0
deployment_set_id = "string"
hostname = "string"
hpc_cluster_ids = ["string"]
image_id = "string"
initialize_script = "string"
instance_charge_type = "string"
instance_name = "string"
instance_type_ids = ["string"]
instances_distribution = {
capacity_rebalance = false
compensate_with_on_demand = false
on_demand_base_capacity = 0
on_demand_percentage_above_base_capacity = 0
}
name_prefix = "string"
network_traffic_mode = "string"
period = 0
pre_script = "string"
project_name = "string"
public_access_config = {
bandwidth = 0
billing_type = 0
isp = "string"
}
public_access_enabled = false
security = {
login = {
password = "string"
ssh_key_pair_name = "string"
type = "string"
}
security_group_ids = ["string"]
security_strategies = ["string"]
security_strategy_enabled = false
}
spot_strategy = "string"
subnet_ids = ["string"]
system_volume = {
placement_group_id = "string"
size = 0
subgroup_number = 0
type = "string"
}
tags = [{
key = "string"
value = "string"
}]
}
retain_resources = ["string"]
tags {
key = "string"
value = "string"
}
}
var nodePoolResource = new NodePool("nodePoolResource", NodePoolArgs.builder()
.clusterId("string")
.autoScaling(NodePoolAutoScalingArgs.builder()
.desiredReplicas(0)
.enabled(false)
.maxReplicas(0)
.minReplicas(0)
.priority(0)
.scalingGroupId("string")
.subnetPolicy("string")
.build())
.kubernetesConfig(NodePoolKubernetesConfigArgs.builder()
.autoSyncDisabled(false)
.containerdConfig(NodePoolKubernetesConfigContainerdConfigArgs.builder()
.insecureRegistries("string")
.registryProxyConfigs(NodePoolKubernetesConfigContainerdConfigRegistryProxyConfigArgs.builder()
.proxyEndpoints("string")
.registry("string")
.build())
.build())
.cordon(false)
.kubeletConfig(NodePoolKubernetesConfigKubeletConfigArgs.builder()
.cpuManagerPolicy("string")
.evictionHards(NodePoolKubernetesConfigKubeletConfigEvictionHardArgs.builder()
.key("string")
.value("string")
.build())
.featureGates(NodePoolKubernetesConfigKubeletConfigFeatureGatesArgs.builder()
.inPlacePodVerticalScaling(false)
.qoSResourceManager(false)
.build())
.kubeApiBurst(0)
.kubeApiQps(0)
.kubeReserveds(NodePoolKubernetesConfigKubeletConfigKubeReservedArgs.builder()
.name("string")
.quantity("string")
.build())
.maxPods(0)
.registryBurst(0)
.registryPullQps(0)
.serializeImagePulls(false)
.systemReserveds(NodePoolKubernetesConfigKubeletConfigSystemReservedArgs.builder()
.name("string")
.quantity("string")
.build())
.topologyManagerPolicy("string")
.topologyManagerScope("string")
.build())
.labels(NodePoolKubernetesConfigLabelArgs.builder()
.key("string")
.value("string")
.build())
.namePrefix("string")
.nameSuffix("string")
.nameUseHostname(false)
.taints(NodePoolKubernetesConfigTaintArgs.builder()
.effect("string")
.key("string")
.value("string")
.build())
.build())
.management(NodePoolManagementArgs.builder()
.enabled(false)
.remedyConfig(NodePoolManagementRemedyConfigArgs.builder()
.enabled(false)
.remedyId("string")
.build())
.build())
.name("string")
.nodeConfig(NodePoolNodeConfigArgs.builder()
.additionalContainerStorageEnabled(false)
.autoRenew(false)
.autoRenewPeriod(0)
.dataVolumes(NodePoolNodeConfigDataVolumeArgs.builder()
.fileSystem("string")
.mountPoint("string")
.placementGroupId("string")
.size(0)
.snapshotId("string")
.subgroupNumber(0)
.type("string")
.build())
.deploymentSetGroupNumber(0)
.deploymentSetId("string")
.hostname("string")
.hpcClusterIds("string")
.imageId("string")
.initializeScript("string")
.instanceChargeType("string")
.instanceName("string")
.instanceTypeIds("string")
.instancesDistribution(NodePoolNodeConfigInstancesDistributionArgs.builder()
.capacityRebalance(false)
.compensateWithOnDemand(false)
.onDemandBaseCapacity(0)
.onDemandPercentageAboveBaseCapacity(0)
.build())
.namePrefix("string")
.networkTrafficMode("string")
.period(0)
.preScript("string")
.projectName("string")
.publicAccessConfig(NodePoolNodeConfigPublicAccessConfigArgs.builder()
.bandwidth(0)
.billingType(0)
.isp("string")
.build())
.publicAccessEnabled(false)
.security(NodePoolNodeConfigSecurityArgs.builder()
.login(NodePoolNodeConfigSecurityLoginArgs.builder()
.password("string")
.sshKeyPairName("string")
.type("string")
.build())
.securityGroupIds("string")
.securityStrategies("string")
.securityStrategyEnabled(false)
.build())
.spotStrategy("string")
.subnetIds("string")
.systemVolume(NodePoolNodeConfigSystemVolumeArgs.builder()
.placementGroupId("string")
.size(0)
.subgroupNumber(0)
.type("string")
.build())
.tags(NodePoolNodeConfigTagArgs.builder()
.key("string")
.value("string")
.build())
.build())
.retainResources("string")
.tags(NodePoolTagArgs.builder()
.key("string")
.value("string")
.build())
.build());
node_pool_resource = volcenginecc.vke.NodePool("nodePoolResource",
cluster_id="string",
auto_scaling={
"desired_replicas": 0,
"enabled": False,
"max_replicas": 0,
"min_replicas": 0,
"priority": 0,
"scaling_group_id": "string",
"subnet_policy": "string",
},
kubernetes_config={
"auto_sync_disabled": False,
"containerd_config": {
"insecure_registries": ["string"],
"registry_proxy_configs": [{
"proxy_endpoints": ["string"],
"registry": "string",
}],
},
"cordon": False,
"kubelet_config": {
"cpu_manager_policy": "string",
"eviction_hards": [{
"key": "string",
"value": "string",
}],
"feature_gates": {
"in_place_pod_vertical_scaling": False,
"qo_s_resource_manager": False,
},
"kube_api_burst": 0,
"kube_api_qps": 0,
"kube_reserveds": [{
"name": "string",
"quantity": "string",
}],
"max_pods": 0,
"registry_burst": 0,
"registry_pull_qps": 0,
"serialize_image_pulls": False,
"system_reserveds": [{
"name": "string",
"quantity": "string",
}],
"topology_manager_policy": "string",
"topology_manager_scope": "string",
},
"labels": [{
"key": "string",
"value": "string",
}],
"name_prefix": "string",
"name_suffix": "string",
"name_use_hostname": False,
"taints": [{
"effect": "string",
"key": "string",
"value": "string",
}],
},
management={
"enabled": False,
"remedy_config": {
"enabled": False,
"remedy_id": "string",
},
},
name="string",
node_config={
"additional_container_storage_enabled": False,
"auto_renew": False,
"auto_renew_period": 0,
"data_volumes": [{
"file_system": "string",
"mount_point": "string",
"placement_group_id": "string",
"size": 0,
"snapshot_id": "string",
"subgroup_number": 0,
"type": "string",
}],
"deployment_set_group_number": 0,
"deployment_set_id": "string",
"hostname": "string",
"hpc_cluster_ids": ["string"],
"image_id": "string",
"initialize_script": "string",
"instance_charge_type": "string",
"instance_name": "string",
"instance_type_ids": ["string"],
"instances_distribution": {
"capacity_rebalance": False,
"compensate_with_on_demand": False,
"on_demand_base_capacity": 0,
"on_demand_percentage_above_base_capacity": 0,
},
"name_prefix": "string",
"network_traffic_mode": "string",
"period": 0,
"pre_script": "string",
"project_name": "string",
"public_access_config": {
"bandwidth": 0,
"billing_type": 0,
"isp": "string",
},
"public_access_enabled": False,
"security": {
"login": {
"password": "string",
"ssh_key_pair_name": "string",
"type": "string",
},
"security_group_ids": ["string"],
"security_strategies": ["string"],
"security_strategy_enabled": False,
},
"spot_strategy": "string",
"subnet_ids": ["string"],
"system_volume": {
"placement_group_id": "string",
"size": 0,
"subgroup_number": 0,
"type": "string",
},
"tags": [{
"key": "string",
"value": "string",
}],
},
retain_resources=["string"],
tags=[{
"key": "string",
"value": "string",
}])
const nodePoolResource = new volcenginecc.vke.NodePool("nodePoolResource", {
clusterId: "string",
autoScaling: {
desiredReplicas: 0,
enabled: false,
maxReplicas: 0,
minReplicas: 0,
priority: 0,
scalingGroupId: "string",
subnetPolicy: "string",
},
kubernetesConfig: {
autoSyncDisabled: false,
containerdConfig: {
insecureRegistries: ["string"],
registryProxyConfigs: [{
proxyEndpoints: ["string"],
registry: "string",
}],
},
cordon: false,
kubeletConfig: {
cpuManagerPolicy: "string",
evictionHards: [{
key: "string",
value: "string",
}],
featureGates: {
inPlacePodVerticalScaling: false,
qoSResourceManager: false,
},
kubeApiBurst: 0,
kubeApiQps: 0,
kubeReserveds: [{
name: "string",
quantity: "string",
}],
maxPods: 0,
registryBurst: 0,
registryPullQps: 0,
serializeImagePulls: false,
systemReserveds: [{
name: "string",
quantity: "string",
}],
topologyManagerPolicy: "string",
topologyManagerScope: "string",
},
labels: [{
key: "string",
value: "string",
}],
namePrefix: "string",
nameSuffix: "string",
nameUseHostname: false,
taints: [{
effect: "string",
key: "string",
value: "string",
}],
},
management: {
enabled: false,
remedyConfig: {
enabled: false,
remedyId: "string",
},
},
name: "string",
nodeConfig: {
additionalContainerStorageEnabled: false,
autoRenew: false,
autoRenewPeriod: 0,
dataVolumes: [{
fileSystem: "string",
mountPoint: "string",
placementGroupId: "string",
size: 0,
snapshotId: "string",
subgroupNumber: 0,
type: "string",
}],
deploymentSetGroupNumber: 0,
deploymentSetId: "string",
hostname: "string",
hpcClusterIds: ["string"],
imageId: "string",
initializeScript: "string",
instanceChargeType: "string",
instanceName: "string",
instanceTypeIds: ["string"],
instancesDistribution: {
capacityRebalance: false,
compensateWithOnDemand: false,
onDemandBaseCapacity: 0,
onDemandPercentageAboveBaseCapacity: 0,
},
namePrefix: "string",
networkTrafficMode: "string",
period: 0,
preScript: "string",
projectName: "string",
publicAccessConfig: {
bandwidth: 0,
billingType: 0,
isp: "string",
},
publicAccessEnabled: false,
security: {
login: {
password: "string",
sshKeyPairName: "string",
type: "string",
},
securityGroupIds: ["string"],
securityStrategies: ["string"],
securityStrategyEnabled: false,
},
spotStrategy: "string",
subnetIds: ["string"],
systemVolume: {
placementGroupId: "string",
size: 0,
subgroupNumber: 0,
type: "string",
},
tags: [{
key: "string",
value: "string",
}],
},
retainResources: ["string"],
tags: [{
key: "string",
value: "string",
}],
});
type: volcenginecc:vke:NodePool
properties:
autoScaling:
desiredReplicas: 0
enabled: false
maxReplicas: 0
minReplicas: 0
priority: 0
scalingGroupId: string
subnetPolicy: string
clusterId: string
kubernetesConfig:
autoSyncDisabled: false
containerdConfig:
insecureRegistries:
- string
registryProxyConfigs:
- proxyEndpoints:
- string
registry: string
cordon: false
kubeletConfig:
cpuManagerPolicy: string
evictionHards:
- key: string
value: string
featureGates:
inPlacePodVerticalScaling: false
qoSResourceManager: false
kubeApiBurst: 0
kubeApiQps: 0
kubeReserveds:
- name: string
quantity: string
maxPods: 0
registryBurst: 0
registryPullQps: 0
serializeImagePulls: false
systemReserveds:
- name: string
quantity: string
topologyManagerPolicy: string
topologyManagerScope: string
labels:
- key: string
value: string
namePrefix: string
nameSuffix: string
nameUseHostname: false
taints:
- effect: string
key: string
value: string
management:
enabled: false
remedyConfig:
enabled: false
remedyId: string
name: string
nodeConfig:
additionalContainerStorageEnabled: false
autoRenew: false
autoRenewPeriod: 0
dataVolumes:
- fileSystem: string
mountPoint: string
placementGroupId: string
size: 0
snapshotId: string
subgroupNumber: 0
type: string
deploymentSetGroupNumber: 0
deploymentSetId: string
hostname: string
hpcClusterIds:
- string
imageId: string
initializeScript: string
instanceChargeType: string
instanceName: string
instanceTypeIds:
- string
instancesDistribution:
capacityRebalance: false
compensateWithOnDemand: false
onDemandBaseCapacity: 0
onDemandPercentageAboveBaseCapacity: 0
namePrefix: string
networkTrafficMode: string
period: 0
preScript: string
projectName: string
publicAccessConfig:
bandwidth: 0
billingType: 0
isp: string
publicAccessEnabled: false
security:
login:
password: string
sshKeyPairName: string
type: string
securityGroupIds:
- string
securityStrategies:
- string
securityStrategyEnabled: false
spotStrategy: string
subnetIds:
- string
systemVolume:
placementGroupId: string
size: 0
subgroupNumber: 0
type: string
tags:
- key: string
value: string
retainResources:
- string
tags:
- key: string
value: string
NodePool 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 NodePool resource accepts the following input properties:
- Cluster
Id string - ID of the cluster where the node pool resides. You can call the ListClusters API to obtain the cluster ID. Note: The cluster must be in {Running,[Ok]} or {Updating,[Progressing]} status.
- Auto
Scaling Volcengine.Node Pool Auto Scaling - Node pool scaling policy configuration.
- Kubernetes
Config Volcengine.Node Pool Kubernetes Config - Kubernetes-related configuration for the node pool
- Management
Volcengine.
Node Pool Management - Managed node pool configuration
- Name string
- Node pool name. Within the same cluster, node pool names must be unique. Supports English letters (upper and lower case), Chinese characters, numbers, and hyphens (-). Length must be between 2 and 64 characters. Note: The reserved default node pool name vke-default-nodepool cannot be used.
- Node
Config Volcengine.Node Pool Node Config - Cloud server (ECS) instance configuration in the node pool
- Retain
Resources List<string> - When deleting a node pool, specify related resources to retain. Values: Empty value (default): delete associated resources Ecs: when deleting the node pool, retain ECS instances in the node pool. If the node pool contains prepaid ECS instances and retaining ECS is not selected, this API only removes the ECS instance from the node pool and does not delete it. You can query the instance via the ECS console or ECS API and perform subsequent operations as needed.
-
List<Volcengine.
Node Pool Tag> - Custom resource tags for classifying, searching, and aggregating node pools with similar characteristics from different dimensions, enabling flexible node pool management. Note: Each Key in Tags must be unique; if a resource already has the same Tags.Key, rebinding will not cause an error and will update to the latest Tags.Value; a single resource supports up to 50 Tags; do not enter spaces at the beginning or end of Keys or Values in Tags. Important Note: When using SetNestedAttribute, you must fully define all attributes of its nested structure. Incomplete definitions may cause Terraform to detect unexpected differences during plan comparison, triggering unnecessary resource updates and affecting resource stability and predictability.
- Cluster
Id string - ID of the cluster where the node pool resides. You can call the ListClusters API to obtain the cluster ID. Note: The cluster must be in {Running,[Ok]} or {Updating,[Progressing]} status.
- Auto
Scaling NodePool Auto Scaling Args - Node pool scaling policy configuration.
- Kubernetes
Config NodePool Kubernetes Config Args - Kubernetes-related configuration for the node pool
- Management
Node
Pool Management Args - Managed node pool configuration
- Name string
- Node pool name. Within the same cluster, node pool names must be unique. Supports English letters (upper and lower case), Chinese characters, numbers, and hyphens (-). Length must be between 2 and 64 characters. Note: The reserved default node pool name vke-default-nodepool cannot be used.
- Node
Config NodePool Node Config Args - Cloud server (ECS) instance configuration in the node pool
- Retain
Resources []string - When deleting a node pool, specify related resources to retain. Values: Empty value (default): delete associated resources Ecs: when deleting the node pool, retain ECS instances in the node pool. If the node pool contains prepaid ECS instances and retaining ECS is not selected, this API only removes the ECS instance from the node pool and does not delete it. You can query the instance via the ECS console or ECS API and perform subsequent operations as needed.
-
[]Node
Pool Tag Args - Custom resource tags for classifying, searching, and aggregating node pools with similar characteristics from different dimensions, enabling flexible node pool management. Note: Each Key in Tags must be unique; if a resource already has the same Tags.Key, rebinding will not cause an error and will update to the latest Tags.Value; a single resource supports up to 50 Tags; do not enter spaces at the beginning or end of Keys or Values in Tags. Important Note: When using SetNestedAttribute, you must fully define all attributes of its nested structure. Incomplete definitions may cause Terraform to detect unexpected differences during plan comparison, triggering unnecessary resource updates and affecting resource stability and predictability.
- cluster_
id string - ID of the cluster where the node pool resides. You can call the ListClusters API to obtain the cluster ID. Note: The cluster must be in {Running,[Ok]} or {Updating,[Progressing]} status.
- auto_
scaling object - Node pool scaling policy configuration.
- kubernetes_
config object - Kubernetes-related configuration for the node pool
- management object
- Managed node pool configuration
- name string
- Node pool name. Within the same cluster, node pool names must be unique. Supports English letters (upper and lower case), Chinese characters, numbers, and hyphens (-). Length must be between 2 and 64 characters. Note: The reserved default node pool name vke-default-nodepool cannot be used.
- node_
config object - Cloud server (ECS) instance configuration in the node pool
- retain_
resources list(string) - When deleting a node pool, specify related resources to retain. Values: Empty value (default): delete associated resources Ecs: when deleting the node pool, retain ECS instances in the node pool. If the node pool contains prepaid ECS instances and retaining ECS is not selected, this API only removes the ECS instance from the node pool and does not delete it. You can query the instance via the ECS console or ECS API and perform subsequent operations as needed.
- list(object)
- Custom resource tags for classifying, searching, and aggregating node pools with similar characteristics from different dimensions, enabling flexible node pool management. Note: Each Key in Tags must be unique; if a resource already has the same Tags.Key, rebinding will not cause an error and will update to the latest Tags.Value; a single resource supports up to 50 Tags; do not enter spaces at the beginning or end of Keys or Values in Tags. Important Note: When using SetNestedAttribute, you must fully define all attributes of its nested structure. Incomplete definitions may cause Terraform to detect unexpected differences during plan comparison, triggering unnecessary resource updates and affecting resource stability and predictability.
- cluster
Id String - ID of the cluster where the node pool resides. You can call the ListClusters API to obtain the cluster ID. Note: The cluster must be in {Running,[Ok]} or {Updating,[Progressing]} status.
- auto
Scaling NodePool Auto Scaling - Node pool scaling policy configuration.
- kubernetes
Config NodePool Kubernetes Config - Kubernetes-related configuration for the node pool
- management
Node
Pool Management - Managed node pool configuration
- name String
- Node pool name. Within the same cluster, node pool names must be unique. Supports English letters (upper and lower case), Chinese characters, numbers, and hyphens (-). Length must be between 2 and 64 characters. Note: The reserved default node pool name vke-default-nodepool cannot be used.
- node
Config NodePool Node Config - Cloud server (ECS) instance configuration in the node pool
- retain
Resources List<String> - When deleting a node pool, specify related resources to retain. Values: Empty value (default): delete associated resources Ecs: when deleting the node pool, retain ECS instances in the node pool. If the node pool contains prepaid ECS instances and retaining ECS is not selected, this API only removes the ECS instance from the node pool and does not delete it. You can query the instance via the ECS console or ECS API and perform subsequent operations as needed.
-
List<Node
Pool Tag> - Custom resource tags for classifying, searching, and aggregating node pools with similar characteristics from different dimensions, enabling flexible node pool management. Note: Each Key in Tags must be unique; if a resource already has the same Tags.Key, rebinding will not cause an error and will update to the latest Tags.Value; a single resource supports up to 50 Tags; do not enter spaces at the beginning or end of Keys or Values in Tags. Important Note: When using SetNestedAttribute, you must fully define all attributes of its nested structure. Incomplete definitions may cause Terraform to detect unexpected differences during plan comparison, triggering unnecessary resource updates and affecting resource stability and predictability.
- cluster
Id string - ID of the cluster where the node pool resides. You can call the ListClusters API to obtain the cluster ID. Note: The cluster must be in {Running,[Ok]} or {Updating,[Progressing]} status.
- auto
Scaling NodePool Auto Scaling - Node pool scaling policy configuration.
- kubernetes
Config NodePool Kubernetes Config - Kubernetes-related configuration for the node pool
- management
Node
Pool Management - Managed node pool configuration
- name string
- Node pool name. Within the same cluster, node pool names must be unique. Supports English letters (upper and lower case), Chinese characters, numbers, and hyphens (-). Length must be between 2 and 64 characters. Note: The reserved default node pool name vke-default-nodepool cannot be used.
- node
Config NodePool Node Config - Cloud server (ECS) instance configuration in the node pool
- retain
Resources string[] - When deleting a node pool, specify related resources to retain. Values: Empty value (default): delete associated resources Ecs: when deleting the node pool, retain ECS instances in the node pool. If the node pool contains prepaid ECS instances and retaining ECS is not selected, this API only removes the ECS instance from the node pool and does not delete it. You can query the instance via the ECS console or ECS API and perform subsequent operations as needed.
-
Node
Pool Tag[] - Custom resource tags for classifying, searching, and aggregating node pools with similar characteristics from different dimensions, enabling flexible node pool management. Note: Each Key in Tags must be unique; if a resource already has the same Tags.Key, rebinding will not cause an error and will update to the latest Tags.Value; a single resource supports up to 50 Tags; do not enter spaces at the beginning or end of Keys or Values in Tags. Important Note: When using SetNestedAttribute, you must fully define all attributes of its nested structure. Incomplete definitions may cause Terraform to detect unexpected differences during plan comparison, triggering unnecessary resource updates and affecting resource stability and predictability.
- cluster_
id str - ID of the cluster where the node pool resides. You can call the ListClusters API to obtain the cluster ID. Note: The cluster must be in {Running,[Ok]} or {Updating,[Progressing]} status.
- auto_
scaling NodePool Auto Scaling Args - Node pool scaling policy configuration.
- kubernetes_
config NodePool Kubernetes Config Args - Kubernetes-related configuration for the node pool
- management
Node
Pool Management Args - Managed node pool configuration
- name str
- Node pool name. Within the same cluster, node pool names must be unique. Supports English letters (upper and lower case), Chinese characters, numbers, and hyphens (-). Length must be between 2 and 64 characters. Note: The reserved default node pool name vke-default-nodepool cannot be used.
- node_
config NodePool Node Config Args - Cloud server (ECS) instance configuration in the node pool
- retain_
resources Sequence[str] - When deleting a node pool, specify related resources to retain. Values: Empty value (default): delete associated resources Ecs: when deleting the node pool, retain ECS instances in the node pool. If the node pool contains prepaid ECS instances and retaining ECS is not selected, this API only removes the ECS instance from the node pool and does not delete it. You can query the instance via the ECS console or ECS API and perform subsequent operations as needed.
-
Sequence[Node
Pool Tag Args] - Custom resource tags for classifying, searching, and aggregating node pools with similar characteristics from different dimensions, enabling flexible node pool management. Note: Each Key in Tags must be unique; if a resource already has the same Tags.Key, rebinding will not cause an error and will update to the latest Tags.Value; a single resource supports up to 50 Tags; do not enter spaces at the beginning or end of Keys or Values in Tags. Important Note: When using SetNestedAttribute, you must fully define all attributes of its nested structure. Incomplete definitions may cause Terraform to detect unexpected differences during plan comparison, triggering unnecessary resource updates and affecting resource stability and predictability.
- cluster
Id String - ID of the cluster where the node pool resides. You can call the ListClusters API to obtain the cluster ID. Note: The cluster must be in {Running,[Ok]} or {Updating,[Progressing]} status.
- auto
Scaling Property Map - Node pool scaling policy configuration.
- kubernetes
Config Property Map - Kubernetes-related configuration for the node pool
- management Property Map
- Managed node pool configuration
- name String
- Node pool name. Within the same cluster, node pool names must be unique. Supports English letters (upper and lower case), Chinese characters, numbers, and hyphens (-). Length must be between 2 and 64 characters. Note: The reserved default node pool name vke-default-nodepool cannot be used.
- node
Config Property Map - Cloud server (ECS) instance configuration in the node pool
- retain
Resources List<String> - When deleting a node pool, specify related resources to retain. Values: Empty value (default): delete associated resources Ecs: when deleting the node pool, retain ECS instances in the node pool. If the node pool contains prepaid ECS instances and retaining ECS is not selected, this API only removes the ECS instance from the node pool and does not delete it. You can query the instance via the ECS console or ECS API and perform subsequent operations as needed.
- List<Property Map>
- Custom resource tags for classifying, searching, and aggregating node pools with similar characteristics from different dimensions, enabling flexible node pool management. Note: Each Key in Tags must be unique; if a resource already has the same Tags.Key, rebinding will not cause an error and will update to the latest Tags.Value; a single resource supports up to 50 Tags; do not enter spaces at the beginning or end of Keys or Values in Tags. Important Note: When using SetNestedAttribute, you must fully define all attributes of its nested structure. Incomplete definitions may cause Terraform to detect unexpected differences during plan comparison, triggering unnecessary resource updates and affecting resource stability and predictability.
Outputs
All input properties are implicitly available as output properties. Additionally, the NodePool resource produces the following output properties:
- Created
Time string - Node pool creation time
- Id string
- The provider-assigned unique ID for this managed resource.
- Node
Pool stringId - Node pool ID
- Node
Statistics Volcengine.Node Pool Node Statistics - Node statistics in the node pool.
- Status
Volcengine.
Node Pool Status - Node pool status
- Updated
Time string - Node pool update time
- Created
Time string - Node pool creation time
- Id string
- The provider-assigned unique ID for this managed resource.
- Node
Pool stringId - Node pool ID
- Node
Statistics NodePool Node Statistics - Node statistics in the node pool.
- Status
Node
Pool Status - Node pool status
- Updated
Time string - Node pool update time
- created_
time string - Node pool creation time
- id string
- The provider-assigned unique ID for this managed resource.
- node_
pool_ stringid - Node pool ID
- node_
statistics object - Node statistics in the node pool.
- status object
- Node pool status
- updated_
time string - Node pool update time
- created
Time String - Node pool creation time
- id String
- The provider-assigned unique ID for this managed resource.
- node
Pool StringId - Node pool ID
- node
Statistics NodePool Node Statistics - Node statistics in the node pool.
- status
Node
Pool Status - Node pool status
- updated
Time String - Node pool update time
- created
Time string - Node pool creation time
- id string
- The provider-assigned unique ID for this managed resource.
- node
Pool stringId - Node pool ID
- node
Statistics NodePool Node Statistics - Node statistics in the node pool.
- status
Node
Pool Status - Node pool status
- updated
Time string - Node pool update time
- created_
time str - Node pool creation time
- id str
- The provider-assigned unique ID for this managed resource.
- node_
pool_ strid - Node pool ID
- node_
statistics NodePool Node Statistics - Node statistics in the node pool.
- status
Node
Pool Status - Node pool status
- updated_
time str - Node pool update time
- created
Time String - Node pool creation time
- id String
- The provider-assigned unique ID for this managed resource.
- node
Pool StringId - Node pool ID
- node
Statistics Property Map - Node statistics in the node pool.
- status Property Map
- Node pool status
- updated
Time String - Node pool update time
Look up Existing NodePool Resource
Get an existing NodePool 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?: NodePoolState, opts?: CustomResourceOptions): NodePool@staticmethod
def get(resource_name: str,
id: str,
opts: Optional[ResourceOptions] = None,
auto_scaling: Optional[NodePoolAutoScalingArgs] = None,
cluster_id: Optional[str] = None,
created_time: Optional[str] = None,
kubernetes_config: Optional[NodePoolKubernetesConfigArgs] = None,
management: Optional[NodePoolManagementArgs] = None,
name: Optional[str] = None,
node_config: Optional[NodePoolNodeConfigArgs] = None,
node_pool_id: Optional[str] = None,
node_statistics: Optional[NodePoolNodeStatisticsArgs] = None,
retain_resources: Optional[Sequence[str]] = None,
status: Optional[NodePoolStatusArgs] = None,
tags: Optional[Sequence[NodePoolTagArgs]] = None,
updated_time: Optional[str] = None) -> NodePoolfunc GetNodePool(ctx *Context, name string, id IDInput, state *NodePoolState, opts ...ResourceOption) (*NodePool, error)public static NodePool Get(string name, Input<string> id, NodePoolState? state, CustomResourceOptions? opts = null)public static NodePool get(String name, Output<String> id, NodePoolState state, CustomResourceOptions options)resources: _: type: volcenginecc:vke:NodePool get: id: ${id}import {
to = volcenginecc_vke_node_pool.example
id = "${id}"
}
- name
- The unique name of the resulting resource.
- id
- The unique provider ID of the resource to lookup.
- state
- Any extra arguments used during the lookup.
- opts
- A bag of options that control this resource's behavior.
- resource_name
- The unique name of the resulting resource.
- id
- The unique provider ID of the resource to lookup.
- name
- The unique name of the resulting resource.
- id
- The unique provider ID of the resource to lookup.
- state
- Any extra arguments used during the lookup.
- opts
- A bag of options that control this resource's behavior.
- name
- The unique name of the resulting resource.
- id
- The unique provider ID of the resource to lookup.
- state
- Any extra arguments used during the lookup.
- opts
- A bag of options that control this resource's behavior.
- name
- The unique name of the resulting resource.
- id
- The unique provider ID of the resource to lookup.
- state
- Any extra arguments used during the lookup.
- opts
- A bag of options that control this resource's behavior.
- Auto
Scaling Volcengine.Node Pool Auto Scaling - Node pool scaling policy configuration.
- Cluster
Id string - ID of the cluster where the node pool resides. You can call the ListClusters API to obtain the cluster ID. Note: The cluster must be in {Running,[Ok]} or {Updating,[Progressing]} status.
- Created
Time string - Node pool creation time
- Kubernetes
Config Volcengine.Node Pool Kubernetes Config - Kubernetes-related configuration for the node pool
- Management
Volcengine.
Node Pool Management - Managed node pool configuration
- Name string
- Node pool name. Within the same cluster, node pool names must be unique. Supports English letters (upper and lower case), Chinese characters, numbers, and hyphens (-). Length must be between 2 and 64 characters. Note: The reserved default node pool name vke-default-nodepool cannot be used.
- Node
Config Volcengine.Node Pool Node Config - Cloud server (ECS) instance configuration in the node pool
- Node
Pool stringId - Node pool ID
- Node
Statistics Volcengine.Node Pool Node Statistics - Node statistics in the node pool.
- Retain
Resources List<string> - When deleting a node pool, specify related resources to retain. Values: Empty value (default): delete associated resources Ecs: when deleting the node pool, retain ECS instances in the node pool. If the node pool contains prepaid ECS instances and retaining ECS is not selected, this API only removes the ECS instance from the node pool and does not delete it. You can query the instance via the ECS console or ECS API and perform subsequent operations as needed.
- Status
Volcengine.
Node Pool Status - Node pool status
-
List<Volcengine.
Node Pool Tag> - Custom resource tags for classifying, searching, and aggregating node pools with similar characteristics from different dimensions, enabling flexible node pool management. Note: Each Key in Tags must be unique; if a resource already has the same Tags.Key, rebinding will not cause an error and will update to the latest Tags.Value; a single resource supports up to 50 Tags; do not enter spaces at the beginning or end of Keys or Values in Tags. Important Note: When using SetNestedAttribute, you must fully define all attributes of its nested structure. Incomplete definitions may cause Terraform to detect unexpected differences during plan comparison, triggering unnecessary resource updates and affecting resource stability and predictability.
- Updated
Time string - Node pool update time
- Auto
Scaling NodePool Auto Scaling Args - Node pool scaling policy configuration.
- Cluster
Id string - ID of the cluster where the node pool resides. You can call the ListClusters API to obtain the cluster ID. Note: The cluster must be in {Running,[Ok]} or {Updating,[Progressing]} status.
- Created
Time string - Node pool creation time
- Kubernetes
Config NodePool Kubernetes Config Args - Kubernetes-related configuration for the node pool
- Management
Node
Pool Management Args - Managed node pool configuration
- Name string
- Node pool name. Within the same cluster, node pool names must be unique. Supports English letters (upper and lower case), Chinese characters, numbers, and hyphens (-). Length must be between 2 and 64 characters. Note: The reserved default node pool name vke-default-nodepool cannot be used.
- Node
Config NodePool Node Config Args - Cloud server (ECS) instance configuration in the node pool
- Node
Pool stringId - Node pool ID
- Node
Statistics NodePool Node Statistics Args - Node statistics in the node pool.
- Retain
Resources []string - When deleting a node pool, specify related resources to retain. Values: Empty value (default): delete associated resources Ecs: when deleting the node pool, retain ECS instances in the node pool. If the node pool contains prepaid ECS instances and retaining ECS is not selected, this API only removes the ECS instance from the node pool and does not delete it. You can query the instance via the ECS console or ECS API and perform subsequent operations as needed.
- Status
Node
Pool Status Args - Node pool status
-
[]Node
Pool Tag Args - Custom resource tags for classifying, searching, and aggregating node pools with similar characteristics from different dimensions, enabling flexible node pool management. Note: Each Key in Tags must be unique; if a resource already has the same Tags.Key, rebinding will not cause an error and will update to the latest Tags.Value; a single resource supports up to 50 Tags; do not enter spaces at the beginning or end of Keys or Values in Tags. Important Note: When using SetNestedAttribute, you must fully define all attributes of its nested structure. Incomplete definitions may cause Terraform to detect unexpected differences during plan comparison, triggering unnecessary resource updates and affecting resource stability and predictability.
- Updated
Time string - Node pool update time
- auto_
scaling object - Node pool scaling policy configuration.
- cluster_
id string - ID of the cluster where the node pool resides. You can call the ListClusters API to obtain the cluster ID. Note: The cluster must be in {Running,[Ok]} or {Updating,[Progressing]} status.
- created_
time string - Node pool creation time
- kubernetes_
config object - Kubernetes-related configuration for the node pool
- management object
- Managed node pool configuration
- name string
- Node pool name. Within the same cluster, node pool names must be unique. Supports English letters (upper and lower case), Chinese characters, numbers, and hyphens (-). Length must be between 2 and 64 characters. Note: The reserved default node pool name vke-default-nodepool cannot be used.
- node_
config object - Cloud server (ECS) instance configuration in the node pool
- node_
pool_ stringid - Node pool ID
- node_
statistics object - Node statistics in the node pool.
- retain_
resources list(string) - When deleting a node pool, specify related resources to retain. Values: Empty value (default): delete associated resources Ecs: when deleting the node pool, retain ECS instances in the node pool. If the node pool contains prepaid ECS instances and retaining ECS is not selected, this API only removes the ECS instance from the node pool and does not delete it. You can query the instance via the ECS console or ECS API and perform subsequent operations as needed.
- status object
- Node pool status
- list(object)
- Custom resource tags for classifying, searching, and aggregating node pools with similar characteristics from different dimensions, enabling flexible node pool management. Note: Each Key in Tags must be unique; if a resource already has the same Tags.Key, rebinding will not cause an error and will update to the latest Tags.Value; a single resource supports up to 50 Tags; do not enter spaces at the beginning or end of Keys or Values in Tags. Important Note: When using SetNestedAttribute, you must fully define all attributes of its nested structure. Incomplete definitions may cause Terraform to detect unexpected differences during plan comparison, triggering unnecessary resource updates and affecting resource stability and predictability.
- updated_
time string - Node pool update time
- auto
Scaling NodePool Auto Scaling - Node pool scaling policy configuration.
- cluster
Id String - ID of the cluster where the node pool resides. You can call the ListClusters API to obtain the cluster ID. Note: The cluster must be in {Running,[Ok]} or {Updating,[Progressing]} status.
- created
Time String - Node pool creation time
- kubernetes
Config NodePool Kubernetes Config - Kubernetes-related configuration for the node pool
- management
Node
Pool Management - Managed node pool configuration
- name String
- Node pool name. Within the same cluster, node pool names must be unique. Supports English letters (upper and lower case), Chinese characters, numbers, and hyphens (-). Length must be between 2 and 64 characters. Note: The reserved default node pool name vke-default-nodepool cannot be used.
- node
Config NodePool Node Config - Cloud server (ECS) instance configuration in the node pool
- node
Pool StringId - Node pool ID
- node
Statistics NodePool Node Statistics - Node statistics in the node pool.
- retain
Resources List<String> - When deleting a node pool, specify related resources to retain. Values: Empty value (default): delete associated resources Ecs: when deleting the node pool, retain ECS instances in the node pool. If the node pool contains prepaid ECS instances and retaining ECS is not selected, this API only removes the ECS instance from the node pool and does not delete it. You can query the instance via the ECS console or ECS API and perform subsequent operations as needed.
- status
Node
Pool Status - Node pool status
-
List<Node
Pool Tag> - Custom resource tags for classifying, searching, and aggregating node pools with similar characteristics from different dimensions, enabling flexible node pool management. Note: Each Key in Tags must be unique; if a resource already has the same Tags.Key, rebinding will not cause an error and will update to the latest Tags.Value; a single resource supports up to 50 Tags; do not enter spaces at the beginning or end of Keys or Values in Tags. Important Note: When using SetNestedAttribute, you must fully define all attributes of its nested structure. Incomplete definitions may cause Terraform to detect unexpected differences during plan comparison, triggering unnecessary resource updates and affecting resource stability and predictability.
- updated
Time String - Node pool update time
- auto
Scaling NodePool Auto Scaling - Node pool scaling policy configuration.
- cluster
Id string - ID of the cluster where the node pool resides. You can call the ListClusters API to obtain the cluster ID. Note: The cluster must be in {Running,[Ok]} or {Updating,[Progressing]} status.
- created
Time string - Node pool creation time
- kubernetes
Config NodePool Kubernetes Config - Kubernetes-related configuration for the node pool
- management
Node
Pool Management - Managed node pool configuration
- name string
- Node pool name. Within the same cluster, node pool names must be unique. Supports English letters (upper and lower case), Chinese characters, numbers, and hyphens (-). Length must be between 2 and 64 characters. Note: The reserved default node pool name vke-default-nodepool cannot be used.
- node
Config NodePool Node Config - Cloud server (ECS) instance configuration in the node pool
- node
Pool stringId - Node pool ID
- node
Statistics NodePool Node Statistics - Node statistics in the node pool.
- retain
Resources string[] - When deleting a node pool, specify related resources to retain. Values: Empty value (default): delete associated resources Ecs: when deleting the node pool, retain ECS instances in the node pool. If the node pool contains prepaid ECS instances and retaining ECS is not selected, this API only removes the ECS instance from the node pool and does not delete it. You can query the instance via the ECS console or ECS API and perform subsequent operations as needed.
- status
Node
Pool Status - Node pool status
-
Node
Pool Tag[] - Custom resource tags for classifying, searching, and aggregating node pools with similar characteristics from different dimensions, enabling flexible node pool management. Note: Each Key in Tags must be unique; if a resource already has the same Tags.Key, rebinding will not cause an error and will update to the latest Tags.Value; a single resource supports up to 50 Tags; do not enter spaces at the beginning or end of Keys or Values in Tags. Important Note: When using SetNestedAttribute, you must fully define all attributes of its nested structure. Incomplete definitions may cause Terraform to detect unexpected differences during plan comparison, triggering unnecessary resource updates and affecting resource stability and predictability.
- updated
Time string - Node pool update time
- auto_
scaling NodePool Auto Scaling Args - Node pool scaling policy configuration.
- cluster_
id str - ID of the cluster where the node pool resides. You can call the ListClusters API to obtain the cluster ID. Note: The cluster must be in {Running,[Ok]} or {Updating,[Progressing]} status.
- created_
time str - Node pool creation time
- kubernetes_
config NodePool Kubernetes Config Args - Kubernetes-related configuration for the node pool
- management
Node
Pool Management Args - Managed node pool configuration
- name str
- Node pool name. Within the same cluster, node pool names must be unique. Supports English letters (upper and lower case), Chinese characters, numbers, and hyphens (-). Length must be between 2 and 64 characters. Note: The reserved default node pool name vke-default-nodepool cannot be used.
- node_
config NodePool Node Config Args - Cloud server (ECS) instance configuration in the node pool
- node_
pool_ strid - Node pool ID
- node_
statistics NodePool Node Statistics Args - Node statistics in the node pool.
- retain_
resources Sequence[str] - When deleting a node pool, specify related resources to retain. Values: Empty value (default): delete associated resources Ecs: when deleting the node pool, retain ECS instances in the node pool. If the node pool contains prepaid ECS instances and retaining ECS is not selected, this API only removes the ECS instance from the node pool and does not delete it. You can query the instance via the ECS console or ECS API and perform subsequent operations as needed.
- status
Node
Pool Status Args - Node pool status
-
Sequence[Node
Pool Tag Args] - Custom resource tags for classifying, searching, and aggregating node pools with similar characteristics from different dimensions, enabling flexible node pool management. Note: Each Key in Tags must be unique; if a resource already has the same Tags.Key, rebinding will not cause an error and will update to the latest Tags.Value; a single resource supports up to 50 Tags; do not enter spaces at the beginning or end of Keys or Values in Tags. Important Note: When using SetNestedAttribute, you must fully define all attributes of its nested structure. Incomplete definitions may cause Terraform to detect unexpected differences during plan comparison, triggering unnecessary resource updates and affecting resource stability and predictability.
- updated_
time str - Node pool update time
- auto
Scaling Property Map - Node pool scaling policy configuration.
- cluster
Id String - ID of the cluster where the node pool resides. You can call the ListClusters API to obtain the cluster ID. Note: The cluster must be in {Running,[Ok]} or {Updating,[Progressing]} status.
- created
Time String - Node pool creation time
- kubernetes
Config Property Map - Kubernetes-related configuration for the node pool
- management Property Map
- Managed node pool configuration
- name String
- Node pool name. Within the same cluster, node pool names must be unique. Supports English letters (upper and lower case), Chinese characters, numbers, and hyphens (-). Length must be between 2 and 64 characters. Note: The reserved default node pool name vke-default-nodepool cannot be used.
- node
Config Property Map - Cloud server (ECS) instance configuration in the node pool
- node
Pool StringId - Node pool ID
- node
Statistics Property Map - Node statistics in the node pool.
- retain
Resources List<String> - When deleting a node pool, specify related resources to retain. Values: Empty value (default): delete associated resources Ecs: when deleting the node pool, retain ECS instances in the node pool. If the node pool contains prepaid ECS instances and retaining ECS is not selected, this API only removes the ECS instance from the node pool and does not delete it. You can query the instance via the ECS console or ECS API and perform subsequent operations as needed.
- status Property Map
- Node pool status
- List<Property Map>
- Custom resource tags for classifying, searching, and aggregating node pools with similar characteristics from different dimensions, enabling flexible node pool management. Note: Each Key in Tags must be unique; if a resource already has the same Tags.Key, rebinding will not cause an error and will update to the latest Tags.Value; a single resource supports up to 50 Tags; do not enter spaces at the beginning or end of Keys or Values in Tags. Important Note: When using SetNestedAttribute, you must fully define all attributes of its nested structure. Incomplete definitions may cause Terraform to detect unexpected differences during plan comparison, triggering unnecessary resource updates and affecting resource stability and predictability.
- updated
Time String - Node pool update time
Supporting Types
NodePoolAutoScaling, NodePoolAutoScalingArgs
- Desired
Replicas int - Configure the expected number of nodes in the node pool. Value description: Default is 0. Range: 0–2000. Note: When auto scaling is enabled for the node pool, DesiredReplicas must be greater than or equal to MinReplicas and less than or equal to MaxReplicas.
- Enabled bool
- Configure the node pool auto scaling feature switch. Parameter values: false (default): disabled. true: enabled.
- Max
Replicas int - Set the maximum number of nodes in the node pool. This takes effect only when auto scaling is enabled (Enabled=true). The number of nodes will not exceed this value during node pool scaling.
- Min
Replicas int - Minimum number of nodes in the node pool. Only effective when node pool auto scaling is enabled (Enabled=true). The number of nodes will not fall below this value during auto scaling.
- Priority int
- Elastic scaling priority of the node pool. Effective only when SubnetPolicy=Priority. The higher the value, the higher the priority.
- Scaling
Group stringId - Scaling group ID associated with the node pool.
- Subnet
Policy string - Multi-subnet scheduling strategy for the node pool. Parameter values: ZoneBalance: availability zone balancing strategy. Priority: subnet priority strategy.
- Desired
Replicas int - Configure the expected number of nodes in the node pool. Value description: Default is 0. Range: 0–2000. Note: When auto scaling is enabled for the node pool, DesiredReplicas must be greater than or equal to MinReplicas and less than or equal to MaxReplicas.
- Enabled bool
- Configure the node pool auto scaling feature switch. Parameter values: false (default): disabled. true: enabled.
- Max
Replicas int - Set the maximum number of nodes in the node pool. This takes effect only when auto scaling is enabled (Enabled=true). The number of nodes will not exceed this value during node pool scaling.
- Min
Replicas int - Minimum number of nodes in the node pool. Only effective when node pool auto scaling is enabled (Enabled=true). The number of nodes will not fall below this value during auto scaling.
- Priority int
- Elastic scaling priority of the node pool. Effective only when SubnetPolicy=Priority. The higher the value, the higher the priority.
- Scaling
Group stringId - Scaling group ID associated with the node pool.
- Subnet
Policy string - Multi-subnet scheduling strategy for the node pool. Parameter values: ZoneBalance: availability zone balancing strategy. Priority: subnet priority strategy.
- desired_
replicas number - Configure the expected number of nodes in the node pool. Value description: Default is 0. Range: 0–2000. Note: When auto scaling is enabled for the node pool, DesiredReplicas must be greater than or equal to MinReplicas and less than or equal to MaxReplicas.
- enabled bool
- Configure the node pool auto scaling feature switch. Parameter values: false (default): disabled. true: enabled.
- max_
replicas number - Set the maximum number of nodes in the node pool. This takes effect only when auto scaling is enabled (Enabled=true). The number of nodes will not exceed this value during node pool scaling.
- min_
replicas number - Minimum number of nodes in the node pool. Only effective when node pool auto scaling is enabled (Enabled=true). The number of nodes will not fall below this value during auto scaling.
- priority number
- Elastic scaling priority of the node pool. Effective only when SubnetPolicy=Priority. The higher the value, the higher the priority.
- scaling_
group_ stringid - Scaling group ID associated with the node pool.
- subnet_
policy string - Multi-subnet scheduling strategy for the node pool. Parameter values: ZoneBalance: availability zone balancing strategy. Priority: subnet priority strategy.
- desired
Replicas Integer - Configure the expected number of nodes in the node pool. Value description: Default is 0. Range: 0–2000. Note: When auto scaling is enabled for the node pool, DesiredReplicas must be greater than or equal to MinReplicas and less than or equal to MaxReplicas.
- enabled Boolean
- Configure the node pool auto scaling feature switch. Parameter values: false (default): disabled. true: enabled.
- max
Replicas Integer - Set the maximum number of nodes in the node pool. This takes effect only when auto scaling is enabled (Enabled=true). The number of nodes will not exceed this value during node pool scaling.
- min
Replicas Integer - Minimum number of nodes in the node pool. Only effective when node pool auto scaling is enabled (Enabled=true). The number of nodes will not fall below this value during auto scaling.
- priority Integer
- Elastic scaling priority of the node pool. Effective only when SubnetPolicy=Priority. The higher the value, the higher the priority.
- scaling
Group StringId - Scaling group ID associated with the node pool.
- subnet
Policy String - Multi-subnet scheduling strategy for the node pool. Parameter values: ZoneBalance: availability zone balancing strategy. Priority: subnet priority strategy.
- desired
Replicas number - Configure the expected number of nodes in the node pool. Value description: Default is 0. Range: 0–2000. Note: When auto scaling is enabled for the node pool, DesiredReplicas must be greater than or equal to MinReplicas and less than or equal to MaxReplicas.
- enabled boolean
- Configure the node pool auto scaling feature switch. Parameter values: false (default): disabled. true: enabled.
- max
Replicas number - Set the maximum number of nodes in the node pool. This takes effect only when auto scaling is enabled (Enabled=true). The number of nodes will not exceed this value during node pool scaling.
- min
Replicas number - Minimum number of nodes in the node pool. Only effective when node pool auto scaling is enabled (Enabled=true). The number of nodes will not fall below this value during auto scaling.
- priority number
- Elastic scaling priority of the node pool. Effective only when SubnetPolicy=Priority. The higher the value, the higher the priority.
- scaling
Group stringId - Scaling group ID associated with the node pool.
- subnet
Policy string - Multi-subnet scheduling strategy for the node pool. Parameter values: ZoneBalance: availability zone balancing strategy. Priority: subnet priority strategy.
- desired_
replicas int - Configure the expected number of nodes in the node pool. Value description: Default is 0. Range: 0–2000. Note: When auto scaling is enabled for the node pool, DesiredReplicas must be greater than or equal to MinReplicas and less than or equal to MaxReplicas.
- enabled bool
- Configure the node pool auto scaling feature switch. Parameter values: false (default): disabled. true: enabled.
- max_
replicas int - Set the maximum number of nodes in the node pool. This takes effect only when auto scaling is enabled (Enabled=true). The number of nodes will not exceed this value during node pool scaling.
- min_
replicas int - Minimum number of nodes in the node pool. Only effective when node pool auto scaling is enabled (Enabled=true). The number of nodes will not fall below this value during auto scaling.
- priority int
- Elastic scaling priority of the node pool. Effective only when SubnetPolicy=Priority. The higher the value, the higher the priority.
- scaling_
group_ strid - Scaling group ID associated with the node pool.
- subnet_
policy str - Multi-subnet scheduling strategy for the node pool. Parameter values: ZoneBalance: availability zone balancing strategy. Priority: subnet priority strategy.
- desired
Replicas Number - Configure the expected number of nodes in the node pool. Value description: Default is 0. Range: 0–2000. Note: When auto scaling is enabled for the node pool, DesiredReplicas must be greater than or equal to MinReplicas and less than or equal to MaxReplicas.
- enabled Boolean
- Configure the node pool auto scaling feature switch. Parameter values: false (default): disabled. true: enabled.
- max
Replicas Number - Set the maximum number of nodes in the node pool. This takes effect only when auto scaling is enabled (Enabled=true). The number of nodes will not exceed this value during node pool scaling.
- min
Replicas Number - Minimum number of nodes in the node pool. Only effective when node pool auto scaling is enabled (Enabled=true). The number of nodes will not fall below this value during auto scaling.
- priority Number
- Elastic scaling priority of the node pool. Effective only when SubnetPolicy=Priority. The higher the value, the higher the priority.
- scaling
Group StringId - Scaling group ID associated with the node pool.
- subnet
Policy String - Multi-subnet scheduling strategy for the node pool. Parameter values: ZoneBalance: availability zone balancing strategy. Priority: subnet priority strategy.
NodePoolKubernetesConfig, NodePoolKubernetesConfigArgs
- Auto
Sync boolDisabled - Disable automatic synchronization of labels and taints to existing nodes. Parameter value description: true: Disable, i.e., turn off automatic synchronization. false: (Default) Do not disable, i.e., enable automatic synchronization.
- Containerd
Config Volcengine.Node Pool Kubernetes Config Containerd Config - Node pool Containerd configuration
- Cordon bool
- Node blocking configuration. Options: false: (default) Not blocked. true: Blocked. Note: When updating the node pool (UpdateNodePoolConfig), if no parameter value is provided, the original parameter configuration is retained.
- Kubelet
Config Volcengine.Node Pool Kubernetes Config Kubelet Config - Custom kubelet parameter configuration for nodes in the node pool, used to adjust node behavior.
- Labels
List<Volcengine.
Node Pool Kubernetes Config Label> - Kubernetes label information for the node pool/nodes. Up to 20 labels can be specified. Note: The node pool centrally manages node label configurations, so label information is synchronized to all nodes in the pool. When labels change, the original label configuration will be overwritten. Important Note: When using SetNestedAttribute, you must fully define all attributes of its nested structure. Incomplete definitions may cause Terraform to detect unexpected differences during plan comparison, triggering unnecessary resource updates and affecting resource stability and predictability.
- Name
Prefix string - Prefix for the metadata name of node objects in Kubernetes. Disabled by default. If set, it is enabled and will affect the metadata.name prefix displayed in the Kubernetes Node Manifest file. Prefix validation rules: Supports lowercase English letters, numbers, hyphens (-), and periods (.); must start with a lowercase English letter or number; length must be 1–48 characters.
- Name
Suffix string - Suffix for node object metadata name in Kubernetes
- Name
Use boolHostname - Whether to use the ECS host name as the metadata name for node objects in Kubernetes. Options: true: Use ECS host name as node name. false: Do not use ECS host name as node name. Note: This setting takes precedence over NamePrefix and NameSuffix.
- Taints
List<Volcengine.
Node Pool Kubernetes Config Taint> - Kubernetes taints information for the node pool/nodes. You can specify up to 20 taints. Note: The node pool manages taint configuration uniformly, so taint information is synchronized to all nodes in the pool. When taints are changed, the original taint configuration will be overwritten. Important Note: When using SetNestedAttribute, you must fully define all attributes of its nested structure. Incomplete definitions may cause Terraform to detect unexpected differences during plan comparison, triggering unnecessary resource updates and affecting resource stability and predictability.
- Auto
Sync boolDisabled - Disable automatic synchronization of labels and taints to existing nodes. Parameter value description: true: Disable, i.e., turn off automatic synchronization. false: (Default) Do not disable, i.e., enable automatic synchronization.
- Containerd
Config NodePool Kubernetes Config Containerd Config - Node pool Containerd configuration
- Cordon bool
- Node blocking configuration. Options: false: (default) Not blocked. true: Blocked. Note: When updating the node pool (UpdateNodePoolConfig), if no parameter value is provided, the original parameter configuration is retained.
- Kubelet
Config NodePool Kubernetes Config Kubelet Config - Custom kubelet parameter configuration for nodes in the node pool, used to adjust node behavior.
- Labels
[]Node
Pool Kubernetes Config Label - Kubernetes label information for the node pool/nodes. Up to 20 labels can be specified. Note: The node pool centrally manages node label configurations, so label information is synchronized to all nodes in the pool. When labels change, the original label configuration will be overwritten. Important Note: When using SetNestedAttribute, you must fully define all attributes of its nested structure. Incomplete definitions may cause Terraform to detect unexpected differences during plan comparison, triggering unnecessary resource updates and affecting resource stability and predictability.
- Name
Prefix string - Prefix for the metadata name of node objects in Kubernetes. Disabled by default. If set, it is enabled and will affect the metadata.name prefix displayed in the Kubernetes Node Manifest file. Prefix validation rules: Supports lowercase English letters, numbers, hyphens (-), and periods (.); must start with a lowercase English letter or number; length must be 1–48 characters.
- Name
Suffix string - Suffix for node object metadata name in Kubernetes
- Name
Use boolHostname - Whether to use the ECS host name as the metadata name for node objects in Kubernetes. Options: true: Use ECS host name as node name. false: Do not use ECS host name as node name. Note: This setting takes precedence over NamePrefix and NameSuffix.
- Taints
[]Node
Pool Kubernetes Config Taint - Kubernetes taints information for the node pool/nodes. You can specify up to 20 taints. Note: The node pool manages taint configuration uniformly, so taint information is synchronized to all nodes in the pool. When taints are changed, the original taint configuration will be overwritten. Important Note: When using SetNestedAttribute, you must fully define all attributes of its nested structure. Incomplete definitions may cause Terraform to detect unexpected differences during plan comparison, triggering unnecessary resource updates and affecting resource stability and predictability.
- auto_
sync_ booldisabled - Disable automatic synchronization of labels and taints to existing nodes. Parameter value description: true: Disable, i.e., turn off automatic synchronization. false: (Default) Do not disable, i.e., enable automatic synchronization.
- containerd_
config object - Node pool Containerd configuration
- cordon bool
- Node blocking configuration. Options: false: (default) Not blocked. true: Blocked. Note: When updating the node pool (UpdateNodePoolConfig), if no parameter value is provided, the original parameter configuration is retained.
- kubelet_
config object - Custom kubelet parameter configuration for nodes in the node pool, used to adjust node behavior.
- labels list(object)
- Kubernetes label information for the node pool/nodes. Up to 20 labels can be specified. Note: The node pool centrally manages node label configurations, so label information is synchronized to all nodes in the pool. When labels change, the original label configuration will be overwritten. Important Note: When using SetNestedAttribute, you must fully define all attributes of its nested structure. Incomplete definitions may cause Terraform to detect unexpected differences during plan comparison, triggering unnecessary resource updates and affecting resource stability and predictability.
- name_
prefix string - Prefix for the metadata name of node objects in Kubernetes. Disabled by default. If set, it is enabled and will affect the metadata.name prefix displayed in the Kubernetes Node Manifest file. Prefix validation rules: Supports lowercase English letters, numbers, hyphens (-), and periods (.); must start with a lowercase English letter or number; length must be 1–48 characters.
- name_
suffix string - Suffix for node object metadata name in Kubernetes
- name_
use_ boolhostname - Whether to use the ECS host name as the metadata name for node objects in Kubernetes. Options: true: Use ECS host name as node name. false: Do not use ECS host name as node name. Note: This setting takes precedence over NamePrefix and NameSuffix.
- taints list(object)
- Kubernetes taints information for the node pool/nodes. You can specify up to 20 taints. Note: The node pool manages taint configuration uniformly, so taint information is synchronized to all nodes in the pool. When taints are changed, the original taint configuration will be overwritten. Important Note: When using SetNestedAttribute, you must fully define all attributes of its nested structure. Incomplete definitions may cause Terraform to detect unexpected differences during plan comparison, triggering unnecessary resource updates and affecting resource stability and predictability.
- auto
Sync BooleanDisabled - Disable automatic synchronization of labels and taints to existing nodes. Parameter value description: true: Disable, i.e., turn off automatic synchronization. false: (Default) Do not disable, i.e., enable automatic synchronization.
- containerd
Config NodePool Kubernetes Config Containerd Config - Node pool Containerd configuration
- cordon Boolean
- Node blocking configuration. Options: false: (default) Not blocked. true: Blocked. Note: When updating the node pool (UpdateNodePoolConfig), if no parameter value is provided, the original parameter configuration is retained.
- kubelet
Config NodePool Kubernetes Config Kubelet Config - Custom kubelet parameter configuration for nodes in the node pool, used to adjust node behavior.
- labels
List<Node
Pool Kubernetes Config Label> - Kubernetes label information for the node pool/nodes. Up to 20 labels can be specified. Note: The node pool centrally manages node label configurations, so label information is synchronized to all nodes in the pool. When labels change, the original label configuration will be overwritten. Important Note: When using SetNestedAttribute, you must fully define all attributes of its nested structure. Incomplete definitions may cause Terraform to detect unexpected differences during plan comparison, triggering unnecessary resource updates and affecting resource stability and predictability.
- name
Prefix String - Prefix for the metadata name of node objects in Kubernetes. Disabled by default. If set, it is enabled and will affect the metadata.name prefix displayed in the Kubernetes Node Manifest file. Prefix validation rules: Supports lowercase English letters, numbers, hyphens (-), and periods (.); must start with a lowercase English letter or number; length must be 1–48 characters.
- name
Suffix String - Suffix for node object metadata name in Kubernetes
- name
Use BooleanHostname - Whether to use the ECS host name as the metadata name for node objects in Kubernetes. Options: true: Use ECS host name as node name. false: Do not use ECS host name as node name. Note: This setting takes precedence over NamePrefix and NameSuffix.
- taints
List<Node
Pool Kubernetes Config Taint> - Kubernetes taints information for the node pool/nodes. You can specify up to 20 taints. Note: The node pool manages taint configuration uniformly, so taint information is synchronized to all nodes in the pool. When taints are changed, the original taint configuration will be overwritten. Important Note: When using SetNestedAttribute, you must fully define all attributes of its nested structure. Incomplete definitions may cause Terraform to detect unexpected differences during plan comparison, triggering unnecessary resource updates and affecting resource stability and predictability.
- auto
Sync booleanDisabled - Disable automatic synchronization of labels and taints to existing nodes. Parameter value description: true: Disable, i.e., turn off automatic synchronization. false: (Default) Do not disable, i.e., enable automatic synchronization.
- containerd
Config NodePool Kubernetes Config Containerd Config - Node pool Containerd configuration
- cordon boolean
- Node blocking configuration. Options: false: (default) Not blocked. true: Blocked. Note: When updating the node pool (UpdateNodePoolConfig), if no parameter value is provided, the original parameter configuration is retained.
- kubelet
Config NodePool Kubernetes Config Kubelet Config - Custom kubelet parameter configuration for nodes in the node pool, used to adjust node behavior.
- labels
Node
Pool Kubernetes Config Label[] - Kubernetes label information for the node pool/nodes. Up to 20 labels can be specified. Note: The node pool centrally manages node label configurations, so label information is synchronized to all nodes in the pool. When labels change, the original label configuration will be overwritten. Important Note: When using SetNestedAttribute, you must fully define all attributes of its nested structure. Incomplete definitions may cause Terraform to detect unexpected differences during plan comparison, triggering unnecessary resource updates and affecting resource stability and predictability.
- name
Prefix string - Prefix for the metadata name of node objects in Kubernetes. Disabled by default. If set, it is enabled and will affect the metadata.name prefix displayed in the Kubernetes Node Manifest file. Prefix validation rules: Supports lowercase English letters, numbers, hyphens (-), and periods (.); must start with a lowercase English letter or number; length must be 1–48 characters.
- name
Suffix string - Suffix for node object metadata name in Kubernetes
- name
Use booleanHostname - Whether to use the ECS host name as the metadata name for node objects in Kubernetes. Options: true: Use ECS host name as node name. false: Do not use ECS host name as node name. Note: This setting takes precedence over NamePrefix and NameSuffix.
- taints
Node
Pool Kubernetes Config Taint[] - Kubernetes taints information for the node pool/nodes. You can specify up to 20 taints. Note: The node pool manages taint configuration uniformly, so taint information is synchronized to all nodes in the pool. When taints are changed, the original taint configuration will be overwritten. Important Note: When using SetNestedAttribute, you must fully define all attributes of its nested structure. Incomplete definitions may cause Terraform to detect unexpected differences during plan comparison, triggering unnecessary resource updates and affecting resource stability and predictability.
- auto_
sync_ booldisabled - Disable automatic synchronization of labels and taints to existing nodes. Parameter value description: true: Disable, i.e., turn off automatic synchronization. false: (Default) Do not disable, i.e., enable automatic synchronization.
- containerd_
config NodePool Kubernetes Config Containerd Config - Node pool Containerd configuration
- cordon bool
- Node blocking configuration. Options: false: (default) Not blocked. true: Blocked. Note: When updating the node pool (UpdateNodePoolConfig), if no parameter value is provided, the original parameter configuration is retained.
- kubelet_
config NodePool Kubernetes Config Kubelet Config - Custom kubelet parameter configuration for nodes in the node pool, used to adjust node behavior.
- labels
Sequence[Node
Pool Kubernetes Config Label] - Kubernetes label information for the node pool/nodes. Up to 20 labels can be specified. Note: The node pool centrally manages node label configurations, so label information is synchronized to all nodes in the pool. When labels change, the original label configuration will be overwritten. Important Note: When using SetNestedAttribute, you must fully define all attributes of its nested structure. Incomplete definitions may cause Terraform to detect unexpected differences during plan comparison, triggering unnecessary resource updates and affecting resource stability and predictability.
- name_
prefix str - Prefix for the metadata name of node objects in Kubernetes. Disabled by default. If set, it is enabled and will affect the metadata.name prefix displayed in the Kubernetes Node Manifest file. Prefix validation rules: Supports lowercase English letters, numbers, hyphens (-), and periods (.); must start with a lowercase English letter or number; length must be 1–48 characters.
- name_
suffix str - Suffix for node object metadata name in Kubernetes
- name_
use_ boolhostname - Whether to use the ECS host name as the metadata name for node objects in Kubernetes. Options: true: Use ECS host name as node name. false: Do not use ECS host name as node name. Note: This setting takes precedence over NamePrefix and NameSuffix.
- taints
Sequence[Node
Pool Kubernetes Config Taint] - Kubernetes taints information for the node pool/nodes. You can specify up to 20 taints. Note: The node pool manages taint configuration uniformly, so taint information is synchronized to all nodes in the pool. When taints are changed, the original taint configuration will be overwritten. Important Note: When using SetNestedAttribute, you must fully define all attributes of its nested structure. Incomplete definitions may cause Terraform to detect unexpected differences during plan comparison, triggering unnecessary resource updates and affecting resource stability and predictability.
- auto
Sync BooleanDisabled - Disable automatic synchronization of labels and taints to existing nodes. Parameter value description: true: Disable, i.e., turn off automatic synchronization. false: (Default) Do not disable, i.e., enable automatic synchronization.
- containerd
Config Property Map - Node pool Containerd configuration
- cordon Boolean
- Node blocking configuration. Options: false: (default) Not blocked. true: Blocked. Note: When updating the node pool (UpdateNodePoolConfig), if no parameter value is provided, the original parameter configuration is retained.
- kubelet
Config Property Map - Custom kubelet parameter configuration for nodes in the node pool, used to adjust node behavior.
- labels List<Property Map>
- Kubernetes label information for the node pool/nodes. Up to 20 labels can be specified. Note: The node pool centrally manages node label configurations, so label information is synchronized to all nodes in the pool. When labels change, the original label configuration will be overwritten. Important Note: When using SetNestedAttribute, you must fully define all attributes of its nested structure. Incomplete definitions may cause Terraform to detect unexpected differences during plan comparison, triggering unnecessary resource updates and affecting resource stability and predictability.
- name
Prefix String - Prefix for the metadata name of node objects in Kubernetes. Disabled by default. If set, it is enabled and will affect the metadata.name prefix displayed in the Kubernetes Node Manifest file. Prefix validation rules: Supports lowercase English letters, numbers, hyphens (-), and periods (.); must start with a lowercase English letter or number; length must be 1–48 characters.
- name
Suffix String - Suffix for node object metadata name in Kubernetes
- name
Use BooleanHostname - Whether to use the ECS host name as the metadata name for node objects in Kubernetes. Options: true: Use ECS host name as node name. false: Do not use ECS host name as node name. Note: This setting takes precedence over NamePrefix and NameSuffix.
- taints List<Property Map>
- Kubernetes taints information for the node pool/nodes. You can specify up to 20 taints. Note: The node pool manages taint configuration uniformly, so taint information is synchronized to all nodes in the pool. When taints are changed, the original taint configuration will be overwritten. Important Note: When using SetNestedAttribute, you must fully define all attributes of its nested structure. Incomplete definitions may cause Terraform to detect unexpected differences during plan comparison, triggering unnecessary resource updates and affecting resource stability and predictability.
NodePoolKubernetesConfigContainerdConfig, NodePoolKubernetesConfigContainerdConfigArgs
- Insecure
Registries List<string> - Specify container image registry addresses to skip certificate authentication. The format is a domain name or IP address without protocol, and can include a port number, for example: example.com or example.com:8080. Supports up to 10 domain names or IP addresses.
- Registry
Proxy List<Volcengine.Configs Node Pool Kubernetes Config Containerd Config Registry Proxy Config> - Container image repository proxy configuration Important Note: When using SetNestedAttribute, you must fully define all attributes of its nested structure. Incomplete definitions may cause Terraform to detect unexpected differences during plan comparison, triggering unnecessary resource updates and affecting resource stability and predictability.
- Insecure
Registries []string - Specify container image registry addresses to skip certificate authentication. The format is a domain name or IP address without protocol, and can include a port number, for example: example.com or example.com:8080. Supports up to 10 domain names or IP addresses.
- Registry
Proxy []NodeConfigs Pool Kubernetes Config Containerd Config Registry Proxy Config - Container image repository proxy configuration Important Note: When using SetNestedAttribute, you must fully define all attributes of its nested structure. Incomplete definitions may cause Terraform to detect unexpected differences during plan comparison, triggering unnecessary resource updates and affecting resource stability and predictability.
- insecure_
registries list(string) - Specify container image registry addresses to skip certificate authentication. The format is a domain name or IP address without protocol, and can include a port number, for example: example.com or example.com:8080. Supports up to 10 domain names or IP addresses.
- registry_
proxy_ list(object)configs - Container image repository proxy configuration Important Note: When using SetNestedAttribute, you must fully define all attributes of its nested structure. Incomplete definitions may cause Terraform to detect unexpected differences during plan comparison, triggering unnecessary resource updates and affecting resource stability and predictability.
- insecure
Registries List<String> - Specify container image registry addresses to skip certificate authentication. The format is a domain name or IP address without protocol, and can include a port number, for example: example.com or example.com:8080. Supports up to 10 domain names or IP addresses.
- registry
Proxy List<NodeConfigs Pool Kubernetes Config Containerd Config Registry Proxy Config> - Container image repository proxy configuration Important Note: When using SetNestedAttribute, you must fully define all attributes of its nested structure. Incomplete definitions may cause Terraform to detect unexpected differences during plan comparison, triggering unnecessary resource updates and affecting resource stability and predictability.
- insecure
Registries string[] - Specify container image registry addresses to skip certificate authentication. The format is a domain name or IP address without protocol, and can include a port number, for example: example.com or example.com:8080. Supports up to 10 domain names or IP addresses.
- registry
Proxy NodeConfigs Pool Kubernetes Config Containerd Config Registry Proxy Config[] - Container image repository proxy configuration Important Note: When using SetNestedAttribute, you must fully define all attributes of its nested structure. Incomplete definitions may cause Terraform to detect unexpected differences during plan comparison, triggering unnecessary resource updates and affecting resource stability and predictability.
- insecure_
registries Sequence[str] - Specify container image registry addresses to skip certificate authentication. The format is a domain name or IP address without protocol, and can include a port number, for example: example.com or example.com:8080. Supports up to 10 domain names or IP addresses.
- registry_
proxy_ Sequence[Nodeconfigs Pool Kubernetes Config Containerd Config Registry Proxy Config] - Container image repository proxy configuration Important Note: When using SetNestedAttribute, you must fully define all attributes of its nested structure. Incomplete definitions may cause Terraform to detect unexpected differences during plan comparison, triggering unnecessary resource updates and affecting resource stability and predictability.
- insecure
Registries List<String> - Specify container image registry addresses to skip certificate authentication. The format is a domain name or IP address without protocol, and can include a port number, for example: example.com or example.com:8080. Supports up to 10 domain names or IP addresses.
- registry
Proxy List<Property Map>Configs - Container image repository proxy configuration Important Note: When using SetNestedAttribute, you must fully define all attributes of its nested structure. Incomplete definitions may cause Terraform to detect unexpected differences during plan comparison, triggering unnecessary resource updates and affecting resource stability and predictability.
NodePoolKubernetesConfigContainerdConfigRegistryProxyConfig, NodePoolKubernetesConfigContainerdConfigRegistryProxyConfigArgs
- Proxy
Endpoints List<string> - Proxy address. Format: domain name or IP address with protocol, may include port number, for example: https://example.com or https://example.com:8080. Supports up to 5 domain names or IP addresses.
- Registry string
- Container image repository address. The format is a domain name or IP address without protocol, and may include a port number, for example: example.com or example.com:8080.
- Proxy
Endpoints []string - Proxy address. Format: domain name or IP address with protocol, may include port number, for example: https://example.com or https://example.com:8080. Supports up to 5 domain names or IP addresses.
- Registry string
- Container image repository address. The format is a domain name or IP address without protocol, and may include a port number, for example: example.com or example.com:8080.
- proxy_
endpoints list(string) - Proxy address. Format: domain name or IP address with protocol, may include port number, for example: https://example.com or https://example.com:8080. Supports up to 5 domain names or IP addresses.
- registry string
- Container image repository address. The format is a domain name or IP address without protocol, and may include a port number, for example: example.com or example.com:8080.
- proxy
Endpoints List<String> - Proxy address. Format: domain name or IP address with protocol, may include port number, for example: https://example.com or https://example.com:8080. Supports up to 5 domain names or IP addresses.
- registry String
- Container image repository address. The format is a domain name or IP address without protocol, and may include a port number, for example: example.com or example.com:8080.
- proxy
Endpoints string[] - Proxy address. Format: domain name or IP address with protocol, may include port number, for example: https://example.com or https://example.com:8080. Supports up to 5 domain names or IP addresses.
- registry string
- Container image repository address. The format is a domain name or IP address without protocol, and may include a port number, for example: example.com or example.com:8080.
- proxy_
endpoints Sequence[str] - Proxy address. Format: domain name or IP address with protocol, may include port number, for example: https://example.com or https://example.com:8080. Supports up to 5 domain names or IP addresses.
- registry str
- Container image repository address. The format is a domain name or IP address without protocol, and may include a port number, for example: example.com or example.com:8080.
- proxy
Endpoints List<String> - Proxy address. Format: domain name or IP address with protocol, may include port number, for example: https://example.com or https://example.com:8080. Supports up to 5 domain names or IP addresses.
- registry String
- Container image repository address. The format is a domain name or IP address without protocol, and may include a port number, for example: example.com or example.com:8080.
NodePoolKubernetesConfigKubeletConfig, NodePoolKubernetesConfigKubeletConfigArgs
- Cpu
Manager stringPolicy - CPU manager policy. Options: none: Default policy. static: Allows Pods with certain resource characteristics on the node to have stronger CPU affinity and exclusivity.
- Eviction
Hards List<Volcengine.Node Pool Kubernetes Config Kubelet Config Eviction Hard> - A set of hard thresholds that trigger Pod eviction. For detailed parameter explanations, see the Kubernetes official documentation (https://kubernetes.io/docs/concepts/scheduling-eviction/node-pressure-eviction/). To explicitly disable, set the threshold for any resource to 0% or 100%. Default values: memory.available: "100Mi", nodefs.available: "10%", nodefs.inodesFree: "5%", imagefs.available: "15%". Important Note: When using SetNestedAttribute, you must fully define all attributes of its nested structure. Incomplete definitions may cause Terraform to detect unexpected differences during plan comparison, triggering unnecessary resource updates and affecting resource stability and predictability.
- Feature
Gates Volcengine.Node Pool Kubernetes Config Kubelet Config Feature Gates - Feature gates, which are a set of key-value pairs that describe Kubernetes features. Note: These feature gates are only supported in clusters running Kubernetes v1.26 or earlier.
- Kube
Api intBurst - Maximum burst request count sent to APIServer per second. Integer value, range: 1–100, default is 10. Note: This value must be greater than or equal to the value of the KubeApiQps parameter.
- Kube
Api intQps - Number of queries per second (QPS) to APIServer. Integer, range: 1–50, default is 5.
- Kube
Reserveds List<Volcengine.Node Pool Kubernetes Config Kubelet Config Kube Reserved> - Resources reserved for Kubernetes system components on the node. By default, reserves half of the default value specified in the node resource reservation policy. Important Note: When using SetNestedAttribute, you must fully define all attributes of its nested structure. Incomplete definitions may cause Terraform to detect unexpected differences during plan comparison, triggering unnecessary resource updates and affecting resource stability and predictability.
- Max
Pods int - Maximum number of Pods supported by the node. Default is 110.
- Registry
Burst int - Burst threshold for pulling images from the image registry in the cluster. Integer value, range: 1–100, default is 5. Note: Only required when RegistryPullQps is greater than 0, and the value must be greater than or equal to the value of the RegistryPullQps parameter.
- Registry
Pull intQps - QPS threshold for pulling images from the image registry in the cluster. Integer value, range: 1–50, default is 2.
- Serialize
Image boolPulls - Enable serial image pulling. Values: true: Pull images serially. false: (Default) Pull images in parallel to speed up Pod startup.
- System
Reserveds List<Volcengine.Node Pool Kubernetes Config Kubelet Config System Reserved> - Resources reserved for the operating system on the node. By default, half of the default value in the node reserved resource policy is allocated. Important Note: When using SetNestedAttribute, you must fully define all attributes of its nested structure. Incomplete definitions may cause Terraform to detect unexpected differences during plan comparison, triggering unnecessary resource updates and affecting resource stability and predictability.
- Topology
Manager stringPolicy - Topology management policy. Values: none (default): disables topology management policy. restricted: kubelet only accepts Pods that achieve optimal NUMA (Non-Uniform Memory Access) on requested resources. best-effort: kubelet prioritizes Pods that achieve NUMA on CPU and device resources. single-numa-node: kubelet only allows Pods that achieve NUMA on CPU and device resources within the same node
- Topology
Manager stringScope - Resource granularity for topology management policy. Values: container: resource alignment at container level pod: resource alignment at Pod level
- Cpu
Manager stringPolicy - CPU manager policy. Options: none: Default policy. static: Allows Pods with certain resource characteristics on the node to have stronger CPU affinity and exclusivity.
- Eviction
Hards []NodePool Kubernetes Config Kubelet Config Eviction Hard - A set of hard thresholds that trigger Pod eviction. For detailed parameter explanations, see the Kubernetes official documentation (https://kubernetes.io/docs/concepts/scheduling-eviction/node-pressure-eviction/). To explicitly disable, set the threshold for any resource to 0% or 100%. Default values: memory.available: "100Mi", nodefs.available: "10%", nodefs.inodesFree: "5%", imagefs.available: "15%". Important Note: When using SetNestedAttribute, you must fully define all attributes of its nested structure. Incomplete definitions may cause Terraform to detect unexpected differences during plan comparison, triggering unnecessary resource updates and affecting resource stability and predictability.
- Feature
Gates NodePool Kubernetes Config Kubelet Config Feature Gates - Feature gates, which are a set of key-value pairs that describe Kubernetes features. Note: These feature gates are only supported in clusters running Kubernetes v1.26 or earlier.
- Kube
Api intBurst - Maximum burst request count sent to APIServer per second. Integer value, range: 1–100, default is 10. Note: This value must be greater than or equal to the value of the KubeApiQps parameter.
- Kube
Api intQps - Number of queries per second (QPS) to APIServer. Integer, range: 1–50, default is 5.
- Kube
Reserveds []NodePool Kubernetes Config Kubelet Config Kube Reserved - Resources reserved for Kubernetes system components on the node. By default, reserves half of the default value specified in the node resource reservation policy. Important Note: When using SetNestedAttribute, you must fully define all attributes of its nested structure. Incomplete definitions may cause Terraform to detect unexpected differences during plan comparison, triggering unnecessary resource updates and affecting resource stability and predictability.
- Max
Pods int - Maximum number of Pods supported by the node. Default is 110.
- Registry
Burst int - Burst threshold for pulling images from the image registry in the cluster. Integer value, range: 1–100, default is 5. Note: Only required when RegistryPullQps is greater than 0, and the value must be greater than or equal to the value of the RegistryPullQps parameter.
- Registry
Pull intQps - QPS threshold for pulling images from the image registry in the cluster. Integer value, range: 1–50, default is 2.
- Serialize
Image boolPulls - Enable serial image pulling. Values: true: Pull images serially. false: (Default) Pull images in parallel to speed up Pod startup.
- System
Reserveds []NodePool Kubernetes Config Kubelet Config System Reserved - Resources reserved for the operating system on the node. By default, half of the default value in the node reserved resource policy is allocated. Important Note: When using SetNestedAttribute, you must fully define all attributes of its nested structure. Incomplete definitions may cause Terraform to detect unexpected differences during plan comparison, triggering unnecessary resource updates and affecting resource stability and predictability.
- Topology
Manager stringPolicy - Topology management policy. Values: none (default): disables topology management policy. restricted: kubelet only accepts Pods that achieve optimal NUMA (Non-Uniform Memory Access) on requested resources. best-effort: kubelet prioritizes Pods that achieve NUMA on CPU and device resources. single-numa-node: kubelet only allows Pods that achieve NUMA on CPU and device resources within the same node
- Topology
Manager stringScope - Resource granularity for topology management policy. Values: container: resource alignment at container level pod: resource alignment at Pod level
- cpu_
manager_ stringpolicy - CPU manager policy. Options: none: Default policy. static: Allows Pods with certain resource characteristics on the node to have stronger CPU affinity and exclusivity.
- eviction_
hards list(object) - A set of hard thresholds that trigger Pod eviction. For detailed parameter explanations, see the Kubernetes official documentation (https://kubernetes.io/docs/concepts/scheduling-eviction/node-pressure-eviction/). To explicitly disable, set the threshold for any resource to 0% or 100%. Default values: memory.available: "100Mi", nodefs.available: "10%", nodefs.inodesFree: "5%", imagefs.available: "15%". Important Note: When using SetNestedAttribute, you must fully define all attributes of its nested structure. Incomplete definitions may cause Terraform to detect unexpected differences during plan comparison, triggering unnecessary resource updates and affecting resource stability and predictability.
- feature_
gates object - Feature gates, which are a set of key-value pairs that describe Kubernetes features. Note: These feature gates are only supported in clusters running Kubernetes v1.26 or earlier.
- kube_
api_ numberburst - Maximum burst request count sent to APIServer per second. Integer value, range: 1–100, default is 10. Note: This value must be greater than or equal to the value of the KubeApiQps parameter.
- kube_
api_ numberqps - Number of queries per second (QPS) to APIServer. Integer, range: 1–50, default is 5.
- kube_
reserveds list(object) - Resources reserved for Kubernetes system components on the node. By default, reserves half of the default value specified in the node resource reservation policy. Important Note: When using SetNestedAttribute, you must fully define all attributes of its nested structure. Incomplete definitions may cause Terraform to detect unexpected differences during plan comparison, triggering unnecessary resource updates and affecting resource stability and predictability.
- max_
pods number - Maximum number of Pods supported by the node. Default is 110.
- registry_
burst number - Burst threshold for pulling images from the image registry in the cluster. Integer value, range: 1–100, default is 5. Note: Only required when RegistryPullQps is greater than 0, and the value must be greater than or equal to the value of the RegistryPullQps parameter.
- registry_
pull_ numberqps - QPS threshold for pulling images from the image registry in the cluster. Integer value, range: 1–50, default is 2.
- serialize_
image_ boolpulls - Enable serial image pulling. Values: true: Pull images serially. false: (Default) Pull images in parallel to speed up Pod startup.
- system_
reserveds list(object) - Resources reserved for the operating system on the node. By default, half of the default value in the node reserved resource policy is allocated. Important Note: When using SetNestedAttribute, you must fully define all attributes of its nested structure. Incomplete definitions may cause Terraform to detect unexpected differences during plan comparison, triggering unnecessary resource updates and affecting resource stability and predictability.
- topology_
manager_ stringpolicy - Topology management policy. Values: none (default): disables topology management policy. restricted: kubelet only accepts Pods that achieve optimal NUMA (Non-Uniform Memory Access) on requested resources. best-effort: kubelet prioritizes Pods that achieve NUMA on CPU and device resources. single-numa-node: kubelet only allows Pods that achieve NUMA on CPU and device resources within the same node
- topology_
manager_ stringscope - Resource granularity for topology management policy. Values: container: resource alignment at container level pod: resource alignment at Pod level
- cpu
Manager StringPolicy - CPU manager policy. Options: none: Default policy. static: Allows Pods with certain resource characteristics on the node to have stronger CPU affinity and exclusivity.
- eviction
Hards List<NodePool Kubernetes Config Kubelet Config Eviction Hard> - A set of hard thresholds that trigger Pod eviction. For detailed parameter explanations, see the Kubernetes official documentation (https://kubernetes.io/docs/concepts/scheduling-eviction/node-pressure-eviction/). To explicitly disable, set the threshold for any resource to 0% or 100%. Default values: memory.available: "100Mi", nodefs.available: "10%", nodefs.inodesFree: "5%", imagefs.available: "15%". Important Note: When using SetNestedAttribute, you must fully define all attributes of its nested structure. Incomplete definitions may cause Terraform to detect unexpected differences during plan comparison, triggering unnecessary resource updates and affecting resource stability and predictability.
- feature
Gates NodePool Kubernetes Config Kubelet Config Feature Gates - Feature gates, which are a set of key-value pairs that describe Kubernetes features. Note: These feature gates are only supported in clusters running Kubernetes v1.26 or earlier.
- kube
Api IntegerBurst - Maximum burst request count sent to APIServer per second. Integer value, range: 1–100, default is 10. Note: This value must be greater than or equal to the value of the KubeApiQps parameter.
- kube
Api IntegerQps - Number of queries per second (QPS) to APIServer. Integer, range: 1–50, default is 5.
- kube
Reserveds List<NodePool Kubernetes Config Kubelet Config Kube Reserved> - Resources reserved for Kubernetes system components on the node. By default, reserves half of the default value specified in the node resource reservation policy. Important Note: When using SetNestedAttribute, you must fully define all attributes of its nested structure. Incomplete definitions may cause Terraform to detect unexpected differences during plan comparison, triggering unnecessary resource updates and affecting resource stability and predictability.
- max
Pods Integer - Maximum number of Pods supported by the node. Default is 110.
- registry
Burst Integer - Burst threshold for pulling images from the image registry in the cluster. Integer value, range: 1–100, default is 5. Note: Only required when RegistryPullQps is greater than 0, and the value must be greater than or equal to the value of the RegistryPullQps parameter.
- registry
Pull IntegerQps - QPS threshold for pulling images from the image registry in the cluster. Integer value, range: 1–50, default is 2.
- serialize
Image BooleanPulls - Enable serial image pulling. Values: true: Pull images serially. false: (Default) Pull images in parallel to speed up Pod startup.
- system
Reserveds List<NodePool Kubernetes Config Kubelet Config System Reserved> - Resources reserved for the operating system on the node. By default, half of the default value in the node reserved resource policy is allocated. Important Note: When using SetNestedAttribute, you must fully define all attributes of its nested structure. Incomplete definitions may cause Terraform to detect unexpected differences during plan comparison, triggering unnecessary resource updates and affecting resource stability and predictability.
- topology
Manager StringPolicy - Topology management policy. Values: none (default): disables topology management policy. restricted: kubelet only accepts Pods that achieve optimal NUMA (Non-Uniform Memory Access) on requested resources. best-effort: kubelet prioritizes Pods that achieve NUMA on CPU and device resources. single-numa-node: kubelet only allows Pods that achieve NUMA on CPU and device resources within the same node
- topology
Manager StringScope - Resource granularity for topology management policy. Values: container: resource alignment at container level pod: resource alignment at Pod level
- cpu
Manager stringPolicy - CPU manager policy. Options: none: Default policy. static: Allows Pods with certain resource characteristics on the node to have stronger CPU affinity and exclusivity.
- eviction
Hards NodePool Kubernetes Config Kubelet Config Eviction Hard[] - A set of hard thresholds that trigger Pod eviction. For detailed parameter explanations, see the Kubernetes official documentation (https://kubernetes.io/docs/concepts/scheduling-eviction/node-pressure-eviction/). To explicitly disable, set the threshold for any resource to 0% or 100%. Default values: memory.available: "100Mi", nodefs.available: "10%", nodefs.inodesFree: "5%", imagefs.available: "15%". Important Note: When using SetNestedAttribute, you must fully define all attributes of its nested structure. Incomplete definitions may cause Terraform to detect unexpected differences during plan comparison, triggering unnecessary resource updates and affecting resource stability and predictability.
- feature
Gates NodePool Kubernetes Config Kubelet Config Feature Gates - Feature gates, which are a set of key-value pairs that describe Kubernetes features. Note: These feature gates are only supported in clusters running Kubernetes v1.26 or earlier.
- kube
Api numberBurst - Maximum burst request count sent to APIServer per second. Integer value, range: 1–100, default is 10. Note: This value must be greater than or equal to the value of the KubeApiQps parameter.
- kube
Api numberQps - Number of queries per second (QPS) to APIServer. Integer, range: 1–50, default is 5.
- kube
Reserveds NodePool Kubernetes Config Kubelet Config Kube Reserved[] - Resources reserved for Kubernetes system components on the node. By default, reserves half of the default value specified in the node resource reservation policy. Important Note: When using SetNestedAttribute, you must fully define all attributes of its nested structure. Incomplete definitions may cause Terraform to detect unexpected differences during plan comparison, triggering unnecessary resource updates and affecting resource stability and predictability.
- max
Pods number - Maximum number of Pods supported by the node. Default is 110.
- registry
Burst number - Burst threshold for pulling images from the image registry in the cluster. Integer value, range: 1–100, default is 5. Note: Only required when RegistryPullQps is greater than 0, and the value must be greater than or equal to the value of the RegistryPullQps parameter.
- registry
Pull numberQps - QPS threshold for pulling images from the image registry in the cluster. Integer value, range: 1–50, default is 2.
- serialize
Image booleanPulls - Enable serial image pulling. Values: true: Pull images serially. false: (Default) Pull images in parallel to speed up Pod startup.
- system
Reserveds NodePool Kubernetes Config Kubelet Config System Reserved[] - Resources reserved for the operating system on the node. By default, half of the default value in the node reserved resource policy is allocated. Important Note: When using SetNestedAttribute, you must fully define all attributes of its nested structure. Incomplete definitions may cause Terraform to detect unexpected differences during plan comparison, triggering unnecessary resource updates and affecting resource stability and predictability.
- topology
Manager stringPolicy - Topology management policy. Values: none (default): disables topology management policy. restricted: kubelet only accepts Pods that achieve optimal NUMA (Non-Uniform Memory Access) on requested resources. best-effort: kubelet prioritizes Pods that achieve NUMA on CPU and device resources. single-numa-node: kubelet only allows Pods that achieve NUMA on CPU and device resources within the same node
- topology
Manager stringScope - Resource granularity for topology management policy. Values: container: resource alignment at container level pod: resource alignment at Pod level
- cpu_
manager_ strpolicy - CPU manager policy. Options: none: Default policy. static: Allows Pods with certain resource characteristics on the node to have stronger CPU affinity and exclusivity.
- eviction_
hards Sequence[NodePool Kubernetes Config Kubelet Config Eviction Hard] - A set of hard thresholds that trigger Pod eviction. For detailed parameter explanations, see the Kubernetes official documentation (https://kubernetes.io/docs/concepts/scheduling-eviction/node-pressure-eviction/). To explicitly disable, set the threshold for any resource to 0% or 100%. Default values: memory.available: "100Mi", nodefs.available: "10%", nodefs.inodesFree: "5%", imagefs.available: "15%". Important Note: When using SetNestedAttribute, you must fully define all attributes of its nested structure. Incomplete definitions may cause Terraform to detect unexpected differences during plan comparison, triggering unnecessary resource updates and affecting resource stability and predictability.
- feature_
gates NodePool Kubernetes Config Kubelet Config Feature Gates - Feature gates, which are a set of key-value pairs that describe Kubernetes features. Note: These feature gates are only supported in clusters running Kubernetes v1.26 or earlier.
- kube_
api_ intburst - Maximum burst request count sent to APIServer per second. Integer value, range: 1–100, default is 10. Note: This value must be greater than or equal to the value of the KubeApiQps parameter.
- kube_
api_ intqps - Number of queries per second (QPS) to APIServer. Integer, range: 1–50, default is 5.
- kube_
reserveds Sequence[NodePool Kubernetes Config Kubelet Config Kube Reserved] - Resources reserved for Kubernetes system components on the node. By default, reserves half of the default value specified in the node resource reservation policy. Important Note: When using SetNestedAttribute, you must fully define all attributes of its nested structure. Incomplete definitions may cause Terraform to detect unexpected differences during plan comparison, triggering unnecessary resource updates and affecting resource stability and predictability.
- max_
pods int - Maximum number of Pods supported by the node. Default is 110.
- registry_
burst int - Burst threshold for pulling images from the image registry in the cluster. Integer value, range: 1–100, default is 5. Note: Only required when RegistryPullQps is greater than 0, and the value must be greater than or equal to the value of the RegistryPullQps parameter.
- registry_
pull_ intqps - QPS threshold for pulling images from the image registry in the cluster. Integer value, range: 1–50, default is 2.
- serialize_
image_ boolpulls - Enable serial image pulling. Values: true: Pull images serially. false: (Default) Pull images in parallel to speed up Pod startup.
- system_
reserveds Sequence[NodePool Kubernetes Config Kubelet Config System Reserved] - Resources reserved for the operating system on the node. By default, half of the default value in the node reserved resource policy is allocated. Important Note: When using SetNestedAttribute, you must fully define all attributes of its nested structure. Incomplete definitions may cause Terraform to detect unexpected differences during plan comparison, triggering unnecessary resource updates and affecting resource stability and predictability.
- topology_
manager_ strpolicy - Topology management policy. Values: none (default): disables topology management policy. restricted: kubelet only accepts Pods that achieve optimal NUMA (Non-Uniform Memory Access) on requested resources. best-effort: kubelet prioritizes Pods that achieve NUMA on CPU and device resources. single-numa-node: kubelet only allows Pods that achieve NUMA on CPU and device resources within the same node
- topology_
manager_ strscope - Resource granularity for topology management policy. Values: container: resource alignment at container level pod: resource alignment at Pod level
- cpu
Manager StringPolicy - CPU manager policy. Options: none: Default policy. static: Allows Pods with certain resource characteristics on the node to have stronger CPU affinity and exclusivity.
- eviction
Hards List<Property Map> - A set of hard thresholds that trigger Pod eviction. For detailed parameter explanations, see the Kubernetes official documentation (https://kubernetes.io/docs/concepts/scheduling-eviction/node-pressure-eviction/). To explicitly disable, set the threshold for any resource to 0% or 100%. Default values: memory.available: "100Mi", nodefs.available: "10%", nodefs.inodesFree: "5%", imagefs.available: "15%". Important Note: When using SetNestedAttribute, you must fully define all attributes of its nested structure. Incomplete definitions may cause Terraform to detect unexpected differences during plan comparison, triggering unnecessary resource updates and affecting resource stability and predictability.
- feature
Gates Property Map - Feature gates, which are a set of key-value pairs that describe Kubernetes features. Note: These feature gates are only supported in clusters running Kubernetes v1.26 or earlier.
- kube
Api NumberBurst - Maximum burst request count sent to APIServer per second. Integer value, range: 1–100, default is 10. Note: This value must be greater than or equal to the value of the KubeApiQps parameter.
- kube
Api NumberQps - Number of queries per second (QPS) to APIServer. Integer, range: 1–50, default is 5.
- kube
Reserveds List<Property Map> - Resources reserved for Kubernetes system components on the node. By default, reserves half of the default value specified in the node resource reservation policy. Important Note: When using SetNestedAttribute, you must fully define all attributes of its nested structure. Incomplete definitions may cause Terraform to detect unexpected differences during plan comparison, triggering unnecessary resource updates and affecting resource stability and predictability.
- max
Pods Number - Maximum number of Pods supported by the node. Default is 110.
- registry
Burst Number - Burst threshold for pulling images from the image registry in the cluster. Integer value, range: 1–100, default is 5. Note: Only required when RegistryPullQps is greater than 0, and the value must be greater than or equal to the value of the RegistryPullQps parameter.
- registry
Pull NumberQps - QPS threshold for pulling images from the image registry in the cluster. Integer value, range: 1–50, default is 2.
- serialize
Image BooleanPulls - Enable serial image pulling. Values: true: Pull images serially. false: (Default) Pull images in parallel to speed up Pod startup.
- system
Reserveds List<Property Map> - Resources reserved for the operating system on the node. By default, half of the default value in the node reserved resource policy is allocated. Important Note: When using SetNestedAttribute, you must fully define all attributes of its nested structure. Incomplete definitions may cause Terraform to detect unexpected differences during plan comparison, triggering unnecessary resource updates and affecting resource stability and predictability.
- topology
Manager StringPolicy - Topology management policy. Values: none (default): disables topology management policy. restricted: kubelet only accepts Pods that achieve optimal NUMA (Non-Uniform Memory Access) on requested resources. best-effort: kubelet prioritizes Pods that achieve NUMA on CPU and device resources. single-numa-node: kubelet only allows Pods that achieve NUMA on CPU and device resources within the same node
- topology
Manager StringScope - Resource granularity for topology management policy. Values: container: resource alignment at container level pod: resource alignment at Pod level
NodePoolKubernetesConfigKubeletConfigEvictionHard, NodePoolKubernetesConfigKubeletConfigEvictionHardArgs
- Key string
- Hard threshold name. Options: memory.available, nodefs.available, nodefs.inodesFree, imagefs.available
- Value string
- Hard threshold value. Supports integer or percentage format: Integer format specifies the actual resource threshold in bytes, for example, 100Mi. Percentage format specifies the resource threshold as a proportion, range: 0%–100%, for example, 20%. To explicitly disable, set the threshold to 0% or 100% for any resource.
- Key string
- Hard threshold name. Options: memory.available, nodefs.available, nodefs.inodesFree, imagefs.available
- Value string
- Hard threshold value. Supports integer or percentage format: Integer format specifies the actual resource threshold in bytes, for example, 100Mi. Percentage format specifies the resource threshold as a proportion, range: 0%–100%, for example, 20%. To explicitly disable, set the threshold to 0% or 100% for any resource.
- key string
- Hard threshold name. Options: memory.available, nodefs.available, nodefs.inodesFree, imagefs.available
- value string
- Hard threshold value. Supports integer or percentage format: Integer format specifies the actual resource threshold in bytes, for example, 100Mi. Percentage format specifies the resource threshold as a proportion, range: 0%–100%, for example, 20%. To explicitly disable, set the threshold to 0% or 100% for any resource.
- key String
- Hard threshold name. Options: memory.available, nodefs.available, nodefs.inodesFree, imagefs.available
- value String
- Hard threshold value. Supports integer or percentage format: Integer format specifies the actual resource threshold in bytes, for example, 100Mi. Percentage format specifies the resource threshold as a proportion, range: 0%–100%, for example, 20%. To explicitly disable, set the threshold to 0% or 100% for any resource.
- key string
- Hard threshold name. Options: memory.available, nodefs.available, nodefs.inodesFree, imagefs.available
- value string
- Hard threshold value. Supports integer or percentage format: Integer format specifies the actual resource threshold in bytes, for example, 100Mi. Percentage format specifies the resource threshold as a proportion, range: 0%–100%, for example, 20%. To explicitly disable, set the threshold to 0% or 100% for any resource.
- key str
- Hard threshold name. Options: memory.available, nodefs.available, nodefs.inodesFree, imagefs.available
- value str
- Hard threshold value. Supports integer or percentage format: Integer format specifies the actual resource threshold in bytes, for example, 100Mi. Percentage format specifies the resource threshold as a proportion, range: 0%–100%, for example, 20%. To explicitly disable, set the threshold to 0% or 100% for any resource.
- key String
- Hard threshold name. Options: memory.available, nodefs.available, nodefs.inodesFree, imagefs.available
- value String
- Hard threshold value. Supports integer or percentage format: Integer format specifies the actual resource threshold in bytes, for example, 100Mi. Percentage format specifies the resource threshold as a proportion, range: 0%–100%, for example, 20%. To explicitly disable, set the threshold to 0% or 100% for any resource.
NodePoolKubernetesConfigKubeletConfigFeatureGates, NodePoolKubernetesConfigKubeletConfigFeatureGatesArgs
- In
Place boolPod Vertical Scaling - Enable Pod vertical scaling. Options: true: enabled. false: disabled.
- Qo
SResource boolManager - Whether to enable the QoS resource manager to support micro-topology scheduling. Values: true: Enable the QoS resource manager. false: (default) Do not enable the QoS resource manager.
- In
Place boolPod Vertical Scaling - Enable Pod vertical scaling. Options: true: enabled. false: disabled.
- Qo
SResource boolManager - Whether to enable the QoS resource manager to support micro-topology scheduling. Values: true: Enable the QoS resource manager. false: (default) Do not enable the QoS resource manager.
- in_
place_ boolpod_ vertical_ scaling - Enable Pod vertical scaling. Options: true: enabled. false: disabled.
- qo_
s_ boolresource_ manager - Whether to enable the QoS resource manager to support micro-topology scheduling. Values: true: Enable the QoS resource manager. false: (default) Do not enable the QoS resource manager.
- in
Place BooleanPod Vertical Scaling - Enable Pod vertical scaling. Options: true: enabled. false: disabled.
- qo
SResource BooleanManager - Whether to enable the QoS resource manager to support micro-topology scheduling. Values: true: Enable the QoS resource manager. false: (default) Do not enable the QoS resource manager.
- in
Place booleanPod Vertical Scaling - Enable Pod vertical scaling. Options: true: enabled. false: disabled.
- qo
SResource booleanManager - Whether to enable the QoS resource manager to support micro-topology scheduling. Values: true: Enable the QoS resource manager. false: (default) Do not enable the QoS resource manager.
- in_
place_ boolpod_ vertical_ scaling - Enable Pod vertical scaling. Options: true: enabled. false: disabled.
- qo_
s_ boolresource_ manager - Whether to enable the QoS resource manager to support micro-topology scheduling. Values: true: Enable the QoS resource manager. false: (default) Do not enable the QoS resource manager.
- in
Place BooleanPod Vertical Scaling - Enable Pod vertical scaling. Options: true: enabled. false: disabled.
- qo
SResource BooleanManager - Whether to enable the QoS resource manager to support micro-topology scheduling. Values: true: Enable the QoS resource manager. false: (default) Do not enable the QoS resource manager.
NodePoolKubernetesConfigKubeletConfigKubeReserved, NodePoolKubernetesConfigKubeletConfigKubeReservedArgs
NodePoolKubernetesConfigKubeletConfigSystemReserved, NodePoolKubernetesConfigKubeletConfigSystemReservedArgs
NodePoolKubernetesConfigLabel, NodePoolKubernetesConfigLabelArgs
- Key string
- Tag key. A valid tag key consists of two segments: prefix and name, separated by a slash (/). The name is required and supports English letters (upper and lower case), numbers, hyphens (-), underscores (_), and periods (.), must start and end with a letter or number, and cannot exceed 63 characters. The prefix is optional; if specified, it must be a DNS subdomain: a series of DNS labels separated by periods (.), not exceeding 253 characters. The total length of prefix and name must not exceed 82 characters.
- Value string
- Tag value. Maximum length is 63 characters (can be empty). Must start and end with English letters or numbers. Supports special characters: hyphen (-), underscore (_), period (.).
- Key string
- Tag key. A valid tag key consists of two segments: prefix and name, separated by a slash (/). The name is required and supports English letters (upper and lower case), numbers, hyphens (-), underscores (_), and periods (.), must start and end with a letter or number, and cannot exceed 63 characters. The prefix is optional; if specified, it must be a DNS subdomain: a series of DNS labels separated by periods (.), not exceeding 253 characters. The total length of prefix and name must not exceed 82 characters.
- Value string
- Tag value. Maximum length is 63 characters (can be empty). Must start and end with English letters or numbers. Supports special characters: hyphen (-), underscore (_), period (.).
- key string
- Tag key. A valid tag key consists of two segments: prefix and name, separated by a slash (/). The name is required and supports English letters (upper and lower case), numbers, hyphens (-), underscores (_), and periods (.), must start and end with a letter or number, and cannot exceed 63 characters. The prefix is optional; if specified, it must be a DNS subdomain: a series of DNS labels separated by periods (.), not exceeding 253 characters. The total length of prefix and name must not exceed 82 characters.
- value string
- Tag value. Maximum length is 63 characters (can be empty). Must start and end with English letters or numbers. Supports special characters: hyphen (-), underscore (_), period (.).
- key String
- Tag key. A valid tag key consists of two segments: prefix and name, separated by a slash (/). The name is required and supports English letters (upper and lower case), numbers, hyphens (-), underscores (_), and periods (.), must start and end with a letter or number, and cannot exceed 63 characters. The prefix is optional; if specified, it must be a DNS subdomain: a series of DNS labels separated by periods (.), not exceeding 253 characters. The total length of prefix and name must not exceed 82 characters.
- value String
- Tag value. Maximum length is 63 characters (can be empty). Must start and end with English letters or numbers. Supports special characters: hyphen (-), underscore (_), period (.).
- key string
- Tag key. A valid tag key consists of two segments: prefix and name, separated by a slash (/). The name is required and supports English letters (upper and lower case), numbers, hyphens (-), underscores (_), and periods (.), must start and end with a letter or number, and cannot exceed 63 characters. The prefix is optional; if specified, it must be a DNS subdomain: a series of DNS labels separated by periods (.), not exceeding 253 characters. The total length of prefix and name must not exceed 82 characters.
- value string
- Tag value. Maximum length is 63 characters (can be empty). Must start and end with English letters or numbers. Supports special characters: hyphen (-), underscore (_), period (.).
- key str
- Tag key. A valid tag key consists of two segments: prefix and name, separated by a slash (/). The name is required and supports English letters (upper and lower case), numbers, hyphens (-), underscores (_), and periods (.), must start and end with a letter or number, and cannot exceed 63 characters. The prefix is optional; if specified, it must be a DNS subdomain: a series of DNS labels separated by periods (.), not exceeding 253 characters. The total length of prefix and name must not exceed 82 characters.
- value str
- Tag value. Maximum length is 63 characters (can be empty). Must start and end with English letters or numbers. Supports special characters: hyphen (-), underscore (_), period (.).
- key String
- Tag key. A valid tag key consists of two segments: prefix and name, separated by a slash (/). The name is required and supports English letters (upper and lower case), numbers, hyphens (-), underscores (_), and periods (.), must start and end with a letter or number, and cannot exceed 63 characters. The prefix is optional; if specified, it must be a DNS subdomain: a series of DNS labels separated by periods (.), not exceeding 253 characters. The total length of prefix and name must not exceed 82 characters.
- value String
- Tag value. Maximum length is 63 characters (can be empty). Must start and end with English letters or numbers. Supports special characters: hyphen (-), underscore (_), period (.).
NodePoolKubernetesConfigTaint, NodePoolKubernetesConfigTaintArgs
- Effect string
- Taint effect. Values: NoSchedule: (default) Do not schedule. NoExecute: Evict pods that do not tolerate the taint. PreferNoSchedule: Prefer not to schedule.
- Key string
- Taint key. A valid taint key consists of two segments: prefix and name, separated by a slash (/). The name is required and supports English letters (upper and lower case), numbers, hyphens (-), underscores (_), and periods (.), must start and end with a letter or number, and cannot exceed 63 characters. The prefix is optional; if specified, it must be a DNS subdomain: a series of DNS labels separated by periods (.), not exceeding 253 characters. The total length of prefix and name must not exceed 82 characters.
- Value string
- Taint value. Maximum length is 63 characters (can be empty). Must start and end with an English letter (upper or lower case) or a number. Supports special characters: hyphen (-), underscore (_), and period (.).
- Effect string
- Taint effect. Values: NoSchedule: (default) Do not schedule. NoExecute: Evict pods that do not tolerate the taint. PreferNoSchedule: Prefer not to schedule.
- Key string
- Taint key. A valid taint key consists of two segments: prefix and name, separated by a slash (/). The name is required and supports English letters (upper and lower case), numbers, hyphens (-), underscores (_), and periods (.), must start and end with a letter or number, and cannot exceed 63 characters. The prefix is optional; if specified, it must be a DNS subdomain: a series of DNS labels separated by periods (.), not exceeding 253 characters. The total length of prefix and name must not exceed 82 characters.
- Value string
- Taint value. Maximum length is 63 characters (can be empty). Must start and end with an English letter (upper or lower case) or a number. Supports special characters: hyphen (-), underscore (_), and period (.).
- effect string
- Taint effect. Values: NoSchedule: (default) Do not schedule. NoExecute: Evict pods that do not tolerate the taint. PreferNoSchedule: Prefer not to schedule.
- key string
- Taint key. A valid taint key consists of two segments: prefix and name, separated by a slash (/). The name is required and supports English letters (upper and lower case), numbers, hyphens (-), underscores (_), and periods (.), must start and end with a letter or number, and cannot exceed 63 characters. The prefix is optional; if specified, it must be a DNS subdomain: a series of DNS labels separated by periods (.), not exceeding 253 characters. The total length of prefix and name must not exceed 82 characters.
- value string
- Taint value. Maximum length is 63 characters (can be empty). Must start and end with an English letter (upper or lower case) or a number. Supports special characters: hyphen (-), underscore (_), and period (.).
- effect String
- Taint effect. Values: NoSchedule: (default) Do not schedule. NoExecute: Evict pods that do not tolerate the taint. PreferNoSchedule: Prefer not to schedule.
- key String
- Taint key. A valid taint key consists of two segments: prefix and name, separated by a slash (/). The name is required and supports English letters (upper and lower case), numbers, hyphens (-), underscores (_), and periods (.), must start and end with a letter or number, and cannot exceed 63 characters. The prefix is optional; if specified, it must be a DNS subdomain: a series of DNS labels separated by periods (.), not exceeding 253 characters. The total length of prefix and name must not exceed 82 characters.
- value String
- Taint value. Maximum length is 63 characters (can be empty). Must start and end with an English letter (upper or lower case) or a number. Supports special characters: hyphen (-), underscore (_), and period (.).
- effect string
- Taint effect. Values: NoSchedule: (default) Do not schedule. NoExecute: Evict pods that do not tolerate the taint. PreferNoSchedule: Prefer not to schedule.
- key string
- Taint key. A valid taint key consists of two segments: prefix and name, separated by a slash (/). The name is required and supports English letters (upper and lower case), numbers, hyphens (-), underscores (_), and periods (.), must start and end with a letter or number, and cannot exceed 63 characters. The prefix is optional; if specified, it must be a DNS subdomain: a series of DNS labels separated by periods (.), not exceeding 253 characters. The total length of prefix and name must not exceed 82 characters.
- value string
- Taint value. Maximum length is 63 characters (can be empty). Must start and end with an English letter (upper or lower case) or a number. Supports special characters: hyphen (-), underscore (_), and period (.).
- effect str
- Taint effect. Values: NoSchedule: (default) Do not schedule. NoExecute: Evict pods that do not tolerate the taint. PreferNoSchedule: Prefer not to schedule.
- key str
- Taint key. A valid taint key consists of two segments: prefix and name, separated by a slash (/). The name is required and supports English letters (upper and lower case), numbers, hyphens (-), underscores (_), and periods (.), must start and end with a letter or number, and cannot exceed 63 characters. The prefix is optional; if specified, it must be a DNS subdomain: a series of DNS labels separated by periods (.), not exceeding 253 characters. The total length of prefix and name must not exceed 82 characters.
- value str
- Taint value. Maximum length is 63 characters (can be empty). Must start and end with an English letter (upper or lower case) or a number. Supports special characters: hyphen (-), underscore (_), and period (.).
- effect String
- Taint effect. Values: NoSchedule: (default) Do not schedule. NoExecute: Evict pods that do not tolerate the taint. PreferNoSchedule: Prefer not to schedule.
- key String
- Taint key. A valid taint key consists of two segments: prefix and name, separated by a slash (/). The name is required and supports English letters (upper and lower case), numbers, hyphens (-), underscores (_), and periods (.), must start and end with a letter or number, and cannot exceed 63 characters. The prefix is optional; if specified, it must be a DNS subdomain: a series of DNS labels separated by periods (.), not exceeding 253 characters. The total length of prefix and name must not exceed 82 characters.
- value String
- Taint value. Maximum length is 63 characters (can be empty). Must start and end with an English letter (upper or lower case) or a number. Supports special characters: hyphen (-), underscore (_), and period (.).
NodePoolManagement, NodePoolManagementArgs
- Enabled bool
- Enable managed mode for the node pool. Options: true: Enabled. false: Disabled.
- Remedy
Config Volcengine.Node Pool Management Remedy Config - Node pool health check and self-healing rule configuration.
- Enabled bool
- Enable managed mode for the node pool. Options: true: Enabled. false: Disabled.
- Remedy
Config NodePool Management Remedy Config - Node pool health check and self-healing rule configuration.
- enabled bool
- Enable managed mode for the node pool. Options: true: Enabled. false: Disabled.
- remedy_
config object - Node pool health check and self-healing rule configuration.
- enabled Boolean
- Enable managed mode for the node pool. Options: true: Enabled. false: Disabled.
- remedy
Config NodePool Management Remedy Config - Node pool health check and self-healing rule configuration.
- enabled boolean
- Enable managed mode for the node pool. Options: true: Enabled. false: Disabled.
- remedy
Config NodePool Management Remedy Config - Node pool health check and self-healing rule configuration.
- enabled bool
- Enable managed mode for the node pool. Options: true: Enabled. false: Disabled.
- remedy_
config NodePool Management Remedy Config - Node pool health check and self-healing rule configuration.
- enabled Boolean
- Enable managed mode for the node pool. Options: true: Enabled. false: Disabled.
- remedy
Config Property Map - Node pool health check and self-healing rule configuration.
NodePoolManagementRemedyConfig, NodePoolManagementRemedyConfigArgs
NodePoolNodeConfig, NodePoolNodeConfigArgs
- Additional
Container boolStorage Enabled - Whether to configure the first data disk of the node, format it, and mount it to the container and image storage directory (/var/lib/containerd). Options: false: (default) Disabled. true: Enabled. Note: When enabled, at least one data disk must be configured; otherwise, node pool creation will fail. This method will automatically format the first data disk and create the file system.
- Auto
Renew bool - Whether the ECS instance will be automatically renewed upon expiration. Options: true (default): auto renewal. false: no auto renewal. Only required when InstanceChargeType=PrePaid; otherwise, ignore.
- Auto
Renew intPeriod - ECS instance auto-renewal duration, in months. Values: 1 (default), 2, 3, 6, 12. Only required when AutoRenew=true; otherwise, ignore.
- Data
Volumes List<Volcengine.Node Pool Node Config Data Volume> - Node data disk configuration. You can call the DescribeInstanceTypes API of the cloud server to obtain the matching relationship between ECS instance families and cloud disk specifications. Important Note: When using SetNestedAttribute, you must fully define all attributes of its nested structure. Incomplete definitions may cause Terraform to detect unexpected differences during plan comparison, triggering unnecessary resource updates and affecting resource stability and predictability.
- Deployment
Set intGroup Number - When the specified deployment set policy is the deployment set group high availability policy, you can use this parameter to specify the group number of the instance in the deployment set. Value range: 1–3. 0 means not set.
- Deployment
Set stringId - Deployment set ID that nodes in the node pool need to join. You can call the DescribeDeploymentSets API to obtain the deployment set ID.
- Hostname string
- Host name corresponding to the node. Supports defining fixed incremental sorting and dynamic expansion sorting. For details on the definition format, see naming format.
- Hpc
Cluster List<string>Ids - High Performance Computing Cluster ID. When creating a node pool with a high-performance computing GPU type, you must specify the High Performance Computing Cluster ID, which can be obtained from the 'Instances & Images > High Performance Computing Cluster' page in the cloud server console. Note: Only one High Performance Computing Cluster ID is supported; ensure the specified cluster and the subnets in SubnetIds are in the same availability zone.
- Image
Id string - The image ID used by the ECS instance corresponding to the node. Different image types have different image IDs. For details, see Public Images Supported by Container Service. Note: If you do not specify this parameter, Container Service will assign the veLinux-VKE image ID corresponding to the selected ECS instance type by default. If you specify multiple instance types, this parameter is required.
- Initialize
Script string - Custom script to execute after creating and initializing the node. Supports Shell format and must be Base64-encoded before being passed in. Note: The Base64-encoded length must not exceed 8 KB. If both InitializeScript and PreScript are provided, the total length of both parameters must not exceed 8 KB.
- Instance
Charge stringType - ECS instance billing type. Values: PostPaid (default): pay-as-you-go. PrePaid: subscription.
- Instance
Name string - Name of the node (instance). Supports defining fixed incremental sorting and dynamic expansion sorting. For format details, see naming format.
- Instance
Type List<string>Ids - List of instance type IDs for cloud server (ECS) instances corresponding to the nodes. This list serves as the candidate set of instance types when creating nodes in the node pool, not as a fixed quota for each type: the node pool selects instance types from the list based on available inventory and other factors. Different nodes in the same node pool may use different types from the list, or all may use the same type. Each type does not correspond to an independent node count quota. To strictly split node counts by type, create a separate node pool for each type. You can call the ListSupportedResourceTypes API to query the resource types and ranges supported by the cluster instance. Constraints: Up to ten array elements are supported; all types in the list must be consistent, such as all GPU types, all non-GPU types, or all bare metal types; when multiple types are provided, the ImageId parameter is required.
- Instances
Distribution Volcengine.Node Pool Node Config Instances Distribution - Configure a mixed strategy for spot instances and on-demand instances. This strategy takes effect when SpotStrategy is SpotAsPriceGo.
- Name
Prefix string - Node name prefix. If the value is an empty string or nil, it indicates that the node name prefix policy is not enabled. This policy is not enabled by default. Prefix validation rules: supports uppercase and lowercase English letters, numbers, and hyphens (-); must start with a letter and end with a letter or number; hyphens (-) cannot be used consecutively; length must be between 2 and 51 characters.
- Network
Traffic stringMode - Network communication mode between nodes. Options: HighPerformance: Communication method based on RDMA for data transmission. Standard: Communication method based on TCP for data transmission.
- Period int
- ECS instance purchase duration, in months. Values: 1, 2, 3, 4, 5, 6, 7, 8, 9, 12, 24, 36. Only required and mandatory when InstanceChargeType=PrePaid.
- Pre
Script string - [Invitation Test · Apply for Trial] Script executed before deploying the node. Enter the Shell script encoded in Base64. Note: The length after Base64 encoding must not exceed 8 KB. If both InitializeScript and PreScript are provided, the total length of both parameters must not exceed 8 KB.
- Project
Name string - Project name to which the ECS expanded from the node pool belongs. Each ECS can only belong to one project. Only English letters, numbers, underscores (_), periods (.), and hyphens (-) are allowed. Maximum length is 64 characters. Default is default.
- Public
Access Volcengine.Config Node Pool Node Config Public Access Config - Configuration information for automatically binding EIP to nodes.
- Public
Access boolEnabled - Enable automatic public IP (EIP) binding for nodes. Options: false: (default) Disabled. The system will not automatically assign an EIP to the node. If you need public network access later, refer to Applying for a Public IP and Binding to a Cloud Server. true: Enabled. The system automatically assigns an EIP to nodes in the cluster. You must also configure the PublicAccessConfig parameter to customize the EIP settings.
- Security
Volcengine.
Node Pool Node Config Security - Node security configuration
- Spot
Strategy string - Spot pricing strategy for on-demand billing applies only when InstanceChargeType=PostPaid. Options: NoSpot (default): standard on-demand instance. SpotAsPriceGo: system automatically bids, following the current market price.
- Subnet
Ids List<string> - List of subnet IDs to which the node network belongs. You can call the private network API to obtain subnet IDs. Note: Must be in the same private network as the cluster. A single node pool supports up to 8 subnet IDs.
- System
Volume Volcengine.Node Pool Node Config System Volume - System disk configuration for the node. You can call the DescribeInstanceTypes API of the cloud server to obtain the matching relationship between ECS instance families and disk specifications.
-
List<Volcengine.
Node Pool Node Config Tag> - Tag information bound to the ECS instance corresponding to the node, used for searching and managing ECS instances. Note: Keys in Tags must be unique. If a resource already has the same Tags.Key, binding the same Tags.Key again will not cause an error and will update to the latest Tags.Value. A single resource supports up to 20 ECS instance tags. Do not enter spaces at the beginning or end of Keys or Values in Tags. Important Note: When using SetNestedAttribute, you must fully define all attributes of its nested structure. Incomplete definitions may cause Terraform to detect unexpected differences during plan comparison, triggering unnecessary resource updates and affecting resource stability and predictability.
- Additional
Container boolStorage Enabled - Whether to configure the first data disk of the node, format it, and mount it to the container and image storage directory (/var/lib/containerd). Options: false: (default) Disabled. true: Enabled. Note: When enabled, at least one data disk must be configured; otherwise, node pool creation will fail. This method will automatically format the first data disk and create the file system.
- Auto
Renew bool - Whether the ECS instance will be automatically renewed upon expiration. Options: true (default): auto renewal. false: no auto renewal. Only required when InstanceChargeType=PrePaid; otherwise, ignore.
- Auto
Renew intPeriod - ECS instance auto-renewal duration, in months. Values: 1 (default), 2, 3, 6, 12. Only required when AutoRenew=true; otherwise, ignore.
- Data
Volumes []NodePool Node Config Data Volume - Node data disk configuration. You can call the DescribeInstanceTypes API of the cloud server to obtain the matching relationship between ECS instance families and cloud disk specifications. Important Note: When using SetNestedAttribute, you must fully define all attributes of its nested structure. Incomplete definitions may cause Terraform to detect unexpected differences during plan comparison, triggering unnecessary resource updates and affecting resource stability and predictability.
- Deployment
Set intGroup Number - When the specified deployment set policy is the deployment set group high availability policy, you can use this parameter to specify the group number of the instance in the deployment set. Value range: 1–3. 0 means not set.
- Deployment
Set stringId - Deployment set ID that nodes in the node pool need to join. You can call the DescribeDeploymentSets API to obtain the deployment set ID.
- Hostname string
- Host name corresponding to the node. Supports defining fixed incremental sorting and dynamic expansion sorting. For details on the definition format, see naming format.
- Hpc
Cluster []stringIds - High Performance Computing Cluster ID. When creating a node pool with a high-performance computing GPU type, you must specify the High Performance Computing Cluster ID, which can be obtained from the 'Instances & Images > High Performance Computing Cluster' page in the cloud server console. Note: Only one High Performance Computing Cluster ID is supported; ensure the specified cluster and the subnets in SubnetIds are in the same availability zone.
- Image
Id string - The image ID used by the ECS instance corresponding to the node. Different image types have different image IDs. For details, see Public Images Supported by Container Service. Note: If you do not specify this parameter, Container Service will assign the veLinux-VKE image ID corresponding to the selected ECS instance type by default. If you specify multiple instance types, this parameter is required.
- Initialize
Script string - Custom script to execute after creating and initializing the node. Supports Shell format and must be Base64-encoded before being passed in. Note: The Base64-encoded length must not exceed 8 KB. If both InitializeScript and PreScript are provided, the total length of both parameters must not exceed 8 KB.
- Instance
Charge stringType - ECS instance billing type. Values: PostPaid (default): pay-as-you-go. PrePaid: subscription.
- Instance
Name string - Name of the node (instance). Supports defining fixed incremental sorting and dynamic expansion sorting. For format details, see naming format.
- Instance
Type []stringIds - List of instance type IDs for cloud server (ECS) instances corresponding to the nodes. This list serves as the candidate set of instance types when creating nodes in the node pool, not as a fixed quota for each type: the node pool selects instance types from the list based on available inventory and other factors. Different nodes in the same node pool may use different types from the list, or all may use the same type. Each type does not correspond to an independent node count quota. To strictly split node counts by type, create a separate node pool for each type. You can call the ListSupportedResourceTypes API to query the resource types and ranges supported by the cluster instance. Constraints: Up to ten array elements are supported; all types in the list must be consistent, such as all GPU types, all non-GPU types, or all bare metal types; when multiple types are provided, the ImageId parameter is required.
- Instances
Distribution NodePool Node Config Instances Distribution - Configure a mixed strategy for spot instances and on-demand instances. This strategy takes effect when SpotStrategy is SpotAsPriceGo.
- Name
Prefix string - Node name prefix. If the value is an empty string or nil, it indicates that the node name prefix policy is not enabled. This policy is not enabled by default. Prefix validation rules: supports uppercase and lowercase English letters, numbers, and hyphens (-); must start with a letter and end with a letter or number; hyphens (-) cannot be used consecutively; length must be between 2 and 51 characters.
- Network
Traffic stringMode - Network communication mode between nodes. Options: HighPerformance: Communication method based on RDMA for data transmission. Standard: Communication method based on TCP for data transmission.
- Period int
- ECS instance purchase duration, in months. Values: 1, 2, 3, 4, 5, 6, 7, 8, 9, 12, 24, 36. Only required and mandatory when InstanceChargeType=PrePaid.
- Pre
Script string - [Invitation Test · Apply for Trial] Script executed before deploying the node. Enter the Shell script encoded in Base64. Note: The length after Base64 encoding must not exceed 8 KB. If both InitializeScript and PreScript are provided, the total length of both parameters must not exceed 8 KB.
- Project
Name string - Project name to which the ECS expanded from the node pool belongs. Each ECS can only belong to one project. Only English letters, numbers, underscores (_), periods (.), and hyphens (-) are allowed. Maximum length is 64 characters. Default is default.
- Public
Access NodeConfig Pool Node Config Public Access Config - Configuration information for automatically binding EIP to nodes.
- Public
Access boolEnabled - Enable automatic public IP (EIP) binding for nodes. Options: false: (default) Disabled. The system will not automatically assign an EIP to the node. If you need public network access later, refer to Applying for a Public IP and Binding to a Cloud Server. true: Enabled. The system automatically assigns an EIP to nodes in the cluster. You must also configure the PublicAccessConfig parameter to customize the EIP settings.
- Security
Node
Pool Node Config Security - Node security configuration
- Spot
Strategy string - Spot pricing strategy for on-demand billing applies only when InstanceChargeType=PostPaid. Options: NoSpot (default): standard on-demand instance. SpotAsPriceGo: system automatically bids, following the current market price.
- Subnet
Ids []string - List of subnet IDs to which the node network belongs. You can call the private network API to obtain subnet IDs. Note: Must be in the same private network as the cluster. A single node pool supports up to 8 subnet IDs.
- System
Volume NodePool Node Config System Volume - System disk configuration for the node. You can call the DescribeInstanceTypes API of the cloud server to obtain the matching relationship between ECS instance families and disk specifications.
-
[]Node
Pool Node Config Tag - Tag information bound to the ECS instance corresponding to the node, used for searching and managing ECS instances. Note: Keys in Tags must be unique. If a resource already has the same Tags.Key, binding the same Tags.Key again will not cause an error and will update to the latest Tags.Value. A single resource supports up to 20 ECS instance tags. Do not enter spaces at the beginning or end of Keys or Values in Tags. Important Note: When using SetNestedAttribute, you must fully define all attributes of its nested structure. Incomplete definitions may cause Terraform to detect unexpected differences during plan comparison, triggering unnecessary resource updates and affecting resource stability and predictability.
- additional_
container_ boolstorage_ enabled - Whether to configure the first data disk of the node, format it, and mount it to the container and image storage directory (/var/lib/containerd). Options: false: (default) Disabled. true: Enabled. Note: When enabled, at least one data disk must be configured; otherwise, node pool creation will fail. This method will automatically format the first data disk and create the file system.
- auto_
renew bool - Whether the ECS instance will be automatically renewed upon expiration. Options: true (default): auto renewal. false: no auto renewal. Only required when InstanceChargeType=PrePaid; otherwise, ignore.
- auto_
renew_ numberperiod - ECS instance auto-renewal duration, in months. Values: 1 (default), 2, 3, 6, 12. Only required when AutoRenew=true; otherwise, ignore.
- data_
volumes list(object) - Node data disk configuration. You can call the DescribeInstanceTypes API of the cloud server to obtain the matching relationship between ECS instance families and cloud disk specifications. Important Note: When using SetNestedAttribute, you must fully define all attributes of its nested structure. Incomplete definitions may cause Terraform to detect unexpected differences during plan comparison, triggering unnecessary resource updates and affecting resource stability and predictability.
- deployment_
set_ numbergroup_ number - When the specified deployment set policy is the deployment set group high availability policy, you can use this parameter to specify the group number of the instance in the deployment set. Value range: 1–3. 0 means not set.
- deployment_
set_ stringid - Deployment set ID that nodes in the node pool need to join. You can call the DescribeDeploymentSets API to obtain the deployment set ID.
- hostname string
- Host name corresponding to the node. Supports defining fixed incremental sorting and dynamic expansion sorting. For details on the definition format, see naming format.
- hpc_
cluster_ list(string)ids - High Performance Computing Cluster ID. When creating a node pool with a high-performance computing GPU type, you must specify the High Performance Computing Cluster ID, which can be obtained from the 'Instances & Images > High Performance Computing Cluster' page in the cloud server console. Note: Only one High Performance Computing Cluster ID is supported; ensure the specified cluster and the subnets in SubnetIds are in the same availability zone.
- image_
id string - The image ID used by the ECS instance corresponding to the node. Different image types have different image IDs. For details, see Public Images Supported by Container Service. Note: If you do not specify this parameter, Container Service will assign the veLinux-VKE image ID corresponding to the selected ECS instance type by default. If you specify multiple instance types, this parameter is required.
- initialize_
script string - Custom script to execute after creating and initializing the node. Supports Shell format and must be Base64-encoded before being passed in. Note: The Base64-encoded length must not exceed 8 KB. If both InitializeScript and PreScript are provided, the total length of both parameters must not exceed 8 KB.
- instance_
charge_ stringtype - ECS instance billing type. Values: PostPaid (default): pay-as-you-go. PrePaid: subscription.
- instance_
name string - Name of the node (instance). Supports defining fixed incremental sorting and dynamic expansion sorting. For format details, see naming format.
- instance_
type_ list(string)ids - List of instance type IDs for cloud server (ECS) instances corresponding to the nodes. This list serves as the candidate set of instance types when creating nodes in the node pool, not as a fixed quota for each type: the node pool selects instance types from the list based on available inventory and other factors. Different nodes in the same node pool may use different types from the list, or all may use the same type. Each type does not correspond to an independent node count quota. To strictly split node counts by type, create a separate node pool for each type. You can call the ListSupportedResourceTypes API to query the resource types and ranges supported by the cluster instance. Constraints: Up to ten array elements are supported; all types in the list must be consistent, such as all GPU types, all non-GPU types, or all bare metal types; when multiple types are provided, the ImageId parameter is required.
- instances_
distribution object - Configure a mixed strategy for spot instances and on-demand instances. This strategy takes effect when SpotStrategy is SpotAsPriceGo.
- name_
prefix string - Node name prefix. If the value is an empty string or nil, it indicates that the node name prefix policy is not enabled. This policy is not enabled by default. Prefix validation rules: supports uppercase and lowercase English letters, numbers, and hyphens (-); must start with a letter and end with a letter or number; hyphens (-) cannot be used consecutively; length must be between 2 and 51 characters.
- network_
traffic_ stringmode - Network communication mode between nodes. Options: HighPerformance: Communication method based on RDMA for data transmission. Standard: Communication method based on TCP for data transmission.
- period number
- ECS instance purchase duration, in months. Values: 1, 2, 3, 4, 5, 6, 7, 8, 9, 12, 24, 36. Only required and mandatory when InstanceChargeType=PrePaid.
- pre_
script string - [Invitation Test · Apply for Trial] Script executed before deploying the node. Enter the Shell script encoded in Base64. Note: The length after Base64 encoding must not exceed 8 KB. If both InitializeScript and PreScript are provided, the total length of both parameters must not exceed 8 KB.
- project_
name string - Project name to which the ECS expanded from the node pool belongs. Each ECS can only belong to one project. Only English letters, numbers, underscores (_), periods (.), and hyphens (-) are allowed. Maximum length is 64 characters. Default is default.
- public_
access_ objectconfig - Configuration information for automatically binding EIP to nodes.
- public_
access_ boolenabled - Enable automatic public IP (EIP) binding for nodes. Options: false: (default) Disabled. The system will not automatically assign an EIP to the node. If you need public network access later, refer to Applying for a Public IP and Binding to a Cloud Server. true: Enabled. The system automatically assigns an EIP to nodes in the cluster. You must also configure the PublicAccessConfig parameter to customize the EIP settings.
- security object
- Node security configuration
- spot_
strategy string - Spot pricing strategy for on-demand billing applies only when InstanceChargeType=PostPaid. Options: NoSpot (default): standard on-demand instance. SpotAsPriceGo: system automatically bids, following the current market price.
- subnet_
ids list(string) - List of subnet IDs to which the node network belongs. You can call the private network API to obtain subnet IDs. Note: Must be in the same private network as the cluster. A single node pool supports up to 8 subnet IDs.
- system_
volume object - System disk configuration for the node. You can call the DescribeInstanceTypes API of the cloud server to obtain the matching relationship between ECS instance families and disk specifications.
- list(object)
- Tag information bound to the ECS instance corresponding to the node, used for searching and managing ECS instances. Note: Keys in Tags must be unique. If a resource already has the same Tags.Key, binding the same Tags.Key again will not cause an error and will update to the latest Tags.Value. A single resource supports up to 20 ECS instance tags. Do not enter spaces at the beginning or end of Keys or Values in Tags. Important Note: When using SetNestedAttribute, you must fully define all attributes of its nested structure. Incomplete definitions may cause Terraform to detect unexpected differences during plan comparison, triggering unnecessary resource updates and affecting resource stability and predictability.
- additional
Container BooleanStorage Enabled - Whether to configure the first data disk of the node, format it, and mount it to the container and image storage directory (/var/lib/containerd). Options: false: (default) Disabled. true: Enabled. Note: When enabled, at least one data disk must be configured; otherwise, node pool creation will fail. This method will automatically format the first data disk and create the file system.
- auto
Renew Boolean - Whether the ECS instance will be automatically renewed upon expiration. Options: true (default): auto renewal. false: no auto renewal. Only required when InstanceChargeType=PrePaid; otherwise, ignore.
- auto
Renew IntegerPeriod - ECS instance auto-renewal duration, in months. Values: 1 (default), 2, 3, 6, 12. Only required when AutoRenew=true; otherwise, ignore.
- data
Volumes List<NodePool Node Config Data Volume> - Node data disk configuration. You can call the DescribeInstanceTypes API of the cloud server to obtain the matching relationship between ECS instance families and cloud disk specifications. Important Note: When using SetNestedAttribute, you must fully define all attributes of its nested structure. Incomplete definitions may cause Terraform to detect unexpected differences during plan comparison, triggering unnecessary resource updates and affecting resource stability and predictability.
- deployment
Set IntegerGroup Number - When the specified deployment set policy is the deployment set group high availability policy, you can use this parameter to specify the group number of the instance in the deployment set. Value range: 1–3. 0 means not set.
- deployment
Set StringId - Deployment set ID that nodes in the node pool need to join. You can call the DescribeDeploymentSets API to obtain the deployment set ID.
- hostname String
- Host name corresponding to the node. Supports defining fixed incremental sorting and dynamic expansion sorting. For details on the definition format, see naming format.
- hpc
Cluster List<String>Ids - High Performance Computing Cluster ID. When creating a node pool with a high-performance computing GPU type, you must specify the High Performance Computing Cluster ID, which can be obtained from the 'Instances & Images > High Performance Computing Cluster' page in the cloud server console. Note: Only one High Performance Computing Cluster ID is supported; ensure the specified cluster and the subnets in SubnetIds are in the same availability zone.
- image
Id String - The image ID used by the ECS instance corresponding to the node. Different image types have different image IDs. For details, see Public Images Supported by Container Service. Note: If you do not specify this parameter, Container Service will assign the veLinux-VKE image ID corresponding to the selected ECS instance type by default. If you specify multiple instance types, this parameter is required.
- initialize
Script String - Custom script to execute after creating and initializing the node. Supports Shell format and must be Base64-encoded before being passed in. Note: The Base64-encoded length must not exceed 8 KB. If both InitializeScript and PreScript are provided, the total length of both parameters must not exceed 8 KB.
- instance
Charge StringType - ECS instance billing type. Values: PostPaid (default): pay-as-you-go. PrePaid: subscription.
- instance
Name String - Name of the node (instance). Supports defining fixed incremental sorting and dynamic expansion sorting. For format details, see naming format.
- instance
Type List<String>Ids - List of instance type IDs for cloud server (ECS) instances corresponding to the nodes. This list serves as the candidate set of instance types when creating nodes in the node pool, not as a fixed quota for each type: the node pool selects instance types from the list based on available inventory and other factors. Different nodes in the same node pool may use different types from the list, or all may use the same type. Each type does not correspond to an independent node count quota. To strictly split node counts by type, create a separate node pool for each type. You can call the ListSupportedResourceTypes API to query the resource types and ranges supported by the cluster instance. Constraints: Up to ten array elements are supported; all types in the list must be consistent, such as all GPU types, all non-GPU types, or all bare metal types; when multiple types are provided, the ImageId parameter is required.
- instances
Distribution NodePool Node Config Instances Distribution - Configure a mixed strategy for spot instances and on-demand instances. This strategy takes effect when SpotStrategy is SpotAsPriceGo.
- name
Prefix String - Node name prefix. If the value is an empty string or nil, it indicates that the node name prefix policy is not enabled. This policy is not enabled by default. Prefix validation rules: supports uppercase and lowercase English letters, numbers, and hyphens (-); must start with a letter and end with a letter or number; hyphens (-) cannot be used consecutively; length must be between 2 and 51 characters.
- network
Traffic StringMode - Network communication mode between nodes. Options: HighPerformance: Communication method based on RDMA for data transmission. Standard: Communication method based on TCP for data transmission.
- period Integer
- ECS instance purchase duration, in months. Values: 1, 2, 3, 4, 5, 6, 7, 8, 9, 12, 24, 36. Only required and mandatory when InstanceChargeType=PrePaid.
- pre
Script String - [Invitation Test · Apply for Trial] Script executed before deploying the node. Enter the Shell script encoded in Base64. Note: The length after Base64 encoding must not exceed 8 KB. If both InitializeScript and PreScript are provided, the total length of both parameters must not exceed 8 KB.
- project
Name String - Project name to which the ECS expanded from the node pool belongs. Each ECS can only belong to one project. Only English letters, numbers, underscores (_), periods (.), and hyphens (-) are allowed. Maximum length is 64 characters. Default is default.
- public
Access NodeConfig Pool Node Config Public Access Config - Configuration information for automatically binding EIP to nodes.
- public
Access BooleanEnabled - Enable automatic public IP (EIP) binding for nodes. Options: false: (default) Disabled. The system will not automatically assign an EIP to the node. If you need public network access later, refer to Applying for a Public IP and Binding to a Cloud Server. true: Enabled. The system automatically assigns an EIP to nodes in the cluster. You must also configure the PublicAccessConfig parameter to customize the EIP settings.
- security
Node
Pool Node Config Security - Node security configuration
- spot
Strategy String - Spot pricing strategy for on-demand billing applies only when InstanceChargeType=PostPaid. Options: NoSpot (default): standard on-demand instance. SpotAsPriceGo: system automatically bids, following the current market price.
- subnet
Ids List<String> - List of subnet IDs to which the node network belongs. You can call the private network API to obtain subnet IDs. Note: Must be in the same private network as the cluster. A single node pool supports up to 8 subnet IDs.
- system
Volume NodePool Node Config System Volume - System disk configuration for the node. You can call the DescribeInstanceTypes API of the cloud server to obtain the matching relationship between ECS instance families and disk specifications.
-
List<Node
Pool Node Config Tag> - Tag information bound to the ECS instance corresponding to the node, used for searching and managing ECS instances. Note: Keys in Tags must be unique. If a resource already has the same Tags.Key, binding the same Tags.Key again will not cause an error and will update to the latest Tags.Value. A single resource supports up to 20 ECS instance tags. Do not enter spaces at the beginning or end of Keys or Values in Tags. Important Note: When using SetNestedAttribute, you must fully define all attributes of its nested structure. Incomplete definitions may cause Terraform to detect unexpected differences during plan comparison, triggering unnecessary resource updates and affecting resource stability and predictability.
- additional
Container booleanStorage Enabled - Whether to configure the first data disk of the node, format it, and mount it to the container and image storage directory (/var/lib/containerd). Options: false: (default) Disabled. true: Enabled. Note: When enabled, at least one data disk must be configured; otherwise, node pool creation will fail. This method will automatically format the first data disk and create the file system.
- auto
Renew boolean - Whether the ECS instance will be automatically renewed upon expiration. Options: true (default): auto renewal. false: no auto renewal. Only required when InstanceChargeType=PrePaid; otherwise, ignore.
- auto
Renew numberPeriod - ECS instance auto-renewal duration, in months. Values: 1 (default), 2, 3, 6, 12. Only required when AutoRenew=true; otherwise, ignore.
- data
Volumes NodePool Node Config Data Volume[] - Node data disk configuration. You can call the DescribeInstanceTypes API of the cloud server to obtain the matching relationship between ECS instance families and cloud disk specifications. Important Note: When using SetNestedAttribute, you must fully define all attributes of its nested structure. Incomplete definitions may cause Terraform to detect unexpected differences during plan comparison, triggering unnecessary resource updates and affecting resource stability and predictability.
- deployment
Set numberGroup Number - When the specified deployment set policy is the deployment set group high availability policy, you can use this parameter to specify the group number of the instance in the deployment set. Value range: 1–3. 0 means not set.
- deployment
Set stringId - Deployment set ID that nodes in the node pool need to join. You can call the DescribeDeploymentSets API to obtain the deployment set ID.
- hostname string
- Host name corresponding to the node. Supports defining fixed incremental sorting and dynamic expansion sorting. For details on the definition format, see naming format.
- hpc
Cluster string[]Ids - High Performance Computing Cluster ID. When creating a node pool with a high-performance computing GPU type, you must specify the High Performance Computing Cluster ID, which can be obtained from the 'Instances & Images > High Performance Computing Cluster' page in the cloud server console. Note: Only one High Performance Computing Cluster ID is supported; ensure the specified cluster and the subnets in SubnetIds are in the same availability zone.
- image
Id string - The image ID used by the ECS instance corresponding to the node. Different image types have different image IDs. For details, see Public Images Supported by Container Service. Note: If you do not specify this parameter, Container Service will assign the veLinux-VKE image ID corresponding to the selected ECS instance type by default. If you specify multiple instance types, this parameter is required.
- initialize
Script string - Custom script to execute after creating and initializing the node. Supports Shell format and must be Base64-encoded before being passed in. Note: The Base64-encoded length must not exceed 8 KB. If both InitializeScript and PreScript are provided, the total length of both parameters must not exceed 8 KB.
- instance
Charge stringType - ECS instance billing type. Values: PostPaid (default): pay-as-you-go. PrePaid: subscription.
- instance
Name string - Name of the node (instance). Supports defining fixed incremental sorting and dynamic expansion sorting. For format details, see naming format.
- instance
Type string[]Ids - List of instance type IDs for cloud server (ECS) instances corresponding to the nodes. This list serves as the candidate set of instance types when creating nodes in the node pool, not as a fixed quota for each type: the node pool selects instance types from the list based on available inventory and other factors. Different nodes in the same node pool may use different types from the list, or all may use the same type. Each type does not correspond to an independent node count quota. To strictly split node counts by type, create a separate node pool for each type. You can call the ListSupportedResourceTypes API to query the resource types and ranges supported by the cluster instance. Constraints: Up to ten array elements are supported; all types in the list must be consistent, such as all GPU types, all non-GPU types, or all bare metal types; when multiple types are provided, the ImageId parameter is required.
- instances
Distribution NodePool Node Config Instances Distribution - Configure a mixed strategy for spot instances and on-demand instances. This strategy takes effect when SpotStrategy is SpotAsPriceGo.
- name
Prefix string - Node name prefix. If the value is an empty string or nil, it indicates that the node name prefix policy is not enabled. This policy is not enabled by default. Prefix validation rules: supports uppercase and lowercase English letters, numbers, and hyphens (-); must start with a letter and end with a letter or number; hyphens (-) cannot be used consecutively; length must be between 2 and 51 characters.
- network
Traffic stringMode - Network communication mode between nodes. Options: HighPerformance: Communication method based on RDMA for data transmission. Standard: Communication method based on TCP for data transmission.
- period number
- ECS instance purchase duration, in months. Values: 1, 2, 3, 4, 5, 6, 7, 8, 9, 12, 24, 36. Only required and mandatory when InstanceChargeType=PrePaid.
- pre
Script string - [Invitation Test · Apply for Trial] Script executed before deploying the node. Enter the Shell script encoded in Base64. Note: The length after Base64 encoding must not exceed 8 KB. If both InitializeScript and PreScript are provided, the total length of both parameters must not exceed 8 KB.
- project
Name string - Project name to which the ECS expanded from the node pool belongs. Each ECS can only belong to one project. Only English letters, numbers, underscores (_), periods (.), and hyphens (-) are allowed. Maximum length is 64 characters. Default is default.
- public
Access NodeConfig Pool Node Config Public Access Config - Configuration information for automatically binding EIP to nodes.
- public
Access booleanEnabled - Enable automatic public IP (EIP) binding for nodes. Options: false: (default) Disabled. The system will not automatically assign an EIP to the node. If you need public network access later, refer to Applying for a Public IP and Binding to a Cloud Server. true: Enabled. The system automatically assigns an EIP to nodes in the cluster. You must also configure the PublicAccessConfig parameter to customize the EIP settings.
- security
Node
Pool Node Config Security - Node security configuration
- spot
Strategy string - Spot pricing strategy for on-demand billing applies only when InstanceChargeType=PostPaid. Options: NoSpot (default): standard on-demand instance. SpotAsPriceGo: system automatically bids, following the current market price.
- subnet
Ids string[] - List of subnet IDs to which the node network belongs. You can call the private network API to obtain subnet IDs. Note: Must be in the same private network as the cluster. A single node pool supports up to 8 subnet IDs.
- system
Volume NodePool Node Config System Volume - System disk configuration for the node. You can call the DescribeInstanceTypes API of the cloud server to obtain the matching relationship between ECS instance families and disk specifications.
-
Node
Pool Node Config Tag[] - Tag information bound to the ECS instance corresponding to the node, used for searching and managing ECS instances. Note: Keys in Tags must be unique. If a resource already has the same Tags.Key, binding the same Tags.Key again will not cause an error and will update to the latest Tags.Value. A single resource supports up to 20 ECS instance tags. Do not enter spaces at the beginning or end of Keys or Values in Tags. Important Note: When using SetNestedAttribute, you must fully define all attributes of its nested structure. Incomplete definitions may cause Terraform to detect unexpected differences during plan comparison, triggering unnecessary resource updates and affecting resource stability and predictability.
- additional_
container_ boolstorage_ enabled - Whether to configure the first data disk of the node, format it, and mount it to the container and image storage directory (/var/lib/containerd). Options: false: (default) Disabled. true: Enabled. Note: When enabled, at least one data disk must be configured; otherwise, node pool creation will fail. This method will automatically format the first data disk and create the file system.
- auto_
renew bool - Whether the ECS instance will be automatically renewed upon expiration. Options: true (default): auto renewal. false: no auto renewal. Only required when InstanceChargeType=PrePaid; otherwise, ignore.
- auto_
renew_ intperiod - ECS instance auto-renewal duration, in months. Values: 1 (default), 2, 3, 6, 12. Only required when AutoRenew=true; otherwise, ignore.
- data_
volumes Sequence[NodePool Node Config Data Volume] - Node data disk configuration. You can call the DescribeInstanceTypes API of the cloud server to obtain the matching relationship between ECS instance families and cloud disk specifications. Important Note: When using SetNestedAttribute, you must fully define all attributes of its nested structure. Incomplete definitions may cause Terraform to detect unexpected differences during plan comparison, triggering unnecessary resource updates and affecting resource stability and predictability.
- deployment_
set_ intgroup_ number - When the specified deployment set policy is the deployment set group high availability policy, you can use this parameter to specify the group number of the instance in the deployment set. Value range: 1–3. 0 means not set.
- deployment_
set_ strid - Deployment set ID that nodes in the node pool need to join. You can call the DescribeDeploymentSets API to obtain the deployment set ID.
- hostname str
- Host name corresponding to the node. Supports defining fixed incremental sorting and dynamic expansion sorting. For details on the definition format, see naming format.
- hpc_
cluster_ Sequence[str]ids - High Performance Computing Cluster ID. When creating a node pool with a high-performance computing GPU type, you must specify the High Performance Computing Cluster ID, which can be obtained from the 'Instances & Images > High Performance Computing Cluster' page in the cloud server console. Note: Only one High Performance Computing Cluster ID is supported; ensure the specified cluster and the subnets in SubnetIds are in the same availability zone.
- image_
id str - The image ID used by the ECS instance corresponding to the node. Different image types have different image IDs. For details, see Public Images Supported by Container Service. Note: If you do not specify this parameter, Container Service will assign the veLinux-VKE image ID corresponding to the selected ECS instance type by default. If you specify multiple instance types, this parameter is required.
- initialize_
script str - Custom script to execute after creating and initializing the node. Supports Shell format and must be Base64-encoded before being passed in. Note: The Base64-encoded length must not exceed 8 KB. If both InitializeScript and PreScript are provided, the total length of both parameters must not exceed 8 KB.
- instance_
charge_ strtype - ECS instance billing type. Values: PostPaid (default): pay-as-you-go. PrePaid: subscription.
- instance_
name str - Name of the node (instance). Supports defining fixed incremental sorting and dynamic expansion sorting. For format details, see naming format.
- instance_
type_ Sequence[str]ids - List of instance type IDs for cloud server (ECS) instances corresponding to the nodes. This list serves as the candidate set of instance types when creating nodes in the node pool, not as a fixed quota for each type: the node pool selects instance types from the list based on available inventory and other factors. Different nodes in the same node pool may use different types from the list, or all may use the same type. Each type does not correspond to an independent node count quota. To strictly split node counts by type, create a separate node pool for each type. You can call the ListSupportedResourceTypes API to query the resource types and ranges supported by the cluster instance. Constraints: Up to ten array elements are supported; all types in the list must be consistent, such as all GPU types, all non-GPU types, or all bare metal types; when multiple types are provided, the ImageId parameter is required.
- instances_
distribution NodePool Node Config Instances Distribution - Configure a mixed strategy for spot instances and on-demand instances. This strategy takes effect when SpotStrategy is SpotAsPriceGo.
- name_
prefix str - Node name prefix. If the value is an empty string or nil, it indicates that the node name prefix policy is not enabled. This policy is not enabled by default. Prefix validation rules: supports uppercase and lowercase English letters, numbers, and hyphens (-); must start with a letter and end with a letter or number; hyphens (-) cannot be used consecutively; length must be between 2 and 51 characters.
- network_
traffic_ strmode - Network communication mode between nodes. Options: HighPerformance: Communication method based on RDMA for data transmission. Standard: Communication method based on TCP for data transmission.
- period int
- ECS instance purchase duration, in months. Values: 1, 2, 3, 4, 5, 6, 7, 8, 9, 12, 24, 36. Only required and mandatory when InstanceChargeType=PrePaid.
- pre_
script str - [Invitation Test · Apply for Trial] Script executed before deploying the node. Enter the Shell script encoded in Base64. Note: The length after Base64 encoding must not exceed 8 KB. If both InitializeScript and PreScript are provided, the total length of both parameters must not exceed 8 KB.
- project_
name str - Project name to which the ECS expanded from the node pool belongs. Each ECS can only belong to one project. Only English letters, numbers, underscores (_), periods (.), and hyphens (-) are allowed. Maximum length is 64 characters. Default is default.
- public_
access_ Nodeconfig Pool Node Config Public Access Config - Configuration information for automatically binding EIP to nodes.
- public_
access_ boolenabled - Enable automatic public IP (EIP) binding for nodes. Options: false: (default) Disabled. The system will not automatically assign an EIP to the node. If you need public network access later, refer to Applying for a Public IP and Binding to a Cloud Server. true: Enabled. The system automatically assigns an EIP to nodes in the cluster. You must also configure the PublicAccessConfig parameter to customize the EIP settings.
- security
Node
Pool Node Config Security - Node security configuration
- spot_
strategy str - Spot pricing strategy for on-demand billing applies only when InstanceChargeType=PostPaid. Options: NoSpot (default): standard on-demand instance. SpotAsPriceGo: system automatically bids, following the current market price.
- subnet_
ids Sequence[str] - List of subnet IDs to which the node network belongs. You can call the private network API to obtain subnet IDs. Note: Must be in the same private network as the cluster. A single node pool supports up to 8 subnet IDs.
- system_
volume NodePool Node Config System Volume - System disk configuration for the node. You can call the DescribeInstanceTypes API of the cloud server to obtain the matching relationship between ECS instance families and disk specifications.
-
Sequence[Node
Pool Node Config Tag] - Tag information bound to the ECS instance corresponding to the node, used for searching and managing ECS instances. Note: Keys in Tags must be unique. If a resource already has the same Tags.Key, binding the same Tags.Key again will not cause an error and will update to the latest Tags.Value. A single resource supports up to 20 ECS instance tags. Do not enter spaces at the beginning or end of Keys or Values in Tags. Important Note: When using SetNestedAttribute, you must fully define all attributes of its nested structure. Incomplete definitions may cause Terraform to detect unexpected differences during plan comparison, triggering unnecessary resource updates and affecting resource stability and predictability.
- additional
Container BooleanStorage Enabled - Whether to configure the first data disk of the node, format it, and mount it to the container and image storage directory (/var/lib/containerd). Options: false: (default) Disabled. true: Enabled. Note: When enabled, at least one data disk must be configured; otherwise, node pool creation will fail. This method will automatically format the first data disk and create the file system.
- auto
Renew Boolean - Whether the ECS instance will be automatically renewed upon expiration. Options: true (default): auto renewal. false: no auto renewal. Only required when InstanceChargeType=PrePaid; otherwise, ignore.
- auto
Renew NumberPeriod - ECS instance auto-renewal duration, in months. Values: 1 (default), 2, 3, 6, 12. Only required when AutoRenew=true; otherwise, ignore.
- data
Volumes List<Property Map> - Node data disk configuration. You can call the DescribeInstanceTypes API of the cloud server to obtain the matching relationship between ECS instance families and cloud disk specifications. Important Note: When using SetNestedAttribute, you must fully define all attributes of its nested structure. Incomplete definitions may cause Terraform to detect unexpected differences during plan comparison, triggering unnecessary resource updates and affecting resource stability and predictability.
- deployment
Set NumberGroup Number - When the specified deployment set policy is the deployment set group high availability policy, you can use this parameter to specify the group number of the instance in the deployment set. Value range: 1–3. 0 means not set.
- deployment
Set StringId - Deployment set ID that nodes in the node pool need to join. You can call the DescribeDeploymentSets API to obtain the deployment set ID.
- hostname String
- Host name corresponding to the node. Supports defining fixed incremental sorting and dynamic expansion sorting. For details on the definition format, see naming format.
- hpc
Cluster List<String>Ids - High Performance Computing Cluster ID. When creating a node pool with a high-performance computing GPU type, you must specify the High Performance Computing Cluster ID, which can be obtained from the 'Instances & Images > High Performance Computing Cluster' page in the cloud server console. Note: Only one High Performance Computing Cluster ID is supported; ensure the specified cluster and the subnets in SubnetIds are in the same availability zone.
- image
Id String - The image ID used by the ECS instance corresponding to the node. Different image types have different image IDs. For details, see Public Images Supported by Container Service. Note: If you do not specify this parameter, Container Service will assign the veLinux-VKE image ID corresponding to the selected ECS instance type by default. If you specify multiple instance types, this parameter is required.
- initialize
Script String - Custom script to execute after creating and initializing the node. Supports Shell format and must be Base64-encoded before being passed in. Note: The Base64-encoded length must not exceed 8 KB. If both InitializeScript and PreScript are provided, the total length of both parameters must not exceed 8 KB.
- instance
Charge StringType - ECS instance billing type. Values: PostPaid (default): pay-as-you-go. PrePaid: subscription.
- instance
Name String - Name of the node (instance). Supports defining fixed incremental sorting and dynamic expansion sorting. For format details, see naming format.
- instance
Type List<String>Ids - List of instance type IDs for cloud server (ECS) instances corresponding to the nodes. This list serves as the candidate set of instance types when creating nodes in the node pool, not as a fixed quota for each type: the node pool selects instance types from the list based on available inventory and other factors. Different nodes in the same node pool may use different types from the list, or all may use the same type. Each type does not correspond to an independent node count quota. To strictly split node counts by type, create a separate node pool for each type. You can call the ListSupportedResourceTypes API to query the resource types and ranges supported by the cluster instance. Constraints: Up to ten array elements are supported; all types in the list must be consistent, such as all GPU types, all non-GPU types, or all bare metal types; when multiple types are provided, the ImageId parameter is required.
- instances
Distribution Property Map - Configure a mixed strategy for spot instances and on-demand instances. This strategy takes effect when SpotStrategy is SpotAsPriceGo.
- name
Prefix String - Node name prefix. If the value is an empty string or nil, it indicates that the node name prefix policy is not enabled. This policy is not enabled by default. Prefix validation rules: supports uppercase and lowercase English letters, numbers, and hyphens (-); must start with a letter and end with a letter or number; hyphens (-) cannot be used consecutively; length must be between 2 and 51 characters.
- network
Traffic StringMode - Network communication mode between nodes. Options: HighPerformance: Communication method based on RDMA for data transmission. Standard: Communication method based on TCP for data transmission.
- period Number
- ECS instance purchase duration, in months. Values: 1, 2, 3, 4, 5, 6, 7, 8, 9, 12, 24, 36. Only required and mandatory when InstanceChargeType=PrePaid.
- pre
Script String - [Invitation Test · Apply for Trial] Script executed before deploying the node. Enter the Shell script encoded in Base64. Note: The length after Base64 encoding must not exceed 8 KB. If both InitializeScript and PreScript are provided, the total length of both parameters must not exceed 8 KB.
- project
Name String - Project name to which the ECS expanded from the node pool belongs. Each ECS can only belong to one project. Only English letters, numbers, underscores (_), periods (.), and hyphens (-) are allowed. Maximum length is 64 characters. Default is default.
- public
Access Property MapConfig - Configuration information for automatically binding EIP to nodes.
- public
Access BooleanEnabled - Enable automatic public IP (EIP) binding for nodes. Options: false: (default) Disabled. The system will not automatically assign an EIP to the node. If you need public network access later, refer to Applying for a Public IP and Binding to a Cloud Server. true: Enabled. The system automatically assigns an EIP to nodes in the cluster. You must also configure the PublicAccessConfig parameter to customize the EIP settings.
- security Property Map
- Node security configuration
- spot
Strategy String - Spot pricing strategy for on-demand billing applies only when InstanceChargeType=PostPaid. Options: NoSpot (default): standard on-demand instance. SpotAsPriceGo: system automatically bids, following the current market price.
- subnet
Ids List<String> - List of subnet IDs to which the node network belongs. You can call the private network API to obtain subnet IDs. Note: Must be in the same private network as the cluster. A single node pool supports up to 8 subnet IDs.
- system
Volume Property Map - System disk configuration for the node. You can call the DescribeInstanceTypes API of the cloud server to obtain the matching relationship between ECS instance families and disk specifications.
- List<Property Map>
- Tag information bound to the ECS instance corresponding to the node, used for searching and managing ECS instances. Note: Keys in Tags must be unique. If a resource already has the same Tags.Key, binding the same Tags.Key again will not cause an error and will update to the latest Tags.Value. A single resource supports up to 20 ECS instance tags. Do not enter spaces at the beginning or end of Keys or Values in Tags. Important Note: When using SetNestedAttribute, you must fully define all attributes of its nested structure. Incomplete definitions may cause Terraform to detect unexpected differences during plan comparison, triggering unnecessary resource updates and affecting resource stability and predictability.
NodePoolNodeConfigDataVolume, NodePoolNodeConfigDataVolumeArgs
- File
System string - [Invitation Test · Apply for Trial] File system for the node pool data disk. Values: Ext4 (default), Xfs.
- Mount
Point string - Target mount directory after disk formatting.
- Placement
Group stringId - Storage placement group ID to which the data disk belongs.
- Size int
- Disk capacity, in GiB.
- Snapshot
Id string - Snapshot ID used when creating a data disk from a snapshot. You can call the DescribeSnapshots API to query the snapshot ID. Note: Only ultra-fast SSDs and efficient cloud disks support creating cloud disks from snapshots. Only snapshots in the 'available' state can be used to create new cloud disks. Snapshots in 'creating', 'rolling back', 'deleting', or 'error' states cannot be used to create new cloud disks.
- Subgroup
Number int - Storage sub-placement group number of the data disk.
- Type string
- Disk types. Cloud disks: ESSDPL0: Ultra-fast SSD cloud disk, PL0 specification. ESSDFlexPL: Ultra-fast SSD cloud disk, FlexPL specification. UltraDisk: [EBS Invitation Test] High-performance SSD cloud disk. TSSDTL0: Throughput SSD cloud disk, TL0 specification. RSSDPL0: [EBS Invitation Test] Elastic remote disk, PL0 specification. Local disks: LOCALSSD: SSD type local disk. LOCALHDD: HDD type local disk. LOCALLVMSSD: SSD LVM logical local disk. LOCALSSD_SRIOV: SSD SRIOV local disk.
- File
System string - [Invitation Test · Apply for Trial] File system for the node pool data disk. Values: Ext4 (default), Xfs.
- Mount
Point string - Target mount directory after disk formatting.
- Placement
Group stringId - Storage placement group ID to which the data disk belongs.
- Size int
- Disk capacity, in GiB.
- Snapshot
Id string - Snapshot ID used when creating a data disk from a snapshot. You can call the DescribeSnapshots API to query the snapshot ID. Note: Only ultra-fast SSDs and efficient cloud disks support creating cloud disks from snapshots. Only snapshots in the 'available' state can be used to create new cloud disks. Snapshots in 'creating', 'rolling back', 'deleting', or 'error' states cannot be used to create new cloud disks.
- Subgroup
Number int - Storage sub-placement group number of the data disk.
- Type string
- Disk types. Cloud disks: ESSDPL0: Ultra-fast SSD cloud disk, PL0 specification. ESSDFlexPL: Ultra-fast SSD cloud disk, FlexPL specification. UltraDisk: [EBS Invitation Test] High-performance SSD cloud disk. TSSDTL0: Throughput SSD cloud disk, TL0 specification. RSSDPL0: [EBS Invitation Test] Elastic remote disk, PL0 specification. Local disks: LOCALSSD: SSD type local disk. LOCALHDD: HDD type local disk. LOCALLVMSSD: SSD LVM logical local disk. LOCALSSD_SRIOV: SSD SRIOV local disk.
- file_
system string - [Invitation Test · Apply for Trial] File system for the node pool data disk. Values: Ext4 (default), Xfs.
- mount_
point string - Target mount directory after disk formatting.
- placement_
group_ stringid - Storage placement group ID to which the data disk belongs.
- size number
- Disk capacity, in GiB.
- snapshot_
id string - Snapshot ID used when creating a data disk from a snapshot. You can call the DescribeSnapshots API to query the snapshot ID. Note: Only ultra-fast SSDs and efficient cloud disks support creating cloud disks from snapshots. Only snapshots in the 'available' state can be used to create new cloud disks. Snapshots in 'creating', 'rolling back', 'deleting', or 'error' states cannot be used to create new cloud disks.
- subgroup_
number number - Storage sub-placement group number of the data disk.
- type string
- Disk types. Cloud disks: ESSDPL0: Ultra-fast SSD cloud disk, PL0 specification. ESSDFlexPL: Ultra-fast SSD cloud disk, FlexPL specification. UltraDisk: [EBS Invitation Test] High-performance SSD cloud disk. TSSDTL0: Throughput SSD cloud disk, TL0 specification. RSSDPL0: [EBS Invitation Test] Elastic remote disk, PL0 specification. Local disks: LOCALSSD: SSD type local disk. LOCALHDD: HDD type local disk. LOCALLVMSSD: SSD LVM logical local disk. LOCALSSD_SRIOV: SSD SRIOV local disk.
- file
System String - [Invitation Test · Apply for Trial] File system for the node pool data disk. Values: Ext4 (default), Xfs.
- mount
Point String - Target mount directory after disk formatting.
- placement
Group StringId - Storage placement group ID to which the data disk belongs.
- size Integer
- Disk capacity, in GiB.
- snapshot
Id String - Snapshot ID used when creating a data disk from a snapshot. You can call the DescribeSnapshots API to query the snapshot ID. Note: Only ultra-fast SSDs and efficient cloud disks support creating cloud disks from snapshots. Only snapshots in the 'available' state can be used to create new cloud disks. Snapshots in 'creating', 'rolling back', 'deleting', or 'error' states cannot be used to create new cloud disks.
- subgroup
Number Integer - Storage sub-placement group number of the data disk.
- type String
- Disk types. Cloud disks: ESSDPL0: Ultra-fast SSD cloud disk, PL0 specification. ESSDFlexPL: Ultra-fast SSD cloud disk, FlexPL specification. UltraDisk: [EBS Invitation Test] High-performance SSD cloud disk. TSSDTL0: Throughput SSD cloud disk, TL0 specification. RSSDPL0: [EBS Invitation Test] Elastic remote disk, PL0 specification. Local disks: LOCALSSD: SSD type local disk. LOCALHDD: HDD type local disk. LOCALLVMSSD: SSD LVM logical local disk. LOCALSSD_SRIOV: SSD SRIOV local disk.
- file
System string - [Invitation Test · Apply for Trial] File system for the node pool data disk. Values: Ext4 (default), Xfs.
- mount
Point string - Target mount directory after disk formatting.
- placement
Group stringId - Storage placement group ID to which the data disk belongs.
- size number
- Disk capacity, in GiB.
- snapshot
Id string - Snapshot ID used when creating a data disk from a snapshot. You can call the DescribeSnapshots API to query the snapshot ID. Note: Only ultra-fast SSDs and efficient cloud disks support creating cloud disks from snapshots. Only snapshots in the 'available' state can be used to create new cloud disks. Snapshots in 'creating', 'rolling back', 'deleting', or 'error' states cannot be used to create new cloud disks.
- subgroup
Number number - Storage sub-placement group number of the data disk.
- type string
- Disk types. Cloud disks: ESSDPL0: Ultra-fast SSD cloud disk, PL0 specification. ESSDFlexPL: Ultra-fast SSD cloud disk, FlexPL specification. UltraDisk: [EBS Invitation Test] High-performance SSD cloud disk. TSSDTL0: Throughput SSD cloud disk, TL0 specification. RSSDPL0: [EBS Invitation Test] Elastic remote disk, PL0 specification. Local disks: LOCALSSD: SSD type local disk. LOCALHDD: HDD type local disk. LOCALLVMSSD: SSD LVM logical local disk. LOCALSSD_SRIOV: SSD SRIOV local disk.
- file_
system str - [Invitation Test · Apply for Trial] File system for the node pool data disk. Values: Ext4 (default), Xfs.
- mount_
point str - Target mount directory after disk formatting.
- placement_
group_ strid - Storage placement group ID to which the data disk belongs.
- size int
- Disk capacity, in GiB.
- snapshot_
id str - Snapshot ID used when creating a data disk from a snapshot. You can call the DescribeSnapshots API to query the snapshot ID. Note: Only ultra-fast SSDs and efficient cloud disks support creating cloud disks from snapshots. Only snapshots in the 'available' state can be used to create new cloud disks. Snapshots in 'creating', 'rolling back', 'deleting', or 'error' states cannot be used to create new cloud disks.
- subgroup_
number int - Storage sub-placement group number of the data disk.
- type str
- Disk types. Cloud disks: ESSDPL0: Ultra-fast SSD cloud disk, PL0 specification. ESSDFlexPL: Ultra-fast SSD cloud disk, FlexPL specification. UltraDisk: [EBS Invitation Test] High-performance SSD cloud disk. TSSDTL0: Throughput SSD cloud disk, TL0 specification. RSSDPL0: [EBS Invitation Test] Elastic remote disk, PL0 specification. Local disks: LOCALSSD: SSD type local disk. LOCALHDD: HDD type local disk. LOCALLVMSSD: SSD LVM logical local disk. LOCALSSD_SRIOV: SSD SRIOV local disk.
- file
System String - [Invitation Test · Apply for Trial] File system for the node pool data disk. Values: Ext4 (default), Xfs.
- mount
Point String - Target mount directory after disk formatting.
- placement
Group StringId - Storage placement group ID to which the data disk belongs.
- size Number
- Disk capacity, in GiB.
- snapshot
Id String - Snapshot ID used when creating a data disk from a snapshot. You can call the DescribeSnapshots API to query the snapshot ID. Note: Only ultra-fast SSDs and efficient cloud disks support creating cloud disks from snapshots. Only snapshots in the 'available' state can be used to create new cloud disks. Snapshots in 'creating', 'rolling back', 'deleting', or 'error' states cannot be used to create new cloud disks.
- subgroup
Number Number - Storage sub-placement group number of the data disk.
- type String
- Disk types. Cloud disks: ESSDPL0: Ultra-fast SSD cloud disk, PL0 specification. ESSDFlexPL: Ultra-fast SSD cloud disk, FlexPL specification. UltraDisk: [EBS Invitation Test] High-performance SSD cloud disk. TSSDTL0: Throughput SSD cloud disk, TL0 specification. RSSDPL0: [EBS Invitation Test] Elastic remote disk, PL0 specification. Local disks: LOCALSSD: SSD type local disk. LOCALHDD: HDD type local disk. LOCALLVMSSD: SSD LVM logical local disk. LOCALSSD_SRIOV: SSD SRIOV local disk.
NodePoolNodeConfigInstancesDistribution, NodePoolNodeConfigInstancesDistributionArgs
- Capacity
Rebalance bool - Whether to enable capacity rebalancing (on-demand instance supplementation for preemptible capacity). Values: true: enable this feature to proactively create new preemptible instances for compensation before existing preemptible instances are reclaimed; false (default): do not enable this feature, and only scale out to replenish instances after preemptible instances are reclaimed.
- Compensate
With boolOn Demand - Enable on-demand instance replacement. Values: true: Enable this feature. When all preemptible instances fail to be purchased due to insufficient inventory or other reasons, attempt to purchase on-demand instances. false: (Default) Do not enable this feature. When scaling out preemptible instances, only the configured preemptible instances are attempted.
- On
Demand intBase Capacity - Base capacity size. The base capacity portion is fixed as on-demand instances. Value range: [0,500], default is 0.
- On
Demand intPercentage Above Base Capacity - Proportion of pay-as-you-go instances in the remaining capacity of the node pool after deducting the base capacity for pay-as-you-go instances. Value range: [0,100]. 0 means only preemptible instances are created for the portion exceeding the base capacity; 100 means only pay-as-you-go instances are created. Default value is 0.
- Capacity
Rebalance bool - Whether to enable capacity rebalancing (on-demand instance supplementation for preemptible capacity). Values: true: enable this feature to proactively create new preemptible instances for compensation before existing preemptible instances are reclaimed; false (default): do not enable this feature, and only scale out to replenish instances after preemptible instances are reclaimed.
- Compensate
With boolOn Demand - Enable on-demand instance replacement. Values: true: Enable this feature. When all preemptible instances fail to be purchased due to insufficient inventory or other reasons, attempt to purchase on-demand instances. false: (Default) Do not enable this feature. When scaling out preemptible instances, only the configured preemptible instances are attempted.
- On
Demand intBase Capacity - Base capacity size. The base capacity portion is fixed as on-demand instances. Value range: [0,500], default is 0.
- On
Demand intPercentage Above Base Capacity - Proportion of pay-as-you-go instances in the remaining capacity of the node pool after deducting the base capacity for pay-as-you-go instances. Value range: [0,100]. 0 means only preemptible instances are created for the portion exceeding the base capacity; 100 means only pay-as-you-go instances are created. Default value is 0.
- capacity_
rebalance bool - Whether to enable capacity rebalancing (on-demand instance supplementation for preemptible capacity). Values: true: enable this feature to proactively create new preemptible instances for compensation before existing preemptible instances are reclaimed; false (default): do not enable this feature, and only scale out to replenish instances after preemptible instances are reclaimed.
- compensate_
with_ boolon_ demand - Enable on-demand instance replacement. Values: true: Enable this feature. When all preemptible instances fail to be purchased due to insufficient inventory or other reasons, attempt to purchase on-demand instances. false: (Default) Do not enable this feature. When scaling out preemptible instances, only the configured preemptible instances are attempted.
- on_
demand_ numberbase_ capacity - Base capacity size. The base capacity portion is fixed as on-demand instances. Value range: [0,500], default is 0.
- on_
demand_ numberpercentage_ above_ base_ capacity - Proportion of pay-as-you-go instances in the remaining capacity of the node pool after deducting the base capacity for pay-as-you-go instances. Value range: [0,100]. 0 means only preemptible instances are created for the portion exceeding the base capacity; 100 means only pay-as-you-go instances are created. Default value is 0.
- capacity
Rebalance Boolean - Whether to enable capacity rebalancing (on-demand instance supplementation for preemptible capacity). Values: true: enable this feature to proactively create new preemptible instances for compensation before existing preemptible instances are reclaimed; false (default): do not enable this feature, and only scale out to replenish instances after preemptible instances are reclaimed.
- compensate
With BooleanOn Demand - Enable on-demand instance replacement. Values: true: Enable this feature. When all preemptible instances fail to be purchased due to insufficient inventory or other reasons, attempt to purchase on-demand instances. false: (Default) Do not enable this feature. When scaling out preemptible instances, only the configured preemptible instances are attempted.
- on
Demand IntegerBase Capacity - Base capacity size. The base capacity portion is fixed as on-demand instances. Value range: [0,500], default is 0.
- on
Demand IntegerPercentage Above Base Capacity - Proportion of pay-as-you-go instances in the remaining capacity of the node pool after deducting the base capacity for pay-as-you-go instances. Value range: [0,100]. 0 means only preemptible instances are created for the portion exceeding the base capacity; 100 means only pay-as-you-go instances are created. Default value is 0.
- capacity
Rebalance boolean - Whether to enable capacity rebalancing (on-demand instance supplementation for preemptible capacity). Values: true: enable this feature to proactively create new preemptible instances for compensation before existing preemptible instances are reclaimed; false (default): do not enable this feature, and only scale out to replenish instances after preemptible instances are reclaimed.
- compensate
With booleanOn Demand - Enable on-demand instance replacement. Values: true: Enable this feature. When all preemptible instances fail to be purchased due to insufficient inventory or other reasons, attempt to purchase on-demand instances. false: (Default) Do not enable this feature. When scaling out preemptible instances, only the configured preemptible instances are attempted.
- on
Demand numberBase Capacity - Base capacity size. The base capacity portion is fixed as on-demand instances. Value range: [0,500], default is 0.
- on
Demand numberPercentage Above Base Capacity - Proportion of pay-as-you-go instances in the remaining capacity of the node pool after deducting the base capacity for pay-as-you-go instances. Value range: [0,100]. 0 means only preemptible instances are created for the portion exceeding the base capacity; 100 means only pay-as-you-go instances are created. Default value is 0.
- capacity_
rebalance bool - Whether to enable capacity rebalancing (on-demand instance supplementation for preemptible capacity). Values: true: enable this feature to proactively create new preemptible instances for compensation before existing preemptible instances are reclaimed; false (default): do not enable this feature, and only scale out to replenish instances after preemptible instances are reclaimed.
- compensate_
with_ boolon_ demand - Enable on-demand instance replacement. Values: true: Enable this feature. When all preemptible instances fail to be purchased due to insufficient inventory or other reasons, attempt to purchase on-demand instances. false: (Default) Do not enable this feature. When scaling out preemptible instances, only the configured preemptible instances are attempted.
- on_
demand_ intbase_ capacity - Base capacity size. The base capacity portion is fixed as on-demand instances. Value range: [0,500], default is 0.
- on_
demand_ intpercentage_ above_ base_ capacity - Proportion of pay-as-you-go instances in the remaining capacity of the node pool after deducting the base capacity for pay-as-you-go instances. Value range: [0,100]. 0 means only preemptible instances are created for the portion exceeding the base capacity; 100 means only pay-as-you-go instances are created. Default value is 0.
- capacity
Rebalance Boolean - Whether to enable capacity rebalancing (on-demand instance supplementation for preemptible capacity). Values: true: enable this feature to proactively create new preemptible instances for compensation before existing preemptible instances are reclaimed; false (default): do not enable this feature, and only scale out to replenish instances after preemptible instances are reclaimed.
- compensate
With BooleanOn Demand - Enable on-demand instance replacement. Values: true: Enable this feature. When all preemptible instances fail to be purchased due to insufficient inventory or other reasons, attempt to purchase on-demand instances. false: (Default) Do not enable this feature. When scaling out preemptible instances, only the configured preemptible instances are attempted.
- on
Demand NumberBase Capacity - Base capacity size. The base capacity portion is fixed as on-demand instances. Value range: [0,500], default is 0.
- on
Demand NumberPercentage Above Base Capacity - Proportion of pay-as-you-go instances in the remaining capacity of the node pool after deducting the base capacity for pay-as-you-go instances. Value range: [0,100]. 0 means only preemptible instances are created for the portion exceeding the base capacity; 100 means only pay-as-you-go instances are created. Default value is 0.
NodePoolNodeConfigPublicAccessConfig, NodePoolNodeConfigPublicAccessConfigArgs
- Bandwidth int
- Peak bandwidth for public IP, unit: Mbps
- Billing
Type int - Billing type for public IP. Values: 2: pay-as-you-go by bandwidth cap. 3: pay-as-you-go by actual traffic.
- Isp string
- Public IP line type. Parameter value description: BGP: BGP (multi-line).
- Bandwidth int
- Peak bandwidth for public IP, unit: Mbps
- Billing
Type int - Billing type for public IP. Values: 2: pay-as-you-go by bandwidth cap. 3: pay-as-you-go by actual traffic.
- Isp string
- Public IP line type. Parameter value description: BGP: BGP (multi-line).
- bandwidth number
- Peak bandwidth for public IP, unit: Mbps
- billing_
type number - Billing type for public IP. Values: 2: pay-as-you-go by bandwidth cap. 3: pay-as-you-go by actual traffic.
- isp string
- Public IP line type. Parameter value description: BGP: BGP (multi-line).
- bandwidth Integer
- Peak bandwidth for public IP, unit: Mbps
- billing
Type Integer - Billing type for public IP. Values: 2: pay-as-you-go by bandwidth cap. 3: pay-as-you-go by actual traffic.
- isp String
- Public IP line type. Parameter value description: BGP: BGP (multi-line).
- bandwidth number
- Peak bandwidth for public IP, unit: Mbps
- billing
Type number - Billing type for public IP. Values: 2: pay-as-you-go by bandwidth cap. 3: pay-as-you-go by actual traffic.
- isp string
- Public IP line type. Parameter value description: BGP: BGP (multi-line).
- bandwidth int
- Peak bandwidth for public IP, unit: Mbps
- billing_
type int - Billing type for public IP. Values: 2: pay-as-you-go by bandwidth cap. 3: pay-as-you-go by actual traffic.
- isp str
- Public IP line type. Parameter value description: BGP: BGP (multi-line).
- bandwidth Number
- Peak bandwidth for public IP, unit: Mbps
- billing
Type Number - Billing type for public IP. Values: 2: pay-as-you-go by bandwidth cap. 3: pay-as-you-go by actual traffic.
- isp String
- Public IP line type. Parameter value description: BGP: BGP (multi-line).
NodePoolNodeConfigSecurity, NodePoolNodeConfigSecurityArgs
- Login
Volcengine.
Node Pool Node Config Security Login - Node access configuration.
- Security
Group List<string>Ids - List of security group IDs for the node network
- Security
Strategies List<string> - Node security policy. Parameter description: Hids: Host security hardening.
- Security
Strategy boolEnabled - Whether the node has enabled security hardening configuration. Parameter values: true: enabled; false: not enabled
- Login
Node
Pool Node Config Security Login - Node access configuration.
- Security
Group []stringIds - List of security group IDs for the node network
- Security
Strategies []string - Node security policy. Parameter description: Hids: Host security hardening.
- Security
Strategy boolEnabled - Whether the node has enabled security hardening configuration. Parameter values: true: enabled; false: not enabled
- login object
- Node access configuration.
- security_
group_ list(string)ids - List of security group IDs for the node network
- security_
strategies list(string) - Node security policy. Parameter description: Hids: Host security hardening.
- security_
strategy_ boolenabled - Whether the node has enabled security hardening configuration. Parameter values: true: enabled; false: not enabled
- login
Node
Pool Node Config Security Login - Node access configuration.
- security
Group List<String>Ids - List of security group IDs for the node network
- security
Strategies List<String> - Node security policy. Parameter description: Hids: Host security hardening.
- security
Strategy BooleanEnabled - Whether the node has enabled security hardening configuration. Parameter values: true: enabled; false: not enabled
- login
Node
Pool Node Config Security Login - Node access configuration.
- security
Group string[]Ids - List of security group IDs for the node network
- security
Strategies string[] - Node security policy. Parameter description: Hids: Host security hardening.
- security
Strategy booleanEnabled - Whether the node has enabled security hardening configuration. Parameter values: true: enabled; false: not enabled
- login
Node
Pool Node Config Security Login - Node access configuration.
- security_
group_ Sequence[str]ids - List of security group IDs for the node network
- security_
strategies Sequence[str] - Node security policy. Parameter description: Hids: Host security hardening.
- security_
strategy_ boolenabled - Whether the node has enabled security hardening configuration. Parameter values: true: enabled; false: not enabled
- login Property Map
- Node access configuration.
- security
Group List<String>Ids - List of security group IDs for the node network
- security
Strategies List<String> - Node security policy. Parameter description: Hids: Host security hardening.
- security
Strategy BooleanEnabled - Whether the node has enabled security hardening configuration. Parameter values: true: enabled; false: not enabled
NodePoolNodeConfigSecurityLogin, NodePoolNodeConfigSecurityLoginArgs
- Password string
- Root user login password in Base64 encoding. Follow the cloud server's requirements for instance passwords: 8–30 characters in length, must not start with / or $6$, supports the following character types and must include at least three types: lowercase letters a–z, uppercase letters A–Z, numbers 0–9, special characters ( ) ` ~ ! @ # $ % ^ & * _ - + = | { } [ ] : ; ' < > , . ? /
- Ssh
Key stringPair Name - SSH key pair name. Ensure the key pair is already created or hosted in the cloud server
- Type string
- Node access login method. Parameter values: Password: password login; SshKeyPair: SSH key pair login
- Password string
- Root user login password in Base64 encoding. Follow the cloud server's requirements for instance passwords: 8–30 characters in length, must not start with / or $6$, supports the following character types and must include at least three types: lowercase letters a–z, uppercase letters A–Z, numbers 0–9, special characters ( ) ` ~ ! @ # $ % ^ & * _ - + = | { } [ ] : ; ' < > , . ? /
- Ssh
Key stringPair Name - SSH key pair name. Ensure the key pair is already created or hosted in the cloud server
- Type string
- Node access login method. Parameter values: Password: password login; SshKeyPair: SSH key pair login
- password string
- Root user login password in Base64 encoding. Follow the cloud server's requirements for instance passwords: 8–30 characters in length, must not start with / or $6$, supports the following character types and must include at least three types: lowercase letters a–z, uppercase letters A–Z, numbers 0–9, special characters ( ) ` ~ ! @ # $ % ^ & * _ - + = | { } [ ] : ; ' < > , . ? /
- ssh_
key_ stringpair_ name - SSH key pair name. Ensure the key pair is already created or hosted in the cloud server
- type string
- Node access login method. Parameter values: Password: password login; SshKeyPair: SSH key pair login
- password String
- Root user login password in Base64 encoding. Follow the cloud server's requirements for instance passwords: 8–30 characters in length, must not start with / or $6$, supports the following character types and must include at least three types: lowercase letters a–z, uppercase letters A–Z, numbers 0–9, special characters ( ) ` ~ ! @ # $ % ^ & * _ - + = | { } [ ] : ; ' < > , . ? /
- ssh
Key StringPair Name - SSH key pair name. Ensure the key pair is already created or hosted in the cloud server
- type String
- Node access login method. Parameter values: Password: password login; SshKeyPair: SSH key pair login
- password string
- Root user login password in Base64 encoding. Follow the cloud server's requirements for instance passwords: 8–30 characters in length, must not start with / or $6$, supports the following character types and must include at least three types: lowercase letters a–z, uppercase letters A–Z, numbers 0–9, special characters ( ) ` ~ ! @ # $ % ^ & * _ - + = | { } [ ] : ; ' < > , . ? /
- ssh
Key stringPair Name - SSH key pair name. Ensure the key pair is already created or hosted in the cloud server
- type string
- Node access login method. Parameter values: Password: password login; SshKeyPair: SSH key pair login
- password str
- Root user login password in Base64 encoding. Follow the cloud server's requirements for instance passwords: 8–30 characters in length, must not start with / or $6$, supports the following character types and must include at least three types: lowercase letters a–z, uppercase letters A–Z, numbers 0–9, special characters ( ) ` ~ ! @ # $ % ^ & * _ - + = | { } [ ] : ; ' < > , . ? /
- ssh_
key_ strpair_ name - SSH key pair name. Ensure the key pair is already created or hosted in the cloud server
- type str
- Node access login method. Parameter values: Password: password login; SshKeyPair: SSH key pair login
- password String
- Root user login password in Base64 encoding. Follow the cloud server's requirements for instance passwords: 8–30 characters in length, must not start with / or $6$, supports the following character types and must include at least three types: lowercase letters a–z, uppercase letters A–Z, numbers 0–9, special characters ( ) ` ~ ! @ # $ % ^ & * _ - + = | { } [ ] : ; ' < > , . ? /
- ssh
Key StringPair Name - SSH key pair name. Ensure the key pair is already created or hosted in the cloud server
- type String
- Node access login method. Parameter values: Password: password login; SshKeyPair: SSH key pair login
NodePoolNodeConfigSystemVolume, NodePoolNodeConfigSystemVolumeArgs
- Placement
Group stringId - Storage placement group ID of the system disk.
- Size int
- Cloud disk capacity, in GiB. Value description: Default is 40 GiB; for Ultra SSD (ESSDPL0, ESSDFlexPL), the range is 40–2048 GiB.
- Subgroup
Number int - Storage sub-placement group number for the system disk.
- Type string
- Cloud disk types: ESSDPL0: (default) Ultra-fast SSD cloud disk with performance level PL0. ESSDFlexPL: Ultra-fast SSD cloud disk with performance level PL1.
- Placement
Group stringId - Storage placement group ID of the system disk.
- Size int
- Cloud disk capacity, in GiB. Value description: Default is 40 GiB; for Ultra SSD (ESSDPL0, ESSDFlexPL), the range is 40–2048 GiB.
- Subgroup
Number int - Storage sub-placement group number for the system disk.
- Type string
- Cloud disk types: ESSDPL0: (default) Ultra-fast SSD cloud disk with performance level PL0. ESSDFlexPL: Ultra-fast SSD cloud disk with performance level PL1.
- placement_
group_ stringid - Storage placement group ID of the system disk.
- size number
- Cloud disk capacity, in GiB. Value description: Default is 40 GiB; for Ultra SSD (ESSDPL0, ESSDFlexPL), the range is 40–2048 GiB.
- subgroup_
number number - Storage sub-placement group number for the system disk.
- type string
- Cloud disk types: ESSDPL0: (default) Ultra-fast SSD cloud disk with performance level PL0. ESSDFlexPL: Ultra-fast SSD cloud disk with performance level PL1.
- placement
Group StringId - Storage placement group ID of the system disk.
- size Integer
- Cloud disk capacity, in GiB. Value description: Default is 40 GiB; for Ultra SSD (ESSDPL0, ESSDFlexPL), the range is 40–2048 GiB.
- subgroup
Number Integer - Storage sub-placement group number for the system disk.
- type String
- Cloud disk types: ESSDPL0: (default) Ultra-fast SSD cloud disk with performance level PL0. ESSDFlexPL: Ultra-fast SSD cloud disk with performance level PL1.
- placement
Group stringId - Storage placement group ID of the system disk.
- size number
- Cloud disk capacity, in GiB. Value description: Default is 40 GiB; for Ultra SSD (ESSDPL0, ESSDFlexPL), the range is 40–2048 GiB.
- subgroup
Number number - Storage sub-placement group number for the system disk.
- type string
- Cloud disk types: ESSDPL0: (default) Ultra-fast SSD cloud disk with performance level PL0. ESSDFlexPL: Ultra-fast SSD cloud disk with performance level PL1.
- placement_
group_ strid - Storage placement group ID of the system disk.
- size int
- Cloud disk capacity, in GiB. Value description: Default is 40 GiB; for Ultra SSD (ESSDPL0, ESSDFlexPL), the range is 40–2048 GiB.
- subgroup_
number int - Storage sub-placement group number for the system disk.
- type str
- Cloud disk types: ESSDPL0: (default) Ultra-fast SSD cloud disk with performance level PL0. ESSDFlexPL: Ultra-fast SSD cloud disk with performance level PL1.
- placement
Group StringId - Storage placement group ID of the system disk.
- size Number
- Cloud disk capacity, in GiB. Value description: Default is 40 GiB; for Ultra SSD (ESSDPL0, ESSDFlexPL), the range is 40–2048 GiB.
- subgroup
Number Number - Storage sub-placement group number for the system disk.
- type String
- Cloud disk types: ESSDPL0: (default) Ultra-fast SSD cloud disk with performance level PL0. ESSDFlexPL: Ultra-fast SSD cloud disk with performance level PL1.
NodePoolNodeConfigTag, NodePoolNodeConfigTagArgs
NodePoolNodeStatistics, NodePoolNodeStatisticsArgs
- Creating
Count int - Total number of nodes in Phase=Creating.
- Deleting
Count int - Total number of nodes with Phase=Deleting
- Failed
Count int - Total number of nodes with Phase=Failed
- Running
Count int - Total number of nodes with Phase=Running
- Total
Count int - Total number of nodes in the node pool
- Updating
Count int - Total number of nodes with Phase=Updating
- Creating
Count int - Total number of nodes in Phase=Creating.
- Deleting
Count int - Total number of nodes with Phase=Deleting
- Failed
Count int - Total number of nodes with Phase=Failed
- Running
Count int - Total number of nodes with Phase=Running
- Total
Count int - Total number of nodes in the node pool
- Updating
Count int - Total number of nodes with Phase=Updating
- creating_
count number - Total number of nodes in Phase=Creating.
- deleting_
count number - Total number of nodes with Phase=Deleting
- failed_
count number - Total number of nodes with Phase=Failed
- running_
count number - Total number of nodes with Phase=Running
- total_
count number - Total number of nodes in the node pool
- updating_
count number - Total number of nodes with Phase=Updating
- creating
Count Integer - Total number of nodes in Phase=Creating.
- deleting
Count Integer - Total number of nodes with Phase=Deleting
- failed
Count Integer - Total number of nodes with Phase=Failed
- running
Count Integer - Total number of nodes with Phase=Running
- total
Count Integer - Total number of nodes in the node pool
- updating
Count Integer - Total number of nodes with Phase=Updating
- creating
Count number - Total number of nodes in Phase=Creating.
- deleting
Count number - Total number of nodes with Phase=Deleting
- failed
Count number - Total number of nodes with Phase=Failed
- running
Count number - Total number of nodes with Phase=Running
- total
Count number - Total number of nodes in the node pool
- updating
Count number - Total number of nodes with Phase=Updating
- creating_
count int - Total number of nodes in Phase=Creating.
- deleting_
count int - Total number of nodes with Phase=Deleting
- failed_
count int - Total number of nodes with Phase=Failed
- running_
count int - Total number of nodes with Phase=Running
- total_
count int - Total number of nodes in the node pool
- updating_
count int - Total number of nodes with Phase=Updating
- creating
Count Number - Total number of nodes in Phase=Creating.
- deleting
Count Number - Total number of nodes with Phase=Deleting
- failed
Count Number - Total number of nodes with Phase=Failed
- running
Count Number - Total number of nodes with Phase=Running
- total
Count Number - Total number of nodes in the node pool
- updating
Count Number - Total number of nodes with Phase=Updating
NodePoolStatus, NodePoolStatusArgs
- Conditions
List<Volcengine.
Node Pool Status Condition> - Status conditions for the current primary state of the node pool, i.e., the reason for entering this primary state Important Note: When using SetNestedAttribute, you must fully define all attributes of its nested structure. Incomplete definitions may cause Terraform to detect unexpected differences during plan comparison, triggering unnecessary resource updates and affecting resource stability and predictability.
- Phase string
- Status of the node pool. Values: Creating: Creating. Running: Running. Updating: Updating. Deleting: Deleting. Failed: Abnormal. Scaling: Scaling. Note: For valid combinations of Phase and Conditions.Type, see the resource status documentation.
- Conditions
[]Node
Pool Status Condition - Status conditions for the current primary state of the node pool, i.e., the reason for entering this primary state Important Note: When using SetNestedAttribute, you must fully define all attributes of its nested structure. Incomplete definitions may cause Terraform to detect unexpected differences during plan comparison, triggering unnecessary resource updates and affecting resource stability and predictability.
- Phase string
- Status of the node pool. Values: Creating: Creating. Running: Running. Updating: Updating. Deleting: Deleting. Failed: Abnormal. Scaling: Scaling. Note: For valid combinations of Phase and Conditions.Type, see the resource status documentation.
- conditions list(object)
- Status conditions for the current primary state of the node pool, i.e., the reason for entering this primary state Important Note: When using SetNestedAttribute, you must fully define all attributes of its nested structure. Incomplete definitions may cause Terraform to detect unexpected differences during plan comparison, triggering unnecessary resource updates and affecting resource stability and predictability.
- phase string
- Status of the node pool. Values: Creating: Creating. Running: Running. Updating: Updating. Deleting: Deleting. Failed: Abnormal. Scaling: Scaling. Note: For valid combinations of Phase and Conditions.Type, see the resource status documentation.
- conditions
List<Node
Pool Status Condition> - Status conditions for the current primary state of the node pool, i.e., the reason for entering this primary state Important Note: When using SetNestedAttribute, you must fully define all attributes of its nested structure. Incomplete definitions may cause Terraform to detect unexpected differences during plan comparison, triggering unnecessary resource updates and affecting resource stability and predictability.
- phase String
- Status of the node pool. Values: Creating: Creating. Running: Running. Updating: Updating. Deleting: Deleting. Failed: Abnormal. Scaling: Scaling. Note: For valid combinations of Phase and Conditions.Type, see the resource status documentation.
- conditions
Node
Pool Status Condition[] - Status conditions for the current primary state of the node pool, i.e., the reason for entering this primary state Important Note: When using SetNestedAttribute, you must fully define all attributes of its nested structure. Incomplete definitions may cause Terraform to detect unexpected differences during plan comparison, triggering unnecessary resource updates and affecting resource stability and predictability.
- phase string
- Status of the node pool. Values: Creating: Creating. Running: Running. Updating: Updating. Deleting: Deleting. Failed: Abnormal. Scaling: Scaling. Note: For valid combinations of Phase and Conditions.Type, see the resource status documentation.
- conditions
Sequence[Node
Pool Status Condition] - Status conditions for the current primary state of the node pool, i.e., the reason for entering this primary state Important Note: When using SetNestedAttribute, you must fully define all attributes of its nested structure. Incomplete definitions may cause Terraform to detect unexpected differences during plan comparison, triggering unnecessary resource updates and affecting resource stability and predictability.
- phase str
- Status of the node pool. Values: Creating: Creating. Running: Running. Updating: Updating. Deleting: Deleting. Failed: Abnormal. Scaling: Scaling. Note: For valid combinations of Phase and Conditions.Type, see the resource status documentation.
- conditions List<Property Map>
- Status conditions for the current primary state of the node pool, i.e., the reason for entering this primary state Important Note: When using SetNestedAttribute, you must fully define all attributes of its nested structure. Incomplete definitions may cause Terraform to detect unexpected differences during plan comparison, triggering unnecessary resource updates and affecting resource stability and predictability.
- phase String
- Status of the node pool. Values: Creating: Creating. Running: Running. Updating: Updating. Deleting: Deleting. Failed: Abnormal. Scaling: Scaling. Note: For valid combinations of Phase and Conditions.Type, see the resource status documentation.
NodePoolStatusCondition, NodePoolStatusConditionArgs
- Type string
- Status conditions under the current primary state of the node pool, indicating the reasons for entering this state. Multiple reasons are possible. Values: Progressing: in progress. Ok: normal. ResourceCleanupFailed: resource cleanup failed. Unknown: creation failed due to unknown reasons. ClusterNotRunning: cluster exception. ScalingFailed: scaling failed. ClusterVersionUpgrading: node version upgrading in the node pool. Note: For valid Phase and Conditions.Type combinations, see resource status description.
- Type string
- Status conditions under the current primary state of the node pool, indicating the reasons for entering this state. Multiple reasons are possible. Values: Progressing: in progress. Ok: normal. ResourceCleanupFailed: resource cleanup failed. Unknown: creation failed due to unknown reasons. ClusterNotRunning: cluster exception. ScalingFailed: scaling failed. ClusterVersionUpgrading: node version upgrading in the node pool. Note: For valid Phase and Conditions.Type combinations, see resource status description.
- type string
- Status conditions under the current primary state of the node pool, indicating the reasons for entering this state. Multiple reasons are possible. Values: Progressing: in progress. Ok: normal. ResourceCleanupFailed: resource cleanup failed. Unknown: creation failed due to unknown reasons. ClusterNotRunning: cluster exception. ScalingFailed: scaling failed. ClusterVersionUpgrading: node version upgrading in the node pool. Note: For valid Phase and Conditions.Type combinations, see resource status description.
- type String
- Status conditions under the current primary state of the node pool, indicating the reasons for entering this state. Multiple reasons are possible. Values: Progressing: in progress. Ok: normal. ResourceCleanupFailed: resource cleanup failed. Unknown: creation failed due to unknown reasons. ClusterNotRunning: cluster exception. ScalingFailed: scaling failed. ClusterVersionUpgrading: node version upgrading in the node pool. Note: For valid Phase and Conditions.Type combinations, see resource status description.
- type string
- Status conditions under the current primary state of the node pool, indicating the reasons for entering this state. Multiple reasons are possible. Values: Progressing: in progress. Ok: normal. ResourceCleanupFailed: resource cleanup failed. Unknown: creation failed due to unknown reasons. ClusterNotRunning: cluster exception. ScalingFailed: scaling failed. ClusterVersionUpgrading: node version upgrading in the node pool. Note: For valid Phase and Conditions.Type combinations, see resource status description.
- type str
- Status conditions under the current primary state of the node pool, indicating the reasons for entering this state. Multiple reasons are possible. Values: Progressing: in progress. Ok: normal. ResourceCleanupFailed: resource cleanup failed. Unknown: creation failed due to unknown reasons. ClusterNotRunning: cluster exception. ScalingFailed: scaling failed. ClusterVersionUpgrading: node version upgrading in the node pool. Note: For valid Phase and Conditions.Type combinations, see resource status description.
- type String
- Status conditions under the current primary state of the node pool, indicating the reasons for entering this state. Multiple reasons are possible. Values: Progressing: in progress. Ok: normal. ResourceCleanupFailed: resource cleanup failed. Unknown: creation failed due to unknown reasons. ClusterNotRunning: cluster exception. ScalingFailed: scaling failed. ClusterVersionUpgrading: node version upgrading in the node pool. Note: For valid Phase and Conditions.Type combinations, see resource status description.
NodePoolTag, NodePoolTagArgs
Import
$ pulumi import volcenginecc:vke/nodePool:NodePool example "cluster_id|node_pool_id"
To learn more about importing existing cloud resources, see Importing resources.
Package Details
- Repository
- volcenginecc volcengine/pulumi-volcenginecc
- License
- MPL-2.0
- Notes
- This Pulumi package is based on the
volcengineccTerraform Provider.
published on Thursday, Oct 15, 2026 by Volcengine