|
Parameter |
Type |
Description |
Example |
|---|---|---|---|
|
object |
The node group. |
||
| ZoneId |
string |
The zone ID. |
cn-hangzhou |
| NodeGroupId |
string |
The node group ID. |
ng-869471354ecd**** |
| NodeGroupName |
string |
The node group name. |
core-1 |
| NodeGroupType |
string |
The type of the node group. Valid values:
|
MASTER |
| RunningNodeCount |
integer |
The number of running nodes. |
3 |
| InstanceTypes |
array |
The instance types. |
["ecs.g6.4xlarge"] |
|
string |
The instance type. |
ecs.g7.2xlarge |
|
| PaymentType |
string |
The payment type. Valid values are |
Subscription |
| DataDisks |
array |
The data disks. |
|
| DataDisk |
The data disk. |
||
| SystemDisk | SystemDisk |
The system disk. |
|
| NodeGroupState |
string |
The state of the node group. |
RESIZING |
| AdditionalSecurityGroupIds |
array |
The additional security group IDs. |
["sg-hp3abbae8lb6lmb1****"] |
|
string |
|||
| WithPublicIp |
boolean |
Specifies whether to assign a public IP address. |
true |
| VSwitchIds |
array |
The VSwitch IDs. |
["vsw-hp35g7ya5ymw68mmg****"] |
|
string |
The VSwitch ID. |
vsw-bp1opd2qejvhsabfe**** |
|
| SpotStrategy |
string |
The policy for using spot instances. Valid values:
Default: |
NoSpot |
| SpotBidPrices |
array |
The bid prices for the spot instances. This parameter is effective only when |
|
| SpotBidPrice |
The bid price for a spot instance. |
||
| StateChangeReason | NodeGroupStateChangeReason |
The reason for the state change. |
Specifies whether to enable graceful shutdown for components in the node group. Valid values: * true * false: does not enable graceful disconnection. |
| MinimalNodeCount |
integer |
The minimum number of instances in the node group. |
0 |
| MaximalNodeCount |
integer |
The maximum number of instances in the node group. |
200 |
| GracefulShutdown |
boolean |
Specifies whether to enable graceful shutdown for components deployed in the node group. Valid values:
|
false |
| SpotInstanceRemedy |
boolean |
Specifies whether to enable spot instance remedy. If enabled, the scaling group attempts to create a new instance to replace a spot instance that is about to be reclaimed. Valid values:
Default: |
false |
| CompensateWithOnDemand |
boolean |
Applies only when |
true |
| NodeResizeStrategy |
string |
|
PRIORITY |
| CostOptimizedConfig | CostOptimizedConfig |
The configurations of the cost-optimized mode. |
|
| DeploymentSetStrategy |
string |
The Deployment Set strategy. Valid values:
Default: |
NONE |
| AutoCompensateState |
boolean |
Specifies whether to enable auto-compensation. Valid values:
Default: |
false |
| ExtraAttributes |
object |
Additional attributes for the node group. For internal console use only. |
{} |
|
string |
The attribute value. |
true |
|
| AckConfig |
AckConfig |
The configurations for ACK. |
|
| IaaSType |
string |
The Infrastructure as a Service (IaaS) type of the node group. Valid values:
|
|
| PrivatePoolOptions | PrivatePoolOptions |
The private pool options. |
|
| Status |
string |
The node group state. |
CREATED |