|
名称 |
类型 |
描述 |
示例值 |
|---|---|---|---|
|
object |
节点组。 |
||
| WithPublicIp |
boolean |
是否开通公网 IP。 |
true |
| SpotInstanceRemedy |
boolean |
开启补齐抢占式实例后,当收到抢占式实例将被回收的系统消息时,伸缩组将尝试创建新的实例,替换掉将被回收的抢占式实例。取值范围:
默认值:false。 |
false |
| DataDisks |
array |
数据盘组。 |
|
| DataDisk |
数据盘。 |
||
| CompensateWithOnDemand |
boolean |
当 nodeResizeStrategy 取值为 COST_OPTIMIZED 时,如果因价格、库存等原因无法创建足够的抢占式实例,是否允许自动尝试创建按量实例满足 ECS 实例数量要求。 |
true |
| NodeGroupState |
string |
节点组状态。 |
RESIZING |
| SystemDisk | SystemDisk |
系统盘。 |
|
| PrivatePoolOptions | PrivatePoolOptions |
节点组私有池设置 |
|
| NodeGroupType |
string |
节点组类型。取值范围:
|
MASTER |
| PaymentType |
string |
付费类型。取值范围: Subscription: 包年包月。 PayAsYouGo:按量付费。 |
Subscription |
| InstanceTypes |
array |
实例类型集合。 |
["ecs.g6.4xlarge"] |
|
string |
实例类型。 |
ecs.g7.2xlarge |
|
| CostOptimizedConfig | CostOptimizedConfig |
成本优化模式配置。 |
|
| GracefulShutdown |
boolean |
节点组上部署的组件是否开启优雅下线。取值范围:
|
false |
| SpotStrategy |
string |
竞价实例使用策略。取值范围:
默认值:NoSpot。 |
NoSpot |
| StateChangeReason | NodeGroupStateChangeReason |
状态改变原因。 |
手动重启 |
| Status |
string |
节点组状态。 |
CREATED |
| ZoneId |
string |
可用区 ID。 |
cn-hangzhou |
| NodeGroupName |
string |
节点组名。 |
core-1 |
| VSwitchIds |
array |
交换机 ID 集合。 |
["vsw-hp35g7ya5ymw68mmg****"] |
|
string |
交换机 ID。 |
vsw-bp1opd2qejvhsabfe**** |
|
| SpotBidPrices |
array |
抢占式 Spot 实例出价价格。参数 SpotStrategy 取值为 SpotWithPriceLimit 时生效。数组元数个数 N 的取值范围:0~100。 |
|
| SpotBidPrice |
抢占式 Spot 实例出价价格。 |
||
| NodeResizeStrategy |
string |
|
PRIORITY |
| NodeGroupId |
string |
节点组 ID。 |
ng-869471354ecd**** |
| AdditionalSecurityGroupIds |
array |
安全组 ID。 |
["sg-hp3abbae8lb6lmb1****"] |
|
string |
|||
| DeploymentSetStrategy |
string |
部署集策略。取值范围:
默认值:NONE。 |
NONE |
| RunningNodeCount |
integer |
存活节点数量。 |
3 |