Call the UpgradeClusterAddons operation to upgrade cluster component instances.
Operation description
-
Each user can call this operation up to 10 times per second.
-
Creating a cluster is an asynchronous operation. After calling the operation, wait 10 to 20 minutes for the cluster to initialize. During this time, you can call the DescribeClustersV1 operation to query the cluster creation status. After the cluster is created, call the DescribeClusterUserKubeconfig operation to obtain the cluster certificate.
Try it now
Test
RAM authorization
|
Action |
Access level |
Resource type |
Condition key |
Dependent action |
|
ens:UpgradeClusterAddons |
create |
*All Resource
|
None | None |
Request syntax
POST HTTP/1.1
Request parameters
|
Parameter |
Type |
Required |
Description |
Example |
| ClusterId |
string |
Yes |
The cluster ID. |
eck-xxxxxxxxx |
| Addons |
array<object> |
No |
The component information. |
|
|
array<object> |
No |
The component information. |
||
| Name |
string |
No |
The component name. |
edge-csi-lite |
| NextVersion |
string |
No |
The target version for the upgrade. |
v2 |
| ConfigSchema |
array<object> |
No |
The schema of the custom parameters for the component. |
|
|
array<object> |
No |
The schema of the custom parameters for the component. |
||
| AppVersion |
string |
No |
The application version. |
4155709cd12a09bdb8cbaca71bf03233 |
| ConfigVersion |
string |
No |
The configuration version. |
4155709cd12a09bdb8cbaca71bf03233 |
| Name |
string |
No |
The component name. |
edge-csi-lite |
| Params |
object |
No |
The custom parameters for the component. |
{"k1":"v1"} |
Response elements
|
Element |
Type |
Description |
Example |
|
object |
Schema of Response |
||
| RequestId |
string |
The ID of the request. |
C0003E8B-B930-4F59-ADC0-0E209A9012A8 |
| ClusterId |
string |
The cluster ID. |
eck-xxxxxxxx |
Examples
Success response
JSON format
{
"RequestId": "C0003E8B-B930-4F59-ADC0-0E209A9012A8",
"ClusterId": "eck-xxxxxxxx"
}
Error codes
See Error Codes for a complete list.
Release notes
See Release Notes for a complete list.