All Products
Search
Document Center

E-MapReduce:NodeGroupConfig

Last Updated:Oct 19, 2026

Parameter

Type

Description

Example

object

The node group configuration, including instance specifications, disks, and scaling settings.

NodeGroupType

string

The node group type. Valid values:

  • MASTER: Management node group.

  • CORE: Storage node group.

  • TASK: Compute node group.

CORE

NodeGroupName

string

The node group name. Maximum length is 128 characters. The name must be unique within the cluster.

core-1

PaymentType

string

The billing method of the node group. If not specified, it defaults to the billing method of the cluster. Valid values:

  • PayAsYouGo: Pay-as-you-go.

  • Subscription: Subscription.

Default value: PayAsYouGo.

PayAsYouGo

SubscriptionConfig SubscriptionConfig

The subscription configuration of the node group. If not specified, it defaults to the subscription configuration of the cluster.

SpotStrategy

string

The strategy for spot instances. Valid values:

  • NoSpot: Regular pay-as-you-go instance.

  • SpotWithPriceLimit: Spot instance with a maximum price limit.

  • SpotAsPriceGo: Spot instance with the system automatically bidding up to the pay-as-you-go price.

Default value: NoSpot.

NoSpot

SpotBidPrices

array

The bid price for spot instances. This parameter takes effect only when SpotStrategy is set to SpotWithPriceLimit. Valid values of N: 0 to 100.

SpotBidPrice

The bid settings for a spot instance type.

VSwitchIds

array

The vSwitch IDs. Valid values of N: 1 to 20.

["vsw-hp35g7ya5ymw68mmg****"]

string

The vSwitch ID.

vsw-hp35g7ya5ymw68mmg****

WithPublicIp

boolean

Specifies whether to assign a public IP address. Valid values:

  • true: Assign a public IP address.

  • false: Do not assign a public IP address.

Default value: false.

false

AdditionalSecurityGroupIds

array

The additional security groups. These are security groups configured specifically for the node group, in addition to the security groups configured for the cluster. Valid values of N: 0 to 2.

["sg-hp3abbae8lb6lmb1****"]

string

The security group ID.

sg-hp3abbae8lb6lmb1****

InstanceTypes

array

The node instance types. Valid values of N: 1 to 100.

["ecs.g6.xlarge"]

string

The node instance type.

ecs.g7.2xlarge

NodeCount

integer

The number of nodes. Valid values: 1 to 1000.

3

SystemDisk SystemDisk

The system cloud disk.

DataDisks

array

The data cloud disks. Currently, only one disk type is supported for data cloud disks. Valid values of N: 1 to 1.

DataDisk

The data cloud disk.

GracefulShutdown

boolean

Specifies whether to enable graceful shutdown for components deployed on the node group. Valid values:

  • true: Enable graceful shutdown.

  • false: Disable graceful shutdown.

Default value: false.

false

SpotInstanceRemedy

boolean

Specifies whether to enable spot instance replenishment. When enabled, if a system message indicates that a spot instance will be reclaimed, the scaling group attempts to create a new instance to replace the reclaimed spot instance. Valid values:

  • true: Enable spot instance replenishment.

  • false: Disable spot instance replenishment.

Default value: false.

true

CompensateWithOnDemand

boolean

Specifies whether to automatically attempt to create pay-as-you-go instances to meet the demand when nodeResizeStrategy is set to COST_OPTIMIZED and sufficient spot instances cannot be created due to price, inventory, or other reasons.

true

NodeResizeStrategy

string

The node scaling strategy. Valid values:

  • COST_OPTIMIZED: Cost optimization strategy.

  • PRIORITY: Priority strategy.

Default value: PRIORITY.

PRIORITY

CostOptimizedConfig CostOptimizedConfig

The cost optimization mode configuration.

DeploymentSetStrategy

string

The deployment set strategy. Valid values:

  • NONE: Do not use a deployment set.

  • CLUSTER: Use a cluster-level deployment set.

  • NODE_GROUP: Use a node group-level deployment set.

Default value: NONE.

NONE

ComponentTags

array

The custom components.

string

A tag for a custom component.

AutoScalingPolicy AutoScalingPolicy

The elastic scaling rules.

PrivatePoolOptions PrivatePoolOptions

The resource pool strategy used when creating instances. This parameter takes effect only when creating pay-as-you-go instances.