|
Parameter |
Type |
Description |
Example |
|---|---|---|---|
|
object |
The node group configuration, including instance specifications, disks, and scaling settings. |
||
| NodeGroupType |
string |
The node group type. Valid values:
|
CORE |
| NodeGroupName |
string |
The node group name. Maximum length is 128 characters. The name must be unique within the cluster. |
core-1 |
| PaymentType |
string |
The billing method of the node group. If not specified, it defaults to the billing method of the cluster. Valid values:
Default value: PayAsYouGo. |
PayAsYouGo |
| SubscriptionConfig | SubscriptionConfig |
The subscription configuration of the node group. If not specified, it defaults to the subscription configuration of the cluster. |
|
| SpotStrategy |
string |
The strategy for spot instances. Valid values:
Default value: NoSpot. |
NoSpot |
| SpotBidPrices |
array |
The bid price for spot instances. This parameter takes effect only when SpotStrategy is set to SpotWithPriceLimit. Valid values of N: 0 to 100. |
|
| SpotBidPrice |
The bid settings for a spot instance type. |
||
| VSwitchIds |
array |
The vSwitch IDs. Valid values of N: 1 to 20. |
["vsw-hp35g7ya5ymw68mmg****"] |
|
string |
The vSwitch ID. |
vsw-hp35g7ya5ymw68mmg**** |
|
| WithPublicIp |
boolean |
Specifies whether to assign a public IP address. Valid values:
Default value: false. |
false |
| AdditionalSecurityGroupIds |
array |
The additional security groups. These are security groups configured specifically for the node group, in addition to the security groups configured for the cluster. Valid values of N: 0 to 2. |
["sg-hp3abbae8lb6lmb1****"] |
|
string |
The security group ID. |
sg-hp3abbae8lb6lmb1**** |
|
| InstanceTypes |
array |
The node instance types. Valid values of N: 1 to 100. |
["ecs.g6.xlarge"] |
|
string |
The node instance type. |
ecs.g7.2xlarge |
|
| NodeCount |
integer |
The number of nodes. Valid values: 1 to 1000. |
3 |
| SystemDisk | SystemDisk |
The system cloud disk. |
|
| DataDisks |
array |
The data cloud disks. Currently, only one disk type is supported for data cloud disks. Valid values of N: 1 to 1. |
|
| DataDisk |
The data cloud disk. |
||
| GracefulShutdown |
boolean |
Specifies whether to enable graceful shutdown for components deployed on the node group. Valid values:
Default value: false. |
false |
| SpotInstanceRemedy |
boolean |
Specifies whether to enable spot instance replenishment. When enabled, if a system message indicates that a spot instance will be reclaimed, the scaling group attempts to create a new instance to replace the reclaimed spot instance. Valid values:
Default value: false. |
true |
| CompensateWithOnDemand |
boolean |
Specifies whether to automatically attempt to create pay-as-you-go instances to meet the demand when nodeResizeStrategy is set to COST_OPTIMIZED and sufficient spot instances cannot be created due to price, inventory, or other reasons. |
true |
| NodeResizeStrategy |
string |
The node scaling strategy. Valid values:
Default value: PRIORITY. |
PRIORITY |
| CostOptimizedConfig | CostOptimizedConfig |
The cost optimization mode configuration. |
|
| DeploymentSetStrategy |
string |
The deployment set strategy. Valid values:
Default value: NONE. |
NONE |
| ComponentTags |
array |
The custom components. |
|
|
string |
A tag for a custom component. |
||
| AutoScalingPolicy | AutoScalingPolicy |
The elastic scaling rules. |
|
| PrivatePoolOptions | PrivatePoolOptions |
The resource pool strategy used when creating instances. This parameter takes effect only when creating pay-as-you-go instances. |