Queries the component instances that are running in the specified cluster and the information about the component instances. The information includes the component version and status.
Try it now
Test
RAM authorization
|
Action |
Access level |
Resource type |
Condition key |
Dependent action |
|
cs:ListClusterAddonInstances |
list |
*Cluster
|
None | None |
Request syntax
GET /clusters/{cluster_id}/addon_instances HTTP/1.1
Path Parameters
|
Parameter |
Type |
Required |
Description |
Example |
| cluster_id |
string |
No |
The cluster ID. |
c02b3e03be10643e8a644a843ffcb**** |
Request parameters
|
Parameter |
Type |
Required |
Description |
Example |
No parameters required.
Response elements
|
Element |
Type |
Description |
Example |
|
object |
Schema of Response |
||
| addons |
array<object> |
A list of components that are installed in the cluster. |
|
|
object |
|||
| name |
string |
The component name. |
coredns |
| state |
string |
The status of the component. Valid values:
|
active |
| version |
string |
The version of the component. |
v1.9.3.10-7dfca203-aliyun |
Examples
Success response
JSON format
{
"addons": [
{
"name": "coredns",
"state": "active",
"version": "v1.9.3.10-7dfca203-aliyun"
}
]
}
Error codes
See Error Codes for a complete list.
Release notes
See Release Notes for a complete list.