You can call the DescribeAddons operation to query the details about all components that are supported by Container Service for Kubernetes (ACK).
This API has been deprecated. We recommend migrating to CS(2015-12-15) - ListAddons for enhanced functionality and continued support. While the deprecated API remains temporarily accessible, no further updates or bug fixes will be provided.
Try it now
Test
RAM authorization
|
Action |
Access level |
Resource type |
Condition key |
Dependent action |
|
cs:DescribeAddons |
get |
*All Resource
|
None | None |
Request syntax
GET /clusters/components/metadata HTTP/1.1
Request parameters
|
Parameter |
Type |
Required |
Description |
Example |
| region |
string |
Yes |
The region ID of the cluster. |
cn-beijing |
| cluster_type |
string |
No |
|
ManagedKubernetes |
| cluster_profile |
string |
No |
The cluster type. Valid values:
|
Default |
| cluster_spec |
string |
No |
If you set
|
ack.pro.small |
| cluster_version |
string |
No |
The cluster version. |
1.24.6-aliyun.1 |
Response elements
|
Element |
Type |
Description |
Example |
|
object |
The response body parameters. |
||
| ComponentGroups |
array<object> |
The list of the returned components. |
|
|
array<object> |
|||
| group_name |
string |
The name of the component group. |
storage |
| items |
array<object> |
The names of the components in the component group. |
|
|
object |
|||
| name |
string |
The name of the component. |
flexvolume |
| StandardComponents |
object |
Standard components. |
|
|
object |
The details of the standard components. |
||
| name |
string |
The name of the component. |
ack-arena |
| version |
string |
The version of the component. |
0.5.0 |
| description |
string |
The description of the component. |
*** |
| required |
string |
Indicates whether the component is a required component. Valid values:
|
false |
| disabled |
boolean |
Indicates whether the automatic installation of the component is disabled. By default, some optional components, such as components for logging and Ingresses, are installed when a cluster is created. You can set this parameter to disable automatic component installation. Valid values:
|
false |
Examples
Success response
JSON format
{
"ComponentGroups": [
{
"group_name": "storage",
"items": [
{
"name": "flexvolume"
}
]
}
],
"StandardComponents": {
"key": {
"name": "ack-arena",
"version": "0.5.0",
"description": "***",
"required": "false",
"disabled": false
}
}
}
Error codes
See Error Codes for a complete list.
Release notes
See Release Notes for a complete list.