Files
doc-exports/docs/cce/umn/cce_10_0652.html
qiujiandong1 ab1e53a279 CCE UMN 20251031 version
Reviewed-by: Gergo-Bence Lorincz <a200452876@noreply.gitea.eco.tsi-dev.otc-service.com>
Co-authored-by: qiujiandong1 <qiujiandong1@huawei.com>
Co-committed-by: qiujiandong1 <qiujiandong1@huawei.com>
2026-01-15 10:25:22 +00:00

90 KiB

Managing Node Pool Configurations

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.

Notes and 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.

Using the Console

  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 kube-apiserver configurations.

Using an API

You can modify the CCE cluster parameter configurations using an API.

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

Parameter

Description

project_id

Project ID.

cluster_id

Cluster ID.

nodepool_id

Node pool ID.

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.