You can call the RepairClusterNodePool operation to fix issues on nodes in a node pool.
Debugging
Request syntax
POST /clusters/cluster_id/nodepools/nodepool_id/repair HTTP/1.1
Content-Type:application/json
{
"nodes" : [ "String" ]
}
Request parameters
| Parameter | Type | Required | Example | Description |
| cluster_id | String | Yes | c2273b7f4a30d4ef6b43e0926cdd8**** | The ID of the cluster that you want to manage. |
| nodepool_id | String | Yes | np613940c3593c4bea96faa8600cb9**** | The ID of the node pool that you want to manage. |
| Parameter | Type | Required | Example | Description |
| nodes | Array of String | No | cn-beijing.10.0.1.26 | The name of the node that you want to manage. |
Response syntax
HTTP/1.1 200 OK
Content-Type:application/json
{
"request_id" : "String",
"task_id" : "String"
}
Response parameters
| Parameter | Type | Example | Description |
| request_id | String | db82195b-75a8-40e5-9be4-16f1829dc624 | The ID of the request. |
| task_id | String | T-613b19bbd160ad4928000001 | The ID of the task. |
Example 1
POST /clusters/c2273b7f4a30d4ef6b43e0926cdd8****/nodepools/np613940c3593c4bea96faa8600cb9****/repair HTTP/1.1
Host:cs.aliyuncs.com
Content-Type:application/json
{
"nodes" : [ "cn-beijing.10.0.1.26" ]
}
Sample success responses
XML format
HTTP/1.1 200 OK
Content-Type:application/xml
<RepairClusterNodePoolResponse>
<request_id>db82195b-75a8-40e5-9be4-16f1829dc624</request_id>
<task_id>T-613b19bbd160ad4928000001</task_id>
</RepairClusterNodePoolResponse>
JSON format
HTTP/1.1 200 OK
Content-Type:application/json
{
"request_id" : "db82195b-75a8-40e5-9be4-16f1829dc624",
"task_id" : "T-613b19bbd160ad4928000001"
}
Error codes
For a list of error codes, visit the API Error Center.