Volcengine Kubernetes Engine
Parameter | Type | Required | Sample value | Description |
Parameter | Type | Required | Sample value | Description |
Action | String | Yes | UpdateNodePoolNodesConfig | The API name. The API name is UpdateNodePoolNodesConfig. |
Version | String | Yes | May 12, 2022 | The API version. The API version is 2022-05-12. |
ClusterId | String | Yes | cc5silumrsfeq**** | The ID of the cluster where the node pool is located. warning The cluster must be in the {Running,[Ok]} or {Updating,[Progressing]} state. You can call the ListClusters API to view the current status of the cluster. |
NodePoolId | String | Yes | pc51i0m6rsfen**** | The node pool ID. warning The node pool must be in the {Running,[*]} or {Scaling,[Progressing]} state. You can call the ListNodePools API to obtain the current status of the node pool. |
KubeletConfig | No | - | The kubelet configuration for the node. | |
ContainerdConfig | No | - | The containerd configuration for the node. Description At least one of KubeletConfig and ContainerdConfig must be specified. | |
NodeIds | Array of String | No | ["nc5t5epmrsf***","ndao9ti534q5ge6***"] | The IDs of the nodes whose configurations are to be synchronized. If this field is not configured or an empty list [] is passed in, the configurations of all existing nodes in the node pool are synchronized. |
ClientToken | String | Yes | BC028527-33B9-4990-A633-84E9F9**** | A string used to ensure the idempotency of the request. This string is passed in by the caller and must be unique across different requests. ClientToken is case-sensitive and can consist of 64 ASCII characters at most. |
Parameter | Type | Required | Sample value | Description |
Parameter | Type | Required | Sample value | Description |
FeatureGates | No | - | The feature gates, which are a set of key-value pairs that describe Kubernetes features. | |
TopologyManagerScope | String | No | container | The resource granularity of the topology management policy. Valid values:
|
TopologyManagerPolicy | String | No | none | The topology management policy. Valid values:
|
MaxPods | Integer | No | 110 | The maximum pods supported by the nodes. Default value: 110. |
KubeApiQps | Integer | No | 50 | The number of QPS for communication with the API server.
|
KubeApiBurst | Integer | No | 100 | The maximum burst requests sent to the API server per second.
tip This value must be greater than or equal to the value of the KubeApiQps parameter. |
EvictionHard | No | - | A set of hard eviction thresholds that trigger pod eviction. For detailed parameter descriptions, see the official documentation. To explicitly disable hard eviction, set the threshold to 0% or 100% on any resource. Default values:
| |
KubeReserved | No | - | The resources reserved by the node for Kubernetes system components. By default, resources are reserved based on half of the default value in the node resource reservation policy. | |
SystemReserved | No | - | The resources reserved for the operating system on the node. By default, resources are reserved based on half of the default value in the node resource reservation policy. | |
RegistryPullQps | Integer | No | 5 | The QPS threshold for a cluster pulling images from Container Registry (CR).
|
RegistryBurst | Integer | No | 10 | The maximum images concurrently pulled from CR.
tip You need to specify this parameter only when the value of the RegistryPullQps parameter is greater than 0. The value of this parameter must be greater than or equal to the value of the RegistryPullQps parameter. |
SerializeImagePulls | Boolean | No | true | Specify whether to serially pull images. Valid values:
|
CpuManagerPolicy | String | No | none | The CPU manager policy. Valid values:
|
FailSwapOn | Boolean | No | false | Specifies whether kubelet can run when swap is enabled on the node. Valid values:
|
PodPidsLimit | Integer | No | 4096 | This parameter limits the maximum number of process IDs (PIDs) that all containers in a single Pod can use. This prevents a single Pod from creating excess processes and exhausting the PID resources of the node.
tip
|
ImageMaximumGcAge | String | No | 24h | The maximum retention duration for unused images before they are garbage collected. Images that have remained unused for longer than this period will be cleaned up during the next garbage collection cycle.
warning
|
ImageMinimumGcAge | String | No | 5m | The minimum retention duration for unused images before they are garbage collected. During this time, the image will not be garbage collected even if disk utilization exceeds the garbage collection threshold.
Description Do not set a value that is too high. Otherwise, newly downloaded images that are not used in the short term cannot be cleaned up in time when disk space is tight. This potentially increases disk pressure. |
ImageGcLowThresholdPercent | Integer | No | 80 | The threshold for stopping Image garbage collection. During image garbage collection, collection stops when disk usage falls below this percentage.
Note
|
ImageGcHighThresholdPercent | Integer | No | 85 | The threshold for triggering image garbage collection. When disk utilization exceeds this value, garbage collection will be triggered. Unused images will be cleaned up to release disk space.
Note
|
Parameter | Type | Required | Sample value | Description |
Parameter | Type | Required | Sample value | Description |
QoSResourceManager | Boolean | No | false | Specify whether to enable quality of service (QoS) Resource Manager to support micro-topology scheduling. Valid values:
tip This configuration takes effect only in clusters of the following versions:
|
InPlacePodVerticalScaling | Boolean | No | true | Specify whether to enable the vertical scaling feature for pods. Valid values:
warning This configuration is supported only by the following cluster versions. Attempting to configure it on clusters of other versions is not allowed and will result in an error:
|
Parameter | Type | Required | Sample value | Description |
Parameter | Type | Required | Sample value | Description |
Key | String | Yes | memory.available | The name of the hard eviction threshold. Valid values:
|
Value | String | Yes | 1Gi | The hard eviction threshold value. The value can be an integer or a percentage.
|
Parameter | Type | Required | Sample value | Description |
Parameter | Type | Required | Sample value | Description |
Name | String | Yes | cpu | The resource name. Set the value to cpu or memory. |
Quantity | String | Yes | 1G | Specify the quantity of the resource.
|
Parameter | Type | Required | Sample value | Description |
Parameter | Type | Required | Sample value | Description |
ConcurrentLayerFetchBuffer | Integer | No | 512 | The buffer size used when a single image layer is concurrently pulled in chunks. The value is a positive integer. Unit: bytes. Description This parameter is supported only if the containerd version is v2.1.0 or later. |
MaxConcurrentUnpacks | Integer | No | 8 | The maximum number of image layers that containerd can decompress simultaneously.
Description This parameter is supported only if the containerd version is v2.2.0 or later. |
MaxConcurrentDownloads | Integer | No | 10 | The maximum number of image layers that containerd can download concurrently when pulling images at a time.
Description This parameter is supported only if the containerd version is v2.1.0 or later. |
UseLocalImagePull | Boolean | No | true | The image pull mode of containerd. Valid values:
Description This parameter is supported only if the containerd version is v2.1.0 or later. |
Parameter | Type | Sample value | Description |
Parameter | Type | Sample value | Description |
TaskId | String | tcax****** | Task ID. |
HTTP status code | Error code | Error message | Description |
HTTP status code | Error code | Error message | Description |
400 | InvalidParameter.{{parameter}} | The specified parameter {{parameter}} is invalid. | The request parameters are invalid, such as incorrect parameter types, invalid lengths, invalid enumeration values, and failure to satisfy regular expression rules. For example, InvalidParameter.MaxPods and InvalidParameter.KubeApiQps. |
400 | OperationDenied.ClusterStatus | The action is forbidden due to cluster status {{statusPhase}} and {{statusConditions}}. | The current status of the specified cluster does not support this operation. Confirm the required cluster status for this API and try again. |
400 | OperationDenied.NodePoolStatus | The action is forbidden on node pool {{nodePoolId}} due to node pool status {{statusPhase}} and {{statusConditions}}. | The current status of the specified node pool does not support this operation. Please confirm the required node pool status for this API and try again. |
400 | OperationDenied.NodeStatus | The action is forbidden on node {{nodeId}} due to node status {{statusPhase}} and {{statusConditions}}. | The current node status does not support this operation. Please confirm the required node status for this API and try again. |
400 | NotSupported.{{parameter}} | The specified {{resourceType}} {{resourceContent}} is not supported. | The specified resources cannot be installed. |