Help Center/ Cloud Container Engine/ User Guide/ Node Pools/ Managing Node Pools/ Modifying Node Core Component Settings in a Node Pool
Updated on 2025-11-06 GMT+08:00

Modifying Node Core Component Settings in a Node Pool

If the default node configurations in a cluster do not meet service requirements, you can fine-tune parameters for core components, such as kubelet, kube-proxy, and the container engine, within the node pool. Fine-tuning these parameters ensures efficient resource utilization and meet workload demands.

Constraints

  • The configuration parameters of the default node pool (specified by DefaultPool) cannot be modified.
  • This function is supported only in clusters of v1.15 or later. It is not displayed for versions earlier than v1.15.

Modifying Node Pool Configuration Parameters

  1. Log in to the CCE console and click the cluster name to access the cluster console.
  2. In the navigation pane, choose Nodes. Then click the Node Pools tab.
  3. Locate the target node pool and choose More > Manage.

  4. In the Manage Configurations window, modify the node pool parameter values based on service requirements. For details about the parameters, see Cluster Configuration Parameters.

You can modify the CCE cluster parameter configurations using an API. For details, see API Reference. For details, see Making an API Request.

PUT /api/v3/projects/{project_id}/clusters/{cluster_id}/nodepools/{nodepool_id}/configuration

Parameter

Description

project_id

Project ID. For details about how to obtain a project ID, see How to Obtain Parameters in the API URI.

cluster_id

Cluster ID. For details about how to obtain a cluster ID, see How to Obtain Parameters in the API URI.

nodepool_id

Node pool ID. For details about how to obtain a node pool ID, see How to Obtain Parameters in the API URI.

The request body is as follows:

{
  "kind" : "Configuration",
  "apiVersion" : "v3",
  "metadata" : {
    "name" : "configuration"
  },
  "spec" : {
    "packages" : [ {
      "name" : "kubelet",
      "configurations" : [ {
        "name" : "system-reserved-mem",
        "value" : 600
      }, {
        "name" : "kube-reserved-mem",
        "value" : 800
      } ]
    } ]
  }
}

The following parameters are modified:

  • system-reserved-mem: Set it to 600 MiB.
  • kube-reserved-mem: Set it to 800 MiB.

Parameters for Configuring a Node Pool