跳到主要内容

ack check

管理 ACK 集群检查报告

运行 ecctl ack check <action> -h 查看用法,或 ecctl schema ack.check.<action> --full 获取该命令完整的结构化规格——每个参数与行为,便于 Agent 读取和填参。

create

ecctl ack check create [flags]

创建 ACK 集群检查

  • 类型:mutation · 风险:medium
  • 同步:等待 Succeeded(waiter succeeded_after_create,超时 600s);用 --no-wait 跳过等待。
API调用时机用途
RunClusterCheck每次执行命令时执行资源操作。
GetClusterCheck未指定 --no-wait轮询等待资源达到目标状态。(重复调用)
参数类型必填说明
--clusterstringACK 集群 ID
--regionstringAlibaba Cloud region
--typestring检查类型,例如 ClusterUpgrade、MasterUpgrade、NodePoolUpgrade 或 ClusterMigrate
--targetstring检查目标,例如 NodePoolUpgrade 检查的节点池 ID

get

ecctl ack check get <id> [flags]

查询 ACK 集群检查

  • 类型:read · 风险:low
API调用时机用途
GetClusterCheck每次执行命令时读取资源视图。
参数类型必填说明
--clusterstringACK 集群 ID
--regionstringAlibaba Cloud region
--fieldsstring要包含的资源字段,使用逗号分隔

list

ecctl ack check list [flags]

列出 ACK 集群检查

  • 类型:read · 风险:low
API调用时机用途
ListClusterChecks每次执行命令时读取资源视图。
参数类型必填说明
--clusterstringACK 集群 ID
--regionstringAlibaba Cloud region
--fieldsstring要包含的资源字段,使用逗号分隔
--filterkey_value过滤表达式 key=value
--limitinteger最多返回检查数量(默认:100
--pageinteger返回结果页码(默认:1
--targetstring检查目标,例如 NodePoolUpgrade 检查的节点池 ID
--typestring检查类型,例如 ClusterUpgrade、MasterUpgrade、NodePoolUpgrade 或 ClusterMigrate