All Products
Search
Document Center

Container Service for Kubernetes:Configure a node pool by using the specified instance attributes

Last Updated:May 06, 2025

When you configure a node pool by specifying instance types, scaling may fail because of insufficient inventory or offline instance status. We recommend that you configure the node pool by specifying instance attributes such as vCPU and memory. The node pool automatically filters instance types that meet the requirements for scaling, which improves the success rate of scaling operations.

This feature is in a canary release. To use this feature, submit a ticket.

Limits

  • Ensure that you are familiar with the unsupported ECS specifications.

  • This feature does not support GPU instance types.

  • If the Billing Method of the node pool is set to Preemptible Instance, only automatic bidding mode (SpotAsPriceGo) is supported when specifying instance attributes, and setting a maximum price per instance (SpotWithPriceLimit) is not supported. For more information, see Instance lifecycle.

  • When specifying instance attributes, the number of vCPUs must be 4 or more, and memory must be 4 GiB or more. When specifying vCPU or memory, the ratio between the values of Max and Min cannot exceed 4.

Procedure

You can specify configurations such as vCPUs and memory, and specify instance types to use or exclude. The node pool selects available instance types from those that meet the criteria to create nodes. If new instance types that meet the filter conditions become available later, the node pool automatically includes them in the selection range.

Note
  • The priority order for instance type selection still follows the Scaling Policy of the node pool. For more information about the Scaling Policy parameter, see Create and manage a node pool.

  • If you later adjust the instance attribute configuration by editing the node pool, the updated configuration applies to new nodes, and the configuration of existing nodes is not affected.

  1. Log on to the ACK console. In the left-side navigation pane, click Clusters.

  2. On the Clusters page, find the cluster to manage and click its name. In the left-side navigation pane, choose Nodes > Node Pools.

  3. Click Create Node Pool. In the Create Node Pool dialog box, follow the page instructions to complete the configuration and creation of the node pool. For the Instance Configuration Mode parameter, select Specify Instance Attributes.

    The following table describes only the configuration items involved when specifying instance attributes. For more information about all parameters, see Create and manage a node pool.

    Parameter

    Description

    vCPU

    Specifies the minimum and maximum number of vCPUs to use. The ratio between the two values cannot exceed 4.

    Memory

    Specifies the minimum and maximum memory to use. The ratio between the two values cannot exceed 4.

    Instance Family Level

    The level of the instance family. Valid values:

    • Entry Level: This level is lower in cost but cannot guarantee stable instance compute performance. This level is suitable for scenarios in which the CPU utilization is low.

    • Enterprise Level: This level is suitable for enterprise scenarios with high requirements for business stability.

    For information about the differences between the two levels, see What are enterprise-level instances? What are entry-level instances? and What are the differences between enterprise-level and entry-level instances?

    Instance Type Category

    The instance family category, including standard, compute-optimized, memory-optimized, and more. For information about instance families, see Classification and naming of instance types.

    CPU Architecture

    The CPU architecture of the instance. x86 and Arm are supported.

    Instance Family

    Specifies the instance family to use. For more information, see Overview of instance families.

    Exclude Instance Type

    Specifies the instance types that need to be excluded and are not included in the range of instance types available for scaling. You can use wildcard characters (*) to exclude a single instance type or an entire instance family. Example:

    • ecs.c6.large: Excludes the ecs.c6.large instance type.

    • ecs.c6.*: Excludes all instance types in the c6 instance family.