|
Parameter |
Type |
Description |
Example |
|---|---|---|---|
|
object |
The node group. |
||
| WithPublicIp |
boolean |
Specifies whether to assign a public IP address. |
true |
| SpotInstanceRemedy |
boolean |
Specifies whether to enable spot instance replenishment. If this feature is enabled, the scaling group attempts to create new instances to replace spot instances that are about to be reclaimed when a system message about the reclamation is received. Valid values:
Default value: false. |
false |
| DataDisks |
array |
The data cloud disks. |
|
| DataDisk |
The data cloud disk. |
||
| CompensateWithOnDemand |
boolean |
Specifies whether to automatically create pay-as-you-go instances to meet the required number of ECS instances when the nodeResizeStrategy parameter is set to COST_OPTIMIZED and sufficient spot instances cannot be created due to price or inventory constraints. |
true |
| NodeGroupState |
string |
The state of the node group. |
RESIZING |
| SystemDisk | SystemDisk |
The system cloud disk. |
|
| PrivatePoolOptions | PrivatePoolOptions |
The private pool settings for the node group. |
|
| NodeGroupType |
string |
The type of the node group. Valid values:
|
MASTER |
| PaymentType |
string |
The billing method. Valid values:
|
Subscription |
| InstanceTypes |
array |
The collection of instance types. |
["ecs.g6.4xlarge"] |
|
string |
The instance type. |
ecs.g7.2xlarge |
|
| CostOptimizedConfig | CostOptimizedConfig |
The configuration of the cost optimization mode. |
|
| GracefulShutdown |
boolean |
Specifies whether to enable graceful shutdown for components deployed on the node group. Valid values:
|
false |
| SpotStrategy |
string |
The usage policy for spot instances. Valid values:
Default value: NoSpot. |
NoSpot |
| StateChangeReason | NodeGroupStateChangeReason |
The reason for the state change. |
Manual restart |
| Status |
string |
The state of the node group. |
CREATED |
| ZoneId |
string |
The zone ID. |
cn-hangzhou |
| NodeGroupName |
string |
The name of the node group. |
core-1 |
| VSwitchIds |
array |
The collection of vSwitch IDs. |
["vsw-hp35g7ya5ymw68mmg****"] |
|
string |
The vSwitch ID. |
vsw-bp1opd2qejvhsabfe**** |
|
| SpotBidPrices |
array |
The bid prices for spot instances. This parameter takes effect only when the SpotStrategy parameter is set to SpotWithPriceLimit. The number of array elements N ranges from 0 to 100. |
|
| SpotBidPrice |
The bid price for a spot instance. |
||
| NodeResizeStrategy |
string |
The node scale-out strategy. Valid values:
|
PRIORITY |
| NodeGroupId |
string |
The ID of the node group. |
ng-869471354ecd**** |
| AdditionalSecurityGroupIds |
array |
The security group IDs. |
["sg-hp3abbae8lb6lmb1****"] |
|
string |
The security group ID. |
sg-hp3abbae8lb6lmb1**** |
|
| DeploymentSetStrategy |
string |
The deployment set strategy. Valid values:
Default value: NONE. |
NONE |
| RunningNodeCount |
integer |
The number of running nodes. |
3 |