All Products
Search
Document Center

Container Service for Kubernetes:FixNodePoolVuls

Last Updated:Aug 28, 2026

Patches node vulnerabilities in a node pool to enhance node security. Cloud Security provided by Alibaba Cloud periodically scans Elastic Compute Service (ECS) instances for vulnerabilities and provides suggestions on how to patch the detected vulnerabilities. Vulnerability patching may require node restarts. Make sure that your cluster has sufficient idle nodes for node draining.

Operation description

  1. The Common Vulnerabilities and Exposures (CVE) patching feature is developed based on Security Center. To use this feature, you must purchase the Security Center Ultimate Edition that supports Container Service for Kubernetes (ACK).

  2. ACK may need to restart nodes to patch certain vulnerabilities. ACK drains a node before the node restarts. Make sure that the ACK cluster has sufficient idle nodes to host the pods evicted from the trained nodes. For example, you can scale out a node pool before you patch vulnerabilities for the nodes in the node pool.

  3. Security Center ensures the compatibility of CVE patches. We recommend that you check the compatibility of a CVE patch with your application before you install the patch. You can pause or cancel a CVE patching task anytime.

  4. CVE patching is a progressive task that consists of multiple batches. After you pause or cancel a CVE patching task, ACK continues to process the dispatched batches. Only the batches that have not been dispatched are paused or canceled.

Try it now

Try this API in OpenAPI Explorer, no manual signing needed. Successful calls auto-generate SDK code matching your parameters. Download it with built-in credential security for local usage.

Test

RAM authorization

The table below describes the authorization required to call this API. You can define it in a Resource Access Management (RAM) policy. The table's columns are detailed below:

  • Action: The actions can be used in the Action element of RAM permission policy statements to grant permissions to perform the operation.

  • API: The API that you can call to perform the action.

  • Access level: The predefined level of access granted for each API. Valid values: create, list, get, update, and delete.

  • Resource type: The type of the resource that supports authorization to perform the action. It indicates if the action supports resource-level permission. The specified resource must be compatible with the action. Otherwise, the policy will be ineffective.

    • For APIs with resource-level permissions, required resource types are marked with an asterisk (*). Specify the corresponding Alibaba Cloud Resource Name (ARN) in the Resource element of the policy.

    • For APIs without resource-level permissions, it is shown as All Resources. Use an asterisk (*) in the Resource element of the policy.

  • Condition key: The condition keys defined by the service. The key allows for granular control, applying to either actions alone or actions associated with specific resources. In addition to service-specific condition keys, Alibaba Cloud provides a set of common condition keys applicable across all RAM-supported services.

  • Dependent action: The dependent actions required to run the action. To complete the action, the RAM user or the RAM role must have the permissions to perform all dependent actions.

Action

Access level

Resource type

Condition key

Dependent action

cs:FixNodePoolVuls

update

*Cluster

acs:cs:{#regionId}:{#accountId}:cluster/{#cluster_id}

None None

Request syntax

POST /clusters/{cluster_id}/nodepools/{nodepool_id}/vuls/fix HTTP/1.1

Path Parameters

Parameter

Type

Required

Description

Example

cluster_id

string

Yes

The cluster ID.

cf62854ac2130470897be7a27ed1f****

nodepool_id

string

Yes

The node pool ID.

np31da1b38983f4511b490fc62108a****

Request parameters

Parameter

Type

Required

Description

Example

body

object

No

The request body.

vuls

array

No

The list of vulnerabilities.

string

No

The name of the vulnerability.

oval:com.redhat.rhsa:def:20170574

nodes

array

No

The names of the nodes to be patched.

string

No

The node name.

cn-beijing.10.0.xx.xx

rollout_policy

object

No

The batch patching policy.

max_parallelism

integer

No

The maximum concurrency for batch patching. Minimum value: 1. The maximum value equals the number of nodes in the node pool.

1

auto_restart

boolean

No

Specifies whether to allow the nodes to restart.

true

Response elements

Element

Type

Description

Example

object

task_id

string

The ID of the CVE patching task.

T-60fea8ad2e277f087900****

Examples

Success response

JSON format

{
  "task_id": "T-60fea8ad2e277f087900****"
}

Error codes

See Error Codes for a complete list.

Release notes

See Release Notes for a complete list.