Container Intelligence Service (CIS) provides a variety of cluster check capabilities to allow you to perform cluster update check, cluster migration check, component installation check, component update check, and node pool check. A precheck is automatically triggered before an update, migration, or installation is performed. You can perform changes only if the cluster passes the precheck. You can also manually call the RunClusterCheck operation to initiate cluster checks. We recommend that you periodically check and maintain your cluster to mitigate potential risks.
Try it now
Test
RAM authorization
|
Action |
Access level |
Resource type |
Condition key |
Dependent action |
|
cs:RunClusterCheck |
none |
*Cluster
|
None | None |
Request syntax
POST /clusters/{cluster_id}/checks HTTP/1.1
Path Parameters
|
Parameter |
Type |
Required |
Description |
Example |
| cluster_id |
string |
No |
The cluster ID. |
ce0da5a1d627e4e9e9f96cae8ad****** |
Request parameters
|
Parameter |
Type |
Required |
Description |
Example |
| body |
object |
No |
The request body. |
|
| type |
string |
Yes |
The check type. Valid values:
Valid values:
|
NodePoolUpgrade |
| target |
string |
No |
The check target. If you set |
np1f6779297c4444a3a1cdd29be8****** |
| options |
object |
No |
The cluster check parameters. |
|
|
string |
No |
A cluster check parameter. |
next_version:1.32.1-aliyun.1 |
Response elements
|
Element |
Type |
Description |
Example |
|
object |
Schema of Response |
||
| request_id |
string |
The ID of the request. |
F04DF81D-5C12-1524-B36A-86E025****** |
| check_id |
string |
The ID of the cluster check task. |
1697100584236******-ce0da5a1d627e4e9e9f96cae8ad******-clustercheck-lboto |
Examples
Success response
JSON format
{
"request_id": "F04DF81D-5C12-1524-B36A-86E025******",
"check_id": "1697100584236******-ce0da5a1d627e4e9e9f96cae8ad******-clustercheck-lboto"
}
Error codes
See Error Codes for a complete list.
Release notes
See Release Notes for a complete list.