Install node components, supporting configuration and specifying nodes to install node components.
Try it now
Test
RAM authorization
|
Action |
Access level |
Resource type |
Condition key |
Dependent action |
|
cs:InstallNodePoolComponents |
none |
*Cluster
|
None | None |
Request syntax
POST /clusters/{clusterId}/nodepools/{nodePoolId}/components HTTP/1.1
Path Parameters
|
Parameter |
Type |
Required |
Description |
Example |
| clusterId |
string |
No |
Cluster ID. |
c82e6987e2961451182edacd74faf**** |
| nodePoolId |
string |
No |
Node pool ID. |
np7c4fa4a5f1ce412b849**** |
Request parameters
|
Parameter |
Type |
Required |
Description |
Example |
| body |
object |
No |
Request body parameters. |
|
| components |
array<object> |
No |
List of node components. |
|
|
array<object> |
No |
Configuration of a single component. |
||
| name |
string |
Yes |
Component name. |
kubelet |
| version |
string |
No |
Component version. |
1.28.9-aliyun.1 |
| config |
object |
No |
Component configuration. |
|
| customConfig |
object |
No |
The custom configuration of the component. |
{"cpuManagerPolicy":"static"} |
|
string |
No |
组件配置 |
cpuCFSQuota |
|
| rollingPolicy |
object |
No |
Rolling policy configuration. |
|
| maxParallelism |
integer |
No |
Maximum parallelism per batch. Default value: 1. |
1 |
| pausePolicy |
string |
No |
Automatic pause policy during node upgrade. |
NotPause |
| batchInterval |
integer |
No |
Upgrade interval between batches, in seconds. |
0 |
| nodeNames |
array |
No |
List of specified node names for rolling update. Default: all nodes. |
|
|
string |
No |
Node name. |
cn-hangzhou.10.2xxx |
Response elements
|
Element |
Type |
Description |
Example |
|
object |
Schema of Response |
||
| requestId |
string |
Request ID. |
49511F2D-D56A-5C24-B9AE-C8491E09B*** |
| taskId |
string |
Task ID. |
T-67d7ec016ce37c0106000*** |
| clusterId |
string |
Cluster ID. |
c8155823d057948c69a**** |
Examples
Success response
JSON format
{
"requestId": "49511F2D-D56A-5C24-B9AE-C8491E09B***",
"taskId": "T-67d7ec016ce37c0106000***",
"clusterId": "c8155823d057948c69a****"
}
Error codes
See Error Codes for a complete list.
Release notes
See Release Notes for a complete list.