You can call the GetClusterAddonInstance operation to query the information of a component instance in a cluster, including the version, configurations, and log status of the component instance.
Debugging
Authorization information
There is currently no authorization information disclosed in the API.
Request syntax
GET /clusters/{cluster_id}/addon_instances/{instance_name}
Request parameters
Parameter | Type | Required | Description | Example |
---|---|---|---|---|
cluster_id | string | No | The ID of the cluster. | c02b3e03be10643e8a644a843ffcb**** |
instance_name | string | No | The name of the component instance. | ack-node-problem-detector |
Response parameters
Examples
Sample success responses
JSON
format
{
"name": "ack-node-problem-detector",
"state": "active",
"version": "1.2.16",
"config": "{\"sls_project_name\":\"\"}",
"logging": {
"capable": false,
"enabled": false,
"log_project": "my-log-project",
"logstore": "my-logstore"
}
}
Error codes
For a list of error codes, visit the Service error codes.