When you configure a node pool by specifying instance types, scale-out operations may fail because of insufficient inventory or offline instances. To improve the success rate of scale-out operations, you can configure the node pool by specifying instance attributes, such as vCPUs and memory. The node pool automatically selects instance types that meet the specified requirements.
This feature is in a phased release. To use this feature, submit a ticket.
Limits
Familiarize yourself with the ECS instance types that are not supported by ACK.
This feature does not support GPU instance types.
If you set the Billing Method for a node pool to Spot Instance, you can use only the automatic bidding mode (SpotAsPriceGo) when you specify instance attributes. You cannot set a maximum price per instance (SpotWithPriceLimit). For more information, see Bidding modes.
When specifying instance attributes, you must select at least 4 vCPUs and 4 GiB of memory. The Maximum value for vCPUs or memory cannot exceed four times the Minimum value.
This feature cannot be used with node autoscaling.
Procedure
You can specify configurations such as vCPUs, memory, and the instance types to use or exclude. The node pool selects available instance types that meet the specified criteria to create nodes. If new instance types that meet the filter conditions become available, the node pool automatically includes them in the selection range.
The instance type selection priority still follows the Scaling Policy configuration of the node pool. For more information about the Scaling Policy configuration item, see Create and manage a node pool.
If you adjust the instance attribute configuration by editing the node pool, the updated configuration applies only to new nodes. The configuration of existing nodes is not affected.
Log on to the ACK console. In the left navigation pane, click Clusters.
On the Clusters page, find the cluster to manage and click its name. In the left navigation pane, choose .
Click Create Node Pool. In the Create Node Pool dialog box, configure the node pool and set Instance Configuration Mode to Specify Instance Attributes.
The following table describes only the configuration items for specifying instance attributes. For more information about all configuration items, see Create and manage a node pool.
Configuration item
Description
Number of vCPUs
The minimum and maximum number of vCPU cores. The maximum value cannot be more than four times the minimum value.
Memory
The minimum and maximum amount of memory. The maximum value cannot be more than four times the minimum value.
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 business scenarios with low CPU utilization.
Enterprise-level: This level is suitable for enterprise scenarios that have 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 Family Category
The instance family category, such as general-purpose, compute-optimized, and memory-optimized. For more information about instance families, see Instance family classification and naming.
CPU Architecture
The CPU architecture of the instance. x86 and Arm are supported.
Instance Family
The instance family to use. For more information, see Instance families.
Instance types to exclude
The instance types to exclude. These instance types are not included in the selection range for scale-out. You can use a wildcard character (*) to exclude a single instance type or an entire instance family. Examples:
ecs.c6.large: Excludes the ecs.c6.large instance type.
ecs.c6.*: Excludes all instance types in the c6 instance family.