All Products
Search
Document Center

E-MapReduce:NodeGroupConfig

Last Updated:May 15, 2025
ParameterTypeDescriptionExample
object
WithPublicIpboolean

Indicates whether a public IP address is assigned. Valid values:

  • true
  • false

Default value: false.

false
SpotInstanceRemedyboolean

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:

  • true
  • false

Default value: false.

true
ComponentTagsarray

The optional services.

Stringstring
DataDisksarray

The data disks. Only one disk type is supported. You can specify only one element in the array.

DataDiskDataDisk

The data disk.

CompensateWithOnDemandboolean

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
SystemDiskSystemDisk

The system disk.

PrivatePoolOptionsPrivatePoolOptions

The resource pool options used to create instances. This parameter takes effect only when pay-as-you-go instances are created.

NodeGroupTypestring

The type of the node group. Valid values:

  • MASTER
  • CORE
  • TASK
CORE
PaymentTypestring

The billing method of the node group. If you do not configure this parameter, the billing method of the cluster is used. Valid values:

  • PayAsYouGo
  • Subscription

Default value: PayAsYouGo.

PayAsYouGo
InstanceTypesarray

The instance types of the nodes. Number of elements in the array: 1 to 100.

Stringstring

The instance type of the node.

ecs.g7.2xlarge
CostOptimizedConfigCostOptimizedConfig

The configurations of the cost optimization policy.

GracefulShutdownboolean

Indicates whether graceful shutdown is enabled for services in the node group. Valid values:

  • true
  • false

Default value: false.

false
SpotStrategystring

The bidding policy for the preemptible instance. Valid values:

  • NoSpot: No spot instances are used.
  • SpotWithPriceLimit: The instance is a preemptible instance for which you specify the highest price that you want to pay for the instance.
  • SpotAsPriceGo: The instance is a preemptible instance for which the market price is automatically used as the bid price. The highest market price is the pay-as-you-go price.

Default value: NoSpot.

NoSpot
NodeGroupNamestring

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
NodeCountinteger

The number of nodes. Valid values: 1 to 1,000.

3
VSwitchIdsarray

The vSwitch IDs. Number of elements in the array: 1 to 20.

Stringstring

The vSwitch ID.

SpotBidPricesarray

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.

SpotBidPriceSpotBidPrice
NodeResizeStrategystring

The scaling policy for the node. Valid values:

  • COST_OPTIMIZED
  • PRIORITY

Default value: PRIORITY.

PRIORITY
SubscriptionConfigSubscriptionConfig

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.

AdditionalSecurityGroupIdsarray

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.

Stringstring

The security group ID.

sg-hp3abbae8lb6lmb1****
DeploymentSetStrategystring

The deployment set policy. Valid values:

  • NONE: uses no deployment sets.
  • CLUSTER: uses deployment sets at the cluster level.
  • NODE_GROUP: uses deployment sets at the node group level.

Default value: NONE.

NONE