容器服务
参数 | 类型 | 是否必选 | 示例值 | 描述 |
参数 | 类型 | 是否必选 | 示例值 | 描述 |
Action | String | 是 | ScaleNodePool | 接口名称。当前 API 的名称为 ScaleNodePool。 |
Version | String | 是 | 2022-05-12 | 接口版本。当前 API 的版本为 2022-05-12。 |
ClusterId | String | 是 | cc5silu******* | 节点池所在集群的 ID。 注意 |
Id | String | 是 | pc51i0******* | 节点池 ID。 注意 |
Count | Integer | 是 | 2 | 扩容节点数量,取值为大于 0 的整数。 说明 该参数的取值上限与节点池的期望节点数配置相关:
|
ClientToken | String | 否 | BC028527-33*** | 用于保证请求幂等性的字符串。该字符串由调用方传入,需保证不同请求之间唯一。ClientToken 对大小写敏感,且最大值不超过 64 个 ASCII 字符。 |
HTTP 状态码 | 错误码 | 错误信息 | 说明 |
HTTP 状态码 | 错误码 | 错误信息 | 说明 |
400 | OperationDenied.ClusterStatus | The action is forbidden due to cluster status {{statusPhase}} and {{statusConditions}}. | 指定集群的当前状态不支持该操作。请确认该接口依赖的集群状态后重试。 |
400 | OperationDenied.NodePoolStatus | The action is forbidden on node pool {{nodePoolId}} due to node pool status {{statusPhase}} and {{statusConditions}}. | 指定节点池的当前状态不支持该操作。请确认该接口依赖的节点池状态后重试。 |
400 | Mismatch.Replicas | The specified DesiredReplicas, MinReplicas and MaxReplicas are mismatched. | 指定节点池的最小节点数、最大节点数、期望节点数逻辑不匹配。请确认参数后重试。 |
400 | QuotaExceeded.Node | The number of nodes in the cluster has reached the limit. | |
400 | LimitExceeded.NodeInCluster | The number of nodes exceeds the cluster defined pods config limit. | 支持的最大节点数取决于 PodsConfig.FlannelConfig.PodCidrs 和 MaxPodsPerNode。集群创建完成后不支持修改,请合理规划集群设置。 |
400 | UpdateNotAllowed.{{parameter}} | The update to the specified parameter {{parameter}} is not allowed due to {{resourceType}}. | 指定资源类型对象的部分属性不能更新。 |
400 | QuotaExceeded.{{ResourceType}} | The quota of {{ResourceType}} has reached the limit. | 指定资源的配额达到上限,如 EIP、EBS 等。请提升相关资源配额,或删除无用资源,预留出配额后重试。 |
400 | Insufficient.Balance | Your account has run out of balance. | 当前账户余额不足。请充值账户后重试。 |