All Products
Search
Document Center

Container Service for Kubernetes:InstallNodePoolComponents

Last Updated:Mar 06, 2026

Installs components onto the nodes within a specified node pool. This API supports custom configurations and allows you to target specific nodes for the installation.

Debugging

You can run this interface directly in OpenAPI Explorer, saving you the trouble of calculating signatures. After running successfully, OpenAPI Explorer can automatically generate SDK code samples.

Authorization information

The following table shows the authorization information corresponding to the API. The authorization information can be used in the Action policy element to grant a RAM user or RAM role the permissions to call this API operation. Description:

  • Operation: the value that you can use in the Action element to specify the operation on a resource.
  • Access level: the access level of each operation. The levels are read, write, and list.
  • Resource type: the type of the resource on which you can authorize the RAM user or the RAM role to perform the operation. Take note of the following items:
    • For mandatory resource types, indicate with a prefix of * .
    • If the permissions cannot be granted at the resource level, All Resources is used in the Resource type column of the operation.
  • Condition Key: the condition key that is defined by the cloud service.
  • Associated operation: other operations that the RAM user or the RAM role must have permissions to perform to complete the operation. To complete the operation, the RAM user or the RAM role must have the permissions to perform the associated operations.
OperationAccess levelResource typeCondition keyAssociated operation
cs:InstallNodePoolComponentsnone
*Cluster
acs:cs:{#regionId}:{#accountId}:cluster/{#ClusterId}
    none
none

Request syntax

POST /clusters/{clusterId}/nodepools/{nodePoolId}/components HTTP/1.1

Request parameters

ParameterTypeRequiredDescriptionExample
clusterIdstringNo

The ID of the cluster.

c82e6987e2961451182edacd74faf****
nodePoolIdstringNo

The ID of the node pool.

np7c4fa4a5f1ce412b849****
bodyobjectNo

Request body parameters

componentsarray<object>No

A list of node components to be installed.

objectNo

The configuration of a single component.

namestringYes

The name of the component.

kubelet
versionstringNo

The version of the component.

1.28.9-aliyun.1
configobjectNo

The configuration details for the component.

customConfigobjectNo

Custom parameters for the component.

stringNo

A specific configuration key

cpuCFSQuota
rollingPolicyobjectNo

Configuration for the rolling update process.

maxParallelismlongNo

The maximum number of nodes that can be updated concurrently in each batch. Default: 1.

1
pausePolicystringNo

The strategy for automatic pausing during the update process. Valid values: NotPause, FirstBatchPause, EveryBatchPause.

NotPause
batchIntervallongNo

The time interval between update batches, in seconds.

0
nodeNamesarrayNo

A list of specific node names where the component should be installed. If not specified, the component will be installed on all nodes in the node pool.

stringNo

The name of a specific node.

cn-hangzhou.10.2xxx

Response parameters

ParameterTypeDescriptionExample
object

Schema of Response

requestIdstring

The unique ID of the request.

49511F2D-D56A-5C24-B9AE-C8491E09B***
taskIdstring

The task ID.

T-67d7ec016ce37c0106000***
clusterIdstring

The ID of the asynchronous task. You can use this ID to track the installation progress.

c8155823d057948c69a****

Examples

Sample success responses

JSONformat

{
  "requestId": "49511F2D-D56A-5C24-B9AE-C8491E09B***",
  "taskId": "T-67d7ec016ce37c0106000***",
  "clusterId": "c8155823d057948c69a****"
}

Error codes

For a list of error codes, visit the Service error codes.

Change history

Change timeSummary of changesOperation
2025-12-29Add OperationView Change Details