Upgrades specified one or more add-ons to the required versions in a Container Service for Kubernetes (ACK) cluster.


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 parameter types

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

Request syntax

POST /clusters/{ClusterId}/components/upgrade HTTP|HTTPS

Request parameters

Parameter Type Position Required Example Description
ClusterId String Path Yes ack-arena

The ID of the ACK cluster.

Array Body No

The request body.

component_name String Body No ar

The name of the add-on to upgrade.

next_version String Body No 0.5.0

The required version.

version String Body No 0.5.0

The current version of the add-on.


Sample requests

POST /clusters/{ClusterId}/components/upgrade HTTP/1.1
Common request parameters

Error codes

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