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