Cluster operational events include cluster creation, cluster modification, node pool creation, node pool scale-out, addon installation, and cluster upgrades. Call the DescribeEvents API to query details about specific event types, including their level, status, and time.
Try it now
Test
RAM authorization
|
Action |
Access level |
Resource type |
Condition key |
Dependent action |
|
cs:DescribeEvents |
get |
*All Resource
|
None | None |
Request syntax
GET /events HTTP/1.1
Request parameters
|
Parameter |
Type |
Required |
Description |
Example |
| cluster_id |
string |
No |
The cluster ID. |
cf62854ac2130470897be7a27ed1f**** |
| type |
string |
No |
The event type. Omit this parameter to return events of all types. Valid values:
|
nodepool_upgrade |
| page_size |
integer |
No |
The number of results to return on each page. Valid values: 1 to 100. Default value: 50. |
50 |
| page_number |
integer |
No |
The page number. |
1 |
| next_token |
string |
No |
The token for the next page of results. To retrieve the next page, pass the |
5c0a1c0f91c14c6**** |
| max_results |
integer |
No |
The maximum number of results to return. |
10 |
Response elements
|
Element |
Type |
Description |
Example |
|
object |
The response parameters. |
||
| events |
array<object> |
The list of events. |
|
|
array<object> |
An event. |
||
| event_id |
string |
The event ID. |
e-dba703c8-953b-40d8-82e8-cb713590**** |
| type |
string |
The event type. Valid values:
|
nodepool_upgrade |
| source |
string |
The event source. |
task |
| subject |
string |
The event subject. |
np6a5c86f4ecae436f8f4a3dc034a7**** |
| time |
string |
The start time of the event. |
2025-04-23T20:48:01+08:00 |
| cluster_id |
string |
The cluster ID. |
cf62854ac2130470897be7a27ed1f**** |
| data |
object |
The event data. |
|
| level |
string |
The event level. Valid values:
|
info |
| reason |
string |
The event reason. |
Started |
| message |
string |
A detailed message about the event. |
Start to upgrade NodePool nodePool/nodePool-A |
| next_token |
string |
The token to retrieve the next page of results. |
5c0a1c0f91c14c6**** |
| page_info |
object |
The pagination information. |
|
| page_size |
integer |
The number of entries returned per page. |
50 |
| page_number |
integer |
The page number. |
1 |
| total_count |
integer |
The total number of results. |
3 |
Examples
Success response
JSON format
{
"events": [
{
"event_id": "e-dba703c8-953b-40d8-82e8-cb713590****",
"type": "nodepool_upgrade",
"source": "task",
"subject": "np6a5c86f4ecae436f8f4a3dc034a7****",
"time": "2025-04-23T20:48:01+08:00",
"cluster_id": "cf62854ac2130470897be7a27ed1f****",
"data": {
"level": "info",
"reason": "Started",
"message": "Start to upgrade NodePool nodePool/nodePool-A"
}
}
],
"next_token": "5c0a1c0f91c14c6****",
"page_info": {
"page_size": 50,
"page_number": 1,
"total_count": 3
}
}
Error codes
See Error Codes for a complete list.
Release notes
See Release Notes for a complete list.