All Products
Search
Document Center

Container Service for Kubernetes:DescribeClusterNodePoolDetail

Last Updated:Jul 15, 2026

Queries the configuration of a specified node pool in a cluster by node pool ID.

Try it now

Try this API in OpenAPI Explorer, no manual signing needed. Successful calls auto-generate SDK code matching your parameters. Download it with built-in credential security for local usage.

Test

RAM authorization

The table below describes the authorization required to call this API. You can define it in a Resource Access Management (RAM) policy. The table's columns are detailed below:

  • Action: The actions can be used in the Action element of RAM permission policy statements to grant permissions to perform the operation.

  • API: The API that you can call to perform the action.

  • Access level: The predefined level of access granted for each API. Valid values: create, list, get, update, and delete.

  • Resource type: The type of the resource that supports authorization to perform the action. It indicates if the action supports resource-level permission. The specified resource must be compatible with the action. Otherwise, the policy will be ineffective.

    • For APIs with resource-level permissions, required resource types are marked with an asterisk (*). Specify the corresponding Alibaba Cloud Resource Name (ARN) in the Resource element of the policy.

    • For APIs without resource-level permissions, it is shown as All Resources. Use an asterisk (*) in the Resource element of the policy.

  • Condition key: The condition keys defined by the service. The key allows for granular control, applying to either actions alone or actions associated with specific resources. In addition to service-specific condition keys, Alibaba Cloud provides a set of common condition keys applicable across all RAM-supported services.

  • Dependent action: The dependent actions required to run the action. To complete the action, the RAM user or the RAM role must have the permissions to perform all dependent actions.

Action

Access level

Resource type

Condition key

Dependent action

cs:DescribeClusterNodePoolDetail

get

*Cluster

acs:cs:{#regionId}:{#accountId}:cluster/{#ClusterId}

None None

Request syntax

GET /clusters/{ClusterId}/nodepools/{NodepoolId} HTTP/1.1

Path Parameters

Parameter

Type

Required

Description

Example

ClusterId

string

Yes

The cluster ID.

c23421cfa74454bc8b37163fd19af****

NodepoolId

string

Yes

The node pool ID.

np31da1b38983f4511b490fc62108a****

Request parameters

Parameter

Type

Required

Description

Example

No parameters required.

Response elements

Element

Type

Description

Example

object

The node pool details.

nodepool_info

object

The node pool configuration.

nodepool_id

string

The node pool ID.

np615c0e0966124216a0412e10afe0****

name

string

The node pool name.

default-nodepool

type

string

The node pool type. Valid values:

  • ess: standard node pool (includes managed features and elastic scaling).

  • edge: edge node pool.

  • lingjun: Lingjun node pool.

ess

is_default

boolean

Indicates whether this is the default node pool. A cluster typically has only one default node pool. Valid values:

  • true: Default node pool.

  • false: Non-default node pool.

true

resource_group_id

string

The resource group ID.

rg-acfmyvw3wjmb****

region_id

string

The region ID.

cn-beijing

created

string

The time when the node pool was created.

2025-04-10T14:25:37.285530433+08:00

updated

string

The time when the node pool was last updated.

2025-04-15T15:39:45.41+08:00

status

object

The node pool status.

state

string

The node pool status. Valid values:

  • active: Active.

  • scaling: Scaling.

  • removing: Removing nodes.

  • deleting: Deleting.

  • updating: Updating.

active

healthy_nodes

integer

The number of healthy nodes.

3

initial_nodes

integer

The number of nodes being created.

0

failed_nodes

integer

The number of failed nodes.

0

offline_nodes

integer

The number of offline nodes.

0

removing_nodes

integer

The number of nodes being removed.

0

serving_nodes

integer

The number of serving nodes.

3

total_nodes

integer

The total number of nodes in the node pool.

3

conditions

array<object>

The node pool conditions, which represent the status information of the node pool across different dimensions.

object

The condition.

type

string

The type.

ImageUpgradeReady

status

string

The status.

True

reason

string

The reason.

UpgradeDisabled

message

string

The detailed message.

AutoUpgradeDisabled

last_transition_time

string

The time of the last status transition.

20**-**-30T10:39:00+08:00

auto_scaling

object

The auto scaling configuration of the node pool.

enable

boolean

Specifies whether auto scaling is enabled. Valid values:

  • true: Enables the auto scaling feature for the node pool. When the cluster capacity planning cannot meet application Pod scheduling requirements, ACK automatically scales node resources based on the configured minimum and maximum instance counts. Clusters of version 1.24 and later use instant node scaling by default. Clusters of versions earlier than 1.24 use node auto scaling by default. For more information, see Node scaling.

  • false: Disables auto scaling. ACK adjusts the number of nodes in the node pool based on the configured desired node count and maintains the node count at the desired value.

When the value is false, other configuration parameters in auto_scaling do not take effect.

true

type

string

The auto scaling type, categorized by instance type. Valid values:

  • cpu: regular instance type.

  • gpu: GPU instance type.

  • gpushare: GPU sharing type.

  • spot: spot instance type.

cpu

max_instances

integer

The maximum number of instances that can be scaled in the node pool, excluding your existing instances.

10

min_instances

integer

The minimum number of instances that can be scaled in the node pool, excluding your existing instances.

1

eip_internet_charge_type

string

The EIP billing type. Valid values:

  • PayByBandwidth: pay-by-bandwidth.

  • PayByTraffic: pay-by-traffic.

PayByBandwidth

is_bond_eip

boolean

Specifies whether to associate an EIP. Valid values:

  • true: Associate an EIP.

  • false: Do not associate an EIP.

true

eip_bandwidth

integer

The peak bandwidth of the EIP.

Valid values: [1,100]. Unit: Mbit/s.

5

management

object

The managed node pool configuration.

enable

boolean

Specifies whether the managed node pool is enabled. Valid values:

  • true: Enable the managed node pool.

  • false: Disable the managed node pool. Other related configurations take effect only when enable=true.

true

auto_repair

boolean

Specifies whether auto repair is enabled. This parameter takes effect only when enable=true.

  • true: Enable auto repair.

  • false: Disable auto repair.

true

auto_repair_policy

object

The auto repair policy for nodes.

restart_node

boolean

Specifies whether to allow node restart. This parameter takes effect only when auto_repair=true.

  • true: Allow node restart.

  • false: Do not allow node restart.

true

approval_required

boolean

Specifies whether manual approval is required for node repair.

false

auto_repair_policy_id

string

The auto repair policy ID.

r-xxxxxxxxxx

auto_vul_fix

boolean

Specifies whether to automatically fix CVEs. This parameter takes effect only when enable=true.

  • true: Allow automatic CVE fix.

  • false: Do not allow automatic CVE fix.

true

auto_vul_fix_policy

object

The auto CVE fix policy.

restart_node

boolean

Specifies whether to allow node restart. This parameter takes effect only when auto_vul_fix=true. Valid values:

  • true: Allow node restart.

  • false: Do not allow node restart.

true

vul_level

string

The vulnerability levels that are allowed for automatic fix, separated by commas.

  • asap: high

  • later: medium

  • nntf: low

asap,nntf

exclude_packages

string

The packages to exclude during vulnerability fix.

kernel

auto_upgrade

boolean

Specifies whether to automatically upgrade nodes. This parameter takes effect only when enable=true.

  • true: Enable auto upgrade.

  • false: Disable auto upgrade.

true

auto_upgrade_policy

object

The auto upgrade policy.

auto_upgrade_kubelet

boolean

Specifies whether to allow automatic kubelet upgrade. This parameter takes effect only when auto_upgrade=true. Valid values:

  • true: Allow automatic kubelet upgrade.

  • false: Do not allow automatic kubelet upgrade.

true

upgrade_config

object

The auto upgrade configuration. This parameter takes effect only when enable=true.

auto_upgrade

boolean

Specifies whether to enable automatic upgrade. Valid values:

  • true: Enable automatic upgrade.

  • false: Disable automatic upgrade.

true

surge

integer

The number of extra nodes. You can set either this parameter or surge_percentage.

5

surge_percentage

integer

The percentage of extra nodes. You can set either this parameter or surge.

Number of extra nodes = extra node percentage × number of nodes. For example, if the extra node percentage is set to 50% and there are 6 existing nodes, the number of extra nodes = 50% × 6 = 3.

50

max_unavailable

integer

The maximum number of unavailable nodes. Valid values: [1,1000].

Default value: 1.

1

auto_fault_diagnosis

boolean

drift_enabled

boolean

scaling_group

object

The scaling group configuration of the node pool.

scaling_group_id

string

The scaling group ID.

asg-2zeieod8giqmov7z****

vswitch_ids

array

The list of vSwitch IDs.

string

The vSwitch ID.

vsw-2ze3ds0mdip0hdz8i****

instance_types

array

The list of node instance types.

string

The node instance type.

ecs.n4.large

instance_charge_type

string

The billing type of nodes in the node pool. Valid values:

  • PrePaid: subscription.

  • PostPaid: pay-as-you-go.

PostPaid

period

integer

The subscription period of nodes. This parameter is required and takes effect only when instance_charge_type is set to PrePaid.

  • When period_unit=Week, valid values of period: {1, 2, 3, 4}.

  • When period_unit=Month, valid values of period: {1, 2, 3, 4, 5, 6, 7, 8, 9, 12, 24, 36, 48, 60}.

0

period_unit

string

The unit of the node billing period. Specify this parameter when instance_charge_type is set to PrePaid.

  • Month: month as the unit.

  • Week: week as the unit.

Month

auto_renew

boolean

Specifies whether auto-renewal is enabled for nodes. This parameter takes effect only when instance_charge_type is set to PrePaid. Valid values:

  • true: Enable auto-renewal.

  • false: Disable auto-renewal.

false

auto_renew_period

integer

The duration of each auto-renewal cycle. Valid values:

  • When PeriodUnit=Week: 1, 2, 3.

  • When PeriodUnit=Month: 1, 2, 3, 6, 12, 24, 36, 48, 60.

1

spot_strategy

string

The spot instance type. Valid values:

  • NoSpot: non-spot instance.

  • SpotWithPriceLimit: spot instance with a price limit.

  • SpotAsPriceGo: system automatically bids at the current market price.

For more information, see Spot instances.

NoSpot

spot_price_limit

array<object>

The spot instance price limit configuration.

object

The spot instance price limit configuration. You can set different price limits for different instance types.

instance_type

string

The spot instance type.

ecs.c6.large

price_limit

string

The market price per instance.

Unit: USD/hour.

0.39

image_type

string

The operating system image type. Valid values:

  • AliyunLinux: Alinux2 image.

  • AliyunLinuxSecurity: Alinux2 UEFI image.

  • AliyunLinux3: Alinux3 image.

  • AliyunLinux3Arm64: Alinux3 ARM image.

  • AliyunLinux3Security: Alinux3 UEFI image.

  • CentOS: CentOS image.

  • Windows: Windows image.

  • WindowsCore: WindowsCore image.

  • ContainerOS: container-optimized image.

  • AliyunLinux3ContainerOptimized: Alinux3 container-optimized image.

AliyunLinux3

image_id

string

The custom image ID.

aliyun_3_x64_20G_alibase_20241218.vhd

system_disk_category

string

The system cloud disk type. Valid values:

  • cloud_efficiency: ultra cloud disk.

  • cloud_ssd: standard SSD.

  • cloud_essd: ESSD.

  • cloud_auto: ESSD AutoPL cloud disk.

  • cloud_essd_entry: ESSD Entry cloud disk.

cloud_efficiency

system_disk_categories

array

The system cloud disk types with priority. When a higher-priority disk type is unavailable, the system automatically attempts the next-priority disk type to create the system cloud disk.

string

The system cloud disk type.

Valid values:

  • cloud_efficiency: ultra cloud disk.

  • cloud_ssd: standard SSD.

  • cloud_essd: ESSD.

  • cloud_auto: ESSD AutoPL cloud disk.

  • cloud_essd_entry: ESSD Entry cloud disk.

cloud_essd

system_disk_size

integer

The system cloud disk size. Unit: GiB.

Valid values: [20,2048].

120

system_disk_performance_level

string

The performance level of the system cloud disk. This parameter takes effect only for ESSD cloud disks. The performance level is related to the disk size. For more information, see ESSD cloud disks.

  • PL0: moderate concurrent I/O performance with relatively stable read/write latency.

  • PL1: moderate concurrent I/O performance with relatively stable read/write latency.

  • PL2: high concurrent I/O performance with stable read/write latency.

  • PL3: ultra-high concurrent I/O performance with extremely stable read/write latency.

PL1

system_disk_encrypted

boolean

Specifies whether to encrypt the system cloud disk. Valid values:

  • true: Encrypted.

  • false: Not encrypted.

false

system_disk_kms_key_id

string

The KMS key ID used for the system cloud disk.

0e478b7a-4262-4802-b8cb-00d3fb40****

system_disk_encrypt_algorithm

string

The encryption algorithm used for the system cloud disk. Valid values: aes-256.

aes-256

system_disk_bursting_enabled

boolean

Specifies whether to enable burst (performance burst) for the system cloud disk. Valid values:

  • true: Enable. When enabled, the cloud disk temporarily boosts performance during sudden data read/write pressure until the workload stabilizes.

  • false: Disable.

This parameter is supported only when system_disk_category is set to cloud_auto. For more information, see ESSD AutoPL cloud disks.

true

system_disk_provisioned_iops

integer

The provisioned read/write IOPS of the system cloud disk.

Valid values: 0~min{50,000, 1000*capacity-baseline performance}. Baseline performance=min{1,800+50*capacity, 50000}.

This parameter is supported only when system_disk_category is set to cloud_auto. For more information, see ESSD AutoPL cloud disks.

1000

data_disks

array

The data cloud disk type, size, and other configurations.

data_disk

The data cloud disk configuration.

security_group_ids

array

The list of security group IDs for the node pool.

string

The security group ID of the node pool.

sg-2ze60ockeekspl3d****

key_pair

string

The key pair name. Mutually exclusive with login_password. For managed node pools, only key_pair is supported.

pro-nodepool

login_password

string

The SSH login password. Mutually exclusive with key_pair. Logon password must be 8 to 30 characters in length and contain at least three of the following character types: uppercase letters, lowercase letters, digits, and special characters.

For security purposes, logon password is encrypted in query results.

********

login_as_non_root

boolean

Specifies whether the scaled-out ECS instances use a non-root user for login.

  • true: Log on as a non-root user (ecs-user).

  • false: Log on as the root user.

true

cis_enabled deprecated

boolean

[Deprecated] Use the security_hardening_os parameter instead.

false

soc_enabled

boolean

Specifies whether to enable MLPS 2.0 security hardening. This feature is available only when the system image is Alibaba Cloud Linux 2 or Alibaba Cloud Linux 3. Alibaba Cloud provides classified protection compliance baseline check standards and scanning programs for Alibaba Cloud Linux 2 and Alibaba Cloud Linux 3 MLPS 2.0 level 3 images.

false

security_hardening_os

boolean

Specifies whether to enable Alibaba Cloud OS security hardening. Valid values:

  • true: Enable Alibaba Cloud OS security hardening.

  • false: Disable Alibaba Cloud OS security hardening.

Default value: false.

false

internet_charge_type

string

The billing type for the public IP of nodes.

  • PayByBandwidth: pay-by-bandwidth.

  • PayByTraffic: pay-by-traffic.

PayByBandwidth

internet_max_bandwidth_out

integer

The maximum outbound public bandwidth of nodes. Unit: Mbit/s. Valid values: 1 to 100.

10

tags

array

The ECS instance tags.

tag

The node tag.

desired_size

integer

The desired number of nodes in the node pool.

2

multi_az_policy

string

The multi-zone scaling policy for ECS instances in the scaling group. Valid values:

  • PRIORITY: Scales based on the vSwitches (VSwitchIds.N) you defined. When ECS instances cannot be created in the zone of a higher-priority vSwitch, the system automatically uses the next-priority vSwitch.

  • COST_OPTIMIZED: Attempts to create instances in order of vCPU unit price from lowest to highest. When the scaling configuration specifies multiple instance types with spot billing method, spot instances are created first. You can use the CompensateWithOnDemand parameter to specify whether to automatically create pay-as-you-go instances when spot instances cannot be created due to insufficient inventory.

    Note

    COST_OPTIMIZED takes effect only when the scaling configuration specifies multiple instance types or uses spot instances.

  • BALANCE: Distributes ECS instances evenly across the multiple active zones specified in the scaling group. If zones become unbalanced due to insufficient inventory, you can use the RebalanceInstances API to rebalance resources. For more information, see RebalanceInstances.

Default value: PRIORITY.

BALANCE

scaling_policy

string

The scaling group mode. Valid values:

  • release: standard mode. Scales by creating and releasing ECS instances based on resource usage.

  • recycle: rapid mode. Scales by creating, stopping, and starting instances, which improves subsequent scaling speed. (Stopped instances are not charged for compute resources, only storage fees apply, except for local disk instance types.)

release

on_demand_base_capacity

integer

The minimum number of pay-as-you-go instances required in the scaling group. Valid values: [0,1000]. When the number of pay-as-you-go instances is less than this value, pay-as-you-go instances are created first.

0

on_demand_percentage_above_base_capacity

integer

The percentage of pay-as-you-go instances among the instances that exceed the minimum on-demand instance count (on_demand_base_capacity). Valid values: [0,100].

20

spot_instance_pools

integer

The number of available instance types. The scaling group creates spot instances evenly across the lowest-cost instance types. Valid values: [1,10].

5

spot_instance_remedy

boolean

Specifies whether to enable spot instance supplementation. When enabled, the scaling group attempts to create new instances to replace spot instances that.

false

compensate_with_on_demand

boolean

When multi_az_policy is set to COST_OPTIMIZED, specifies whether to allow automatic creation of pay-as-you-go instances to meet ECS instance quantity requirements if spot instances cannot be created due to price or inventory reasons. Valid values:

  • true: Allows automatic creation of pay-as-you-go instances to meet ECS instance quantity requirements.

  • false: Does not allow automatic creation of pay-as-you-go instances to meet ECS instance quantity requirements.

true

deploymentset_id

string

The deployment set ID.

ds-bp1d19mmbsv3jf6xxxxx

rds_instances

array

If you specify a list of ApsaraDB RDS instances, the ECS instances of cluster nodes are automatically added to the whitelists of the specified RDS instances.

string

The ApsaraDB RDS instance.

rm-xxx

private_pool_options

object

The private node pool configuration.

id

string

The private node pool ID.

eap-bp67acfmxazb4****

match_criteria

string

The private node pool type. Specifies the private pool capacity option for instance launch. After an elasticity assurance or capacity reservation takes effect, a private pool is generated for instance launch. Valid values:

  • Open: open mode. Automatically matches open private pool capacity. If no matching private pool capacity is available, public pool resources are used.

  • Target: specified mode. Uses the specified private pool capacity to launch instances. If the private pool capacity is unavailable, the instance fails to launch.

  • None: no private pool mode. The instance launch does not use private pool capacity.

Open

security_group_id

string

The security group ID of the node pool. When the node pool is associated with multiple security groups, this is the first value in security_group_ids.

sg-2ze60ockeekspl3d****

platform

string

The operating system distribution. Valid values:

  • CentOS

  • AliyunLinux

  • Windows

  • WindowsCore

AliyunLinux

ram_policy

string

[This field is deprecated] Use ram_role_name instead.

KubernetesWorkerRole-021dc54f-929b-437a-8ae0-34c24d3e****

instance_patterns

array

The instance attribute configuration.

instance_patterns

The instance attributes.

ram_role_name

string

The worker RAM role name.

KubernetesWorkerRole-4a4fa089-80c1-48a5-b3c6-9349311f****

instance_metadata_options InstanceMetadataOptions

The metadata access configuration for ECS instances.

resource_pool_options

object

The resource pools and resource pool strategy used when creating instances.

private_pool_ids

array

The list of private pool IDs.

string

The private pool ID.

eap-bp1c1fohub5jccwi****

strategy

string

The resource pool strategy used when creating instances. Valid values: PrivatePoolFirst: private pool first. PrivatePoolOnly: private pool only. None: no resource pool strategy.

PrivatePoolFirst

system_disk_snapshot_policy_id

string

The system cloud disk snapshot policy.

sp-bp11g8z59rawcud9****

disk_init

array

The block device initialization configuration.

DiskInit

The DiskInit configuration.

node_config

object

The node configuration.

kubelet_configuration kubelet_config

The Kubelet parameter settings.

node_os_config

object

The node operating system configuration.

hugepage

Hugepage

The Hugepage configuration.

kubernetes_config

object

The cluster-related configuration.

labels

array

The node tag.

tag

The ECS tag.

taints

array

The node taint information. Taints work together with tolerations to prevent pods from being scheduled to inappropriate nodes. For more information, see taint-and-toleration.

taint

The node taint configuration.

runtime

string

The container runtime name. ACK supports the following three container runtimes:

  • containerd: Recommended. Supports all cluster versions.

  • Sandboxed-Container.runv: Sandboxed container that provides higher isolation. Supports cluster versions 1.31 and earlier.

  • docker: No longer maintained. Supports cluster versions 1.22 and earlier.

containerd

runtime_version

string

The container runtime version.

1.6.38

cpu_policy

string

The node CPU management policy. The following two policies are supported for cluster versions 1.12.6 and later:

  • static: Allows pods with certain resource characteristics on the node to be granted enhanced CPU affinity and exclusivity.

  • none: Enables the existing default CPU affinity scheme.

none

user_data

string

The node pool custom data, which is a script that runs after node initialization. For more information, see Generate instance user data.

IyEvYmluL3NoCmVjaG8gIkhlbGxvIEFDSyEi

unschedulable

boolean

Specifies whether the scaled-out nodes are unschedulable.

  • true: Unschedulable.

  • false: Schedulable.

true

cms_enabled

boolean

Specifies whether to install the CloudMonitor agent on ECS nodes. After installation, you can view monitoring information for the created ECS instances in the CloudMonitor console. We recommend that you enable this feature. Valid values:

  • true: Installs the CloudMonitor agent on ECS nodes.

  • false: Does not install the CloudMonitor agent on ECS nodes.

true

node_name_mode

string

The custom node name.

The node name consists of three parts: prefix + node IP address substring + suffix:

  • The prefix and suffix can each consist of one or more parts separated by ".". Each part can contain lowercase letters, digits, and hyphens (-). The node name must start and end with a lowercase letter or digit.

  • The IP address segment length specifies the number of digits to take from the end of the node IP address. Valid values: 5 to 12.

For example, if the node IP address is 192.168.0.55, the prefix is aliyun.com, the IP address segment length is 5, and the suffix is test, the node name is aliyun.com00055test.

aliyun.com192.XX.YY.55test

pre_user_data

string

The node pool pre-custom data, which is a script that runs before node initialization. For more information, see Generate instance user data.

dGhpcyBpcyBhIGV4YW1wbGU

tee_config

object

The confidential computing cluster configuration.

tee_enable

boolean

Specifies whether to enable the confidential computing cluster. Valid values:

  • true: Enabled.

  • false: Not enabled.

false

interconnect_config

object

[This field is deprecated]

The network configuration for edge node pools. This value is only meaningful for edge-type node pools.

cen_id

string

[This field is deprecated]

The Cloud Enterprise Network (CEN) instance ID bound to the edge enhanced node pool (CENID).

cen-ey9k9nfhz0f*******

ccn_id

string

[This field is deprecated]

The Cloud Connect Network (CCN) instance ID bound to the edge enhanced node pool (CCNID).

ccn-qm5i0i0q9yi*******

ccn_region_id

string

[This field is deprecated]

The region of the Cloud Connect Network instance bound to the edge enhanced node pool.

cn-shanghai

bandwidth

integer

[This field is deprecated]

The network bandwidth of the edge enhanced node pool, in Mbps.

10

improved_period

string

[This field is deprecated]

The purchase duration of the edge enhanced node pool, in months.

1

max_nodes

integer

[This field is deprecated]

The maximum number of nodes allowed in the edge node pool.

10

interconnect_mode

string

The network type of the edge node pool. This parameter takes effect only for node pools with type set to edge. Valid values:

  • basic: Public network. Nodes in cloud node pool interact with cloud nodes over the Internet. Applications in cloud node pool cannot directly access the cloud VPC internal network.

  • private: Private network. Nodes in cloud node pool connect to the cloud through Express Connect, VPN, or CEN, providing higher cloud-edge communication quality and more effective security.

basic

host_network

boolean

Specifies whether the Pod network mode uses host network mode.

  • true: Host network. Pods directly use the host network stack and share the IP address and ports with the host.

  • false: Container network. Pods have an independent network stack and do not occupy host network ports.

true

intranet

boolean

Specifies whether nodes within the edge node pool have Layer 3 network connectivity.

  • true: Connected. All nodes within this node pool have Layer 3 network connectivity.

  • false: Not connected. All hosts within this node pool do not have Layer 3 network connectivity.

true

auto_mode

object

The intelligent managed configuration.

enable

boolean

Specifies whether to enable intelligent managed mode.

false

node_components

array<object>

The list of node components.

array<object>

The node component.

name

string

The node component name.

kubelet

version

string

The node component version.

1.33.3-aliyun.1

config

object

The node component configuration.

custom_config

object

The node component custom configuration.

{"cpuManagerPolicy":"static"}

any

The node component custom configuration string.

cpuManagerPolicy

config_revision

string

1

eflo_node_group

object

cluster_id

string

i113790071760688002461

group_id

string

i128147721760688002463

auto_attach_enabled

boolean

worker_ram_role_name

string

Examples

Success response

JSON format

{
  "nodepool_info": {
    "nodepool_id": "np615c0e0966124216a0412e10afe0****",
    "name": "default-nodepool",
    "type": "ess",
    "is_default": true,
    "resource_group_id": "rg-acfmyvw3wjmb****",
    "region_id": "cn-beijing",
    "created": "2025-04-10T14:25:37.285530433+08:00",
    "updated": "2025-04-15T15:39:45.41+08:00"
  },
  "status": {
    "state": "active",
    "healthy_nodes": 3,
    "initial_nodes": 0,
    "failed_nodes": 0,
    "offline_nodes": 0,
    "removing_nodes": 0,
    "serving_nodes": 3,
    "total_nodes": 3,
    "conditions": [
      {
        "type": "ImageUpgradeReady",
        "status": "True",
        "reason": "UpgradeDisabled",
        "message": "AutoUpgradeDisabled",
        "last_transition_time": "20**-**-30T10:39:00+08:00"
      }
    ]
  },
  "auto_scaling": {
    "enable": true,
    "type": "cpu",
    "max_instances": 10,
    "min_instances": 1,
    "eip_internet_charge_type": "PayByBandwidth",
    "is_bond_eip": true,
    "eip_bandwidth": 5
  },
  "management": {
    "enable": true,
    "auto_repair": true,
    "auto_repair_policy": {
      "restart_node": true,
      "approval_required": false,
      "auto_repair_policy_id": "r-xxxxxxxxxx"
    },
    "auto_vul_fix": true,
    "auto_vul_fix_policy": {
      "restart_node": true,
      "vul_level": "asap,nntf",
      "exclude_packages": "kernel"
    },
    "auto_upgrade": true,
    "auto_upgrade_policy": {
      "auto_upgrade_kubelet": true
    },
    "upgrade_config": {
      "auto_upgrade": true,
      "surge": 5,
      "surge_percentage": 50,
      "max_unavailable": 1
    },
    "auto_fault_diagnosis": false,
    "drift_enabled": false
  },
  "scaling_group": {
    "scaling_group_id": "asg-2zeieod8giqmov7z****",
    "vswitch_ids": [
      "vsw-2ze3ds0mdip0hdz8i****"
    ],
    "instance_types": [
      "ecs.n4.large"
    ],
    "instance_charge_type": "PostPaid",
    "period": 0,
    "period_unit": "Month",
    "auto_renew": false,
    "auto_renew_period": 1,
    "spot_strategy": "NoSpot",
    "spot_price_limit": [
      {
        "instance_type": "ecs.c6.large",
        "price_limit": "0.39"
      }
    ],
    "image_type": "AliyunLinux3",
    "image_id": "aliyun_3_x64_20G_alibase_20241218.vhd",
    "system_disk_category": "cloud_efficiency",
    "system_disk_categories": [
      "cloud_essd"
    ],
    "system_disk_size": 120,
    "system_disk_performance_level": "PL1",
    "system_disk_encrypted": false,
    "system_disk_kms_key_id": "0e478b7a-4262-4802-b8cb-00d3fb40****",
    "system_disk_encrypt_algorithm": "aes-256",
    "system_disk_bursting_enabled": true,
    "system_disk_provisioned_iops": 1000,
    "data_disks": [
      {
        "category": "cloud_ssd",
        "size": 40,
        "encrypted": "true",
        "kms_key_id": "0e478b7a-4262-4802-b8cb-00d3fb40****",
        "auto_snapshot_policy_id": "sp-2zej1nogjvovnz4z****",
        "performance_level": "PL1",
        "provisioned_iops": 1000,
        "bursting_enabled": true,
        "auto_format": true,
        "file_system": "ext4",
        "mount_target": "/mnt/path1",
        "disk_name": "DataDiskName",
        "device": "/dev/xvdb",
        "snapshot_id": "s-280s7****"
      }
    ],
    "security_group_ids": [
      "sg-2ze60ockeekspl3d****"
    ],
    "key_pair": "pro-nodepool",
    "login_password": "********",
    "login_as_non_root": true,
    "cis_enabled": false,
    "soc_enabled": false,
    "security_hardening_os": false,
    "internet_charge_type": "PayByBandwidth",
    "internet_max_bandwidth_out": 10,
    "tags": [
      {
        "key": "env",
        "value": "prod"
      }
    ],
    "desired_size": 2,
    "multi_az_policy": "BALANCE",
    "scaling_policy": "release",
    "on_demand_base_capacity": 0,
    "on_demand_percentage_above_base_capacity": 20,
    "spot_instance_pools": 5,
    "spot_instance_remedy": false,
    "compensate_with_on_demand": true,
    "deploymentset_id": "ds-bp1d19mmbsv3jf6xxxxx",
    "rds_instances": [
      "rm-xxx"
    ],
    "private_pool_options": {
      "id": "eap-bp67acfmxazb4****",
      "match_criteria": "Open"
    },
    "security_group_id": "sg-2ze60ockeekspl3d****",
    "platform": "AliyunLinux",
    "ram_policy": "KubernetesWorkerRole-021dc54f-929b-437a-8ae0-34c24d3e****",
    "instance_patterns": [
      {
        "cores": 4,
        "memory": 8,
        "instance_family_level": "EnterpriseLevel",
        "excluded_instance_types": [
          "ecs.c6.large"
        ],
        "min_cpu_cores": 4,
        "max_cpu_cores": 8,
        "min_memory_size": 8,
        "max_memory_size": 16,
        "instance_categories": [
          "General-purpose"
        ],
        "cpu_architectures": [
          "X86"
        ],
        "core": 4,
        "max_price": 2,
        "architectures": [
          "X86"
        ],
        "burst_performance_option": "Exclude",
        "instance_type_families": [
          "ecs.c6"
        ],
        "minimum_eni_quantity": 3,
        "minimum_eni_private_ip_address_quantity": 10,
        "minimum_eni_ipv6_address_quantity": 1,
        "maximum_gpu_amount": 8
      }
    ],
    "ram_role_name": "KubernetesWorkerRole-4a4fa089-80c1-48a5-b3c6-9349311f****",
    "instance_metadata_options": {
      "http_tokens": "optional"
    },
    "resource_pool_options": {
      "private_pool_ids": [
        "eap-bp1c1fohub5jccwi****"
      ],
      "strategy": "PrivatePoolFirst"
    },
    "system_disk_snapshot_policy_id": "sp-bp11g8z59rawcud9****",
    "disk_init": [
      {
        "disk_name": "disk0",
        "mkfs_type": "ext4",
        "mount_target": "/mnt/disk0",
        "mount_for_runtime": false,
        "local_disk": false
      }
    ]
  },
  "node_config": {
    "kubelet_configuration": {
      "registryPullQPS": 5,
      "registryBurst": 10,
      "eventRecordQPS": 5,
      "eventBurst": 10,
      "kubeAPIQPS": 5,
      "kubeAPIBurst": 10,
      "serializeImagePulls": true,
      "cpuManagerPolicy": "none",
      "evictionHard": {
        "test": "test",
        "test2": 1
      },
      "evictionSoft": {
        "test": "test",
        "test2": 1
      },
      "evictionSoftGracePeriod": {
        "test": "test",
        "test2": 1
      },
      "systemReserved": {
        "test": "test",
        "test2": 1
      },
      "kubeReserved": {
        "test": "test",
        "test2": 1
      },
      "readOnlyPort": 0,
      "maxPods": 110,
      "containerLogMaxSize": "10Mi",
      "containerLogMaxFiles": 5,
      "featureGates": {
        "test": "test",
        "test2": 1
      },
      "allowedUnsafeSysctls": [
        "net.core.somaxconn"
      ],
      "reservedMemory": [
        {
          "numaNode": 0,
          "limits": {
            "memory": "1Gi"
          }
        }
      ],
      "memoryManagerPolicy": "none",
      "cpuCFSQuota": true,
      "cpuCFSQuotaPeriod": "100ms",
      "imageGCHighThresholdPercent": 85,
      "imageGCLowThresholdPercent": 80,
      "podPidsLimit": -1,
      "topologyManagerPolicy": "restricted",
      "clusterDNS": [
        "127.0.xx.xx"
      ],
      "tracing": {
        "endpoint": "localhost:4317",
        "samplingRatePerMillion": 200000
      },
      "containerLogMaxWorkers": 1,
      "containerLogMonitorInterval": "10s",
      "serverTLSBootstrap": true
    },
    "node_os_config": {
      "hugepage": {
        "transparentEnabled": "",
        "transparentDefrag": "",
        "khugepagedDefrag": 0,
        "khugepagedAllocSleepMillisecs": 0,
        "khugepagedScanSleepMillisecs": 0,
        "khugepagedPagesToScan": 0
      }
    }
  },
  "kubernetes_config": {
    "labels": [
      {
        "key": "env",
        "value": "prod"
      }
    ],
    "taints": [
      {
        "key": "key",
        "value": "value",
        "effect": "NoSchedule"
      }
    ],
    "runtime": "containerd",
    "runtime_version": "1.6.38",
    "cpu_policy": "none",
    "user_data": "IyEvYmluL3NoCmVjaG8gIkhlbGxvIEFDSyEi",
    "unschedulable": true,
    "cms_enabled": true,
    "node_name_mode": "aliyun.com192.XX.YY.55test",
    "pre_user_data": "dGhpcyBpcyBhIGV4YW1wbGU\n"
  },
  "tee_config": {
    "tee_enable": false
  },
  "interconnect_config": {
    "cen_id": "cen-ey9k9nfhz0f*******",
    "ccn_id": "ccn-qm5i0i0q9yi*******",
    "ccn_region_id": "cn-shanghai",
    "bandwidth": 10,
    "improved_period": "1"
  },
  "max_nodes": 10,
  "interconnect_mode": "basic",
  "host_network": true,
  "intranet": true,
  "auto_mode": {
    "enable": false
  },
  "node_components": [
    {
      "name": "kubelet",
      "version": "1.33.3-aliyun.1",
      "config": {
        "custom_config": {
          "key": "cpuManagerPolicy"
        }
      },
      "config_revision": "1"
    }
  ],
  "eflo_node_group": {
    "cluster_id": "i113790071760688002461",
    "group_id": "i128147721760688002463",
    "auto_attach_enabled": false,
    "worker_ram_role_name": ""
  }
}

Error codes

See Error Codes for a complete list.

Release notes

See Release Notes for a complete list.