All Products
Search
Document Center

E-MapReduce:CostOptimizedConfig

Last Updated:Oct 15, 2024
ParameterTypeDescriptionExample
object

The configurations of the cost optimization policy.

OnDemandBaseCapacityinteger

The minimum number of pay-as-you-go instances that are required for the node group. Valid values: 0 to 1000. If the number of pay-as-you-go instances is less than the value of this parameter, pay-as-you-go instances are preferentially created.

80
OnDemandPercentageAboveBaseCapacityinteger

The percentage of pay-as-you-go instances among the instances that exceed the number specified by the OnDemandBaseCapacity parameter for the node group. Valid values: 0 to 100.

80
SpotInstancePoolsinteger

The number of instance types that are specified. Preemptible instances of multiple instance types that are provided at the lowest price are evenly created in the scaling group. Valid values: 0 to 10.

2