Parameter | Type | Description | Example |
---|---|---|---|
object | |||
WithPublicIp | boolean | Indicates whether a public IP address is assigned. 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 |
ComponentTags | array | The optional services. | |
String | string | ||
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. | |
CompensateWithOnDemand | boolean | Indicates whether Auto Scaling can create pay-as-you-go instances to supplement preemptible instances if preemptible instances cannot be created due to price-related factors or insufficient inventory when the NodeResizeStrategy parameter is set to COST_OPTIMIZED. | true |
SystemDisk | SystemDisk | The system disk. | |
PrivatePoolOptions | PrivatePoolOptions | The resource pool options used to create instances. This parameter takes effect only when pay-as-you-go instances are created. | |
NodeGroupType | string | The type of the node group. Valid values:
| CORE |
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 |
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 |
CostOptimizedConfig | CostOptimizedConfig | The configurations of the cost optimization policy. | |
GracefulShutdown | boolean | Indicates whether graceful shutdown is enabled for services in the node group. Valid values:
Default value: false. | false |
SpotStrategy | string | The bidding policy for the preemptible instance. Valid values:
Default value: NoSpot. | NoSpot |
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 |
NodeCount | integer | The number of nodes. Valid values: 1 to 1,000. | 3 |
VSwitchIds | array | The vSwitch IDs. Number of elements in the array: 1 to 20. | |
String | string | The vSwitch ID. | |
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 | ||
NodeResizeStrategy | string | The scaling policy for the node. Valid values:
Default value: PRIORITY. | PRIORITY |
SubscriptionConfig | SubscriptionConfig | The configurations of the node group based on the subscription billing method. If you do not configure this parameter, the configurations of the cluster based on the subscription billing method are used. | |
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**** |
DeploymentSetStrategy | string | The deployment set policy. Valid values:
Default value: NONE. | NONE |