Parameter | Type | Description | Example |
---|---|---|---|
object | |||
NodeGroupType | string | The type of the node group. Valid values:
| CORE |
NodeGroupName | string | The name of the node group. The name can be up to 128 characters in length. The name of a node group must be unique in a cluster. | core-1 |
PaymentType | string | The billing method of the node group. If you do not configure this parameter, the billing method of the cluster is used. Valid values:
Default value: PayAsYouGo. | PayAsYouGo |
SubscriptionConfig | SubscriptionConfig | The configurations of the node group whose billing method is subscription. If you do not configure this parameter, the configurations of the cluster whose billing method is subscription are used. | |
SpotStrategy | string | The bidding policy for the preemptible instance. Valid values:
Default value: NoSpot. | NoSpot |
SpotBidPrices | array | The bid prices of the preemptible instances. The parameter takes effect only if the SpotStrategy parameter is set to SpotWithPriceLimit. Number of elements in the array: 0 to 100. | |
SpotBidPrice | SpotBidPrice | ||
VSwitchIds | array | The vSwitch IDs. Number of elements in the array: 1 to 20. | |
String | string | The vSwitch ID. | |
WithPublicIp | boolean | Indicates whether a public IP address is assigned. Valid values:
Default value: false. | false |
AdditionalSecurityGroupIds | array | The additional security group IDs. Additional security groups are the security groups that are separately added to a node group. Number of elements in the array: 0 to 2. | |
String | string | The security group ID. | sg-hp3abbae8lb6lmb1**** |
InstanceTypes | array | The instance types of the nodes. Number of elements in the array: 1 to 100. | |
String | string | The instance type of the node. | ecs.g7.2xlarge |
NodeCount | integer | The number of nodes. Valid values: 1 to 1000. | 3 |
SystemDisk | SystemDisk | The system disk. | |
DataDisks | array | The data disks. Only one disk type is supported. You can specify only one element in the array. | |
DataDisk | DataDisk | The data disk. | |
GracefulShutdown | boolean | Indicates whether graceful shutdown is enabled for services in the node group. Valid values:
Default value: false. | false |
SpotInstanceRemedy | boolean | Indicates whether preemptible instances are supplemented. If you set this parameter to true, the system attempts to create another instance in the scaling group when the system notifies that an existing preemptible instance is about to be reclaimed. Valid values:
Default value: false. | true |
NodeResizeStrategy | string | The scaling policy for the node. Valid values:
Default value: PRIORITY. | PRIORITY |
CostOptimizedConfig | CostOptimizedConfig | The configurations of the cost optimization policy. | |
DeploymentSetStrategy | string | The deployment set policy. Valid values:
Default value: NONE. | NONE |
ComponentTags | array | The custom components. | |
String | string |