通过执行arc-cs addon get-upgrade-status <cluster_id> --component-ids '["component_name"]'命令查询集群组件升级状态。

关于该命令的详细参数说明,请参见查询集群组件升级状态

CLI示例

请求示例:
arc-cs addon get-upgrade-status caa73d115830746e0942c9554ecae**** \ 
--component-ids '["metrics-server"]'
返回结果示例:
{
    "metric-server":{
        "tasks":{
            "created_at":"2020-12-28T17:00:32Z",
            "finished_at":"2020-12-28T17:05:54Z",
            "is_canceled":false,
            "status":"Success"
        },
        "addon_info":{
            "component_name":"metric-server",
            "version":"",
            "ready_to_upgrade":"true"
        }
    }
}