To enhance the capabilities of Kubernetes, Edge Kubernetes (ECK) clusters support a variety of components, such as managed core components, applications, logging and monitoring, networking, storage, and security components. You can call the InstallClusterAddons operation to install components by specifying their names and versions.
Operation description
-
The call frequency for a single user is limited to 10 calls per second.
-
Cluster creation is an asynchronous operation. After the API call returns, the cluster requires 10 to 20 minutes to complete initialization. During this process, you can call the DescribeClustersV1 operation to query the cluster creation status. After the cluster is created, you can 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:InstallClusterAddons |
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-xxxxxxxx |
| Addons |
array<object> |
Yes |
The component information. |
|
|
array<object> |
No |
The component information. |
||
| Name |
string |
No |
The plug-in name. |
edge-csi-lite |
| Version |
string |
No |
The version number. |
v1 |
| ConfigSchema |
array<object> |
No |
The schema for the custom parameters of the component. |
|
|
array<object> |
No |
The schema for the custom parameters of the component. |
||
| AppVersion |
string |
No |
The application version. |
859e9d595b2974ed79c444658d1dea89 |
| ConfigVersion |
string |
No |
The configuration version. |
4155709cd12a09bdb8cbaca71bf03233 |
| Name |
string |
No |
The component name. |
edge-csi-lite |
| Params |
object |
No |
The custom parameters of the component. |
{"k1":"v1"} |
Response elements
|
Element |
Type |
Description |
Example |
|
object |
Schema of Response |
||
| RequestId |
string |
The ID of the request. |
CEF72CEB-54B6-4AE8-B225-F876FF7BA984 |
| ClusterId |
string |
The cluster ID. |
eck-xxxxxxxx |
Examples
Success response
JSON format
{
"RequestId": "CEF72CEB-54B6-4AE8-B225-F876FF7BA984",
"ClusterId": "eck-xxxxxxxx"
}
Error codes
See Error Codes for a complete list.
Release notes
See Release Notes for a complete list.