You can call DescribeClusterAddonUpgradeStatus to query the upgrade status of a cluster add-on.


OpenAPI Explorer automatically calculates the signature value. For your convenience, we recommend that you call this operation in OpenAPI Explorer. OpenAPI Explorer dynamically generates the sample code of the operation for different SDKs.

Request headers

This operation uses the common request header only. For more information, see Common parameters.

Request syntax

GET /clusters/[ClusterId]/components/[ComponentId]/upgradestatus HTTPS|HTTP

Request parameters

Parameter Type Required Example Description
ClusterId String Yes c106f377e16f34eb1808d6b9362c9****

The ID of the cluster.

ComponentId String Yes csi-plugin

The ID of the add-on.


"ClusterId":"The ID of the cluster.", "ComponentId":"The ID of the add-on. For example, csi-plugin, flexvolume, and alicloud-disk-controller." }

Response parameters

Parameter Type Example Description
addon_info Struct

The details of the add-on.

category String ""

The type of the add-on.

component_name String alicloud-disk-controller

The name of the add-on.

message String ok to upgrade

The additional message that indicates whether the add-on can be upgraded.

version String v1.14.8.37-bd3fd891-aliyun

The current version of the add-on.

yaml String ****

The metadata of the add-on.

can_upgrade Boolean true

Indicates whether the add-on can be upgraded.

template String ****

The latest template.


Sample requests

GET /clusters/[ClusterId]/components/[ComponentId]/upgradestatus HTTP/1.1
Common request header
"ClusterId": "c106f377e16f34eb1808d6b9362c9****",
"ComponentId": "csi-plugin"

Sample success responses

XML format

    <message>ok to upgrade</message>

JSON format

{"template":"****","addon_info":{"component_name":"alicloud-disk-controller","message":"ok to upgrade","category":"\"\"","version":"v1.14.8.37-bd3fd891-aliyun","yaml":"****"},"can_upgrade":"true"}

Error codes

For a list of error codes, visit the API Error Center.