You can call InstallClusterAddons to install an add-on for a 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 headers

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

Request syntax

POST /clusters/[ClusterId]/components/install HTTPS|HTTP

Request parameters

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

The ID of the cluster.

name String No ags-metrics-collector

The name of the add-on.

version String No v1.0.0.2-cc3b2d6-aliyun

The version of the add-on.

disabled Boolean No true

Specifies whether to disable automatic installation of the add-on.

required String No "false"

Specifies whether to enable automatic installation of the add-on.

config String No ""

The configurations of the add-on.


Sample requests

POST /clusters/[ClusterId]/components/install HTTP/1.1
Common request header
"ClusterId": "c82e6987e2961451182edacd74faf****"

Sample success responses

JSON format


Error codes

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