All Products
Search
Document Center

E-MapReduce:NodeGroupConfig

Last Updated:Sep 24, 2024
ParameterTypeDescriptionExample
object
NodeGroupTypestring

The type of the node group. Valid values:

  • MASTER
  • CORE
  • TASK
CORE
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
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
SubscriptionConfigSubscriptionConfig

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.

SpotStrategystring

The bidding policy for the preemptible instance. Valid values:

  • NoSpot: The instance is created as a regular pay-as-you-go instance.
  • 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
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
VSwitchIdsarray

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

Stringstring

The vSwitch ID.

WithPublicIpboolean

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

  • true
  • false

Default value: false.

false
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****
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
NodeCountinteger

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

3
SystemDiskSystemDisk

The system disk.

DataDisksarray

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

DataDiskDataDisk

The data disk.

GracefulShutdownboolean

Indicates whether graceful shutdown is enabled for services in the node group. 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
NodeResizeStrategystring

The scaling policy for the node. Valid values:

  • COST_OPTIMIZED
  • PRIORITY

Default value: PRIORITY.

PRIORITY
CostOptimizedConfigCostOptimizedConfig

The configurations of the cost optimization policy.

DeploymentSetStrategystring

The deployment set policy. Valid values:

  • NONE: No deployment sets are used.
  • CLUSTER: Deployment sets at the cluster level are used.
  • NODE_GROUP: Deployment sets at the node group level are used.

Default value: NONE.

NONE
ComponentTagsarray

The custom components.

Stringstring