All Products
Search
Document Center

Container Service for Kubernetes:UpdateNodePoolComponent

Last Updated:Mar 06, 2026

Updates a specific component within a node pool, such as the kubelet.

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:UpdateNodePoolComponentupdate
*Cluster
acs:cs:{#regionId}:{#accountId}:cluster/{#ClusterId}
    none
none

Request syntax

PUT /clusters/{clusterId}/nodepools/{nodepoolId}/component HTTP/1.1

Request parameters

ParameterTypeRequiredDescriptionExample
clusterIdstringNo

The ID of the cluster.

c82e6987e2961451182edacd74faf****
nodepoolIdstringNo

The ID of the node pool.

np7c4fa4a5f1ce412b84967089****
bodyobjectNo

The request body parameters.

namestringNo

The name of the node component.

kubelet
versionstringNo

The version of the node component to be updated to.

1.28.9-aliyun.1
configobjectNo

The configuration details for the component update.

customConfigobjectNo

Custom configuration parameters for the component.

stringNo

A specific configuration key.

cpuCFSQuota
disableRollingbooleanNo

Specifies whether to disable rolling updates. Default: false. If set to false, nodes will be rolled automatically to apply the new configuration.

nodeNamesarrayNo

A list of specific nodes to be rolled. If not specified, all nodes in the node pool will be updated.

stringNo

The name of a specific node.

cn-hangzhou.10.91.xx.xx
rollingPolicyobjectNo

The rolling update configuration.

maxParallelismlongNo

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

1
pausePolicystringNo

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

NotPause
batchIntervallongNo

The time interval between update batches, in seconds.

0

Response parameters

ParameterTypeDescriptionExample
object

Schema of Response

requestIdstring

Id of the request

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

The ID of the asynchronous task generated by this operation.

T-67d7ec016ce37c0106000***
clusterIdstring

The ID of the cluster.

c82e6987e2961451182edacd74faf****

Examples

Sample success responses

JSONformat

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

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