When default containerd settings cannot meet your workload needs, customize containerd parameters at the node pool level. For example, configure multiple mirror registries for one image repository or skip TLS certificate verification for a specific registry.
Limitations
This feature requires containerd 1.6.20 or later. If your node pool uses an earlier version, upgrade it.
Usage notes
-
Custom settings apply in batches — immediately on existing nodes, automatically on new nodes.
-
Do not modify customizable containerd parameters from the command line. ACK blocks such changes and requires you to revert them.
-
Non-standard syntax is automatically corrected during application.
Customizable containerd parameters
Custom container runtime configuration
|
Parameter |
Note |
Type |
Value |
|
|
Maximum concurrent image layer downloads. Higher values speed up multi-layer pulls but increase network and I/O load. |
Int |
|
|
|
Whether to ignore anonymous volumes defined by the |
Bool |
Default: true |
|
|
Maximum core dump file size in bytes. Key values:
|
Int |
|
|
|
Maximum open file descriptors per container. |
Int |
|
|
|
Maximum lockable memory in bytes per container process. |
Int |
|
Registry Mirror Configuration
|
Description |
Recommendation |
|
Configure alternative registries as mirrors to accelerate image pulls. Each mirror supports custom path mapping via This change does not require restarting containers. |
|
Image Registries Skipping Certificate Authentication (Insecure Registries)
|
Description |
Recommendation |
|
Skip certificate validation for specified registries during image pulls. Intended for test environments with self-signed certificates. This change does not require restarting containers. |
|
Procedure
Changes do not affect running containers. Perform this operation during off-peak hours.
-
Log on to the ACK console. In the left navigation pane, click Clusters.
-
On the Clusters page, click the name of your cluster. In the left navigation pane, click .
-
On the Node Pools page, find the desired node pool, and in its Actions column, choose
> Containerd Configuration. -
Add parameters, specify target nodes, set the batch policy, and click Submit.
See Configuration examples.
-
Removing a custom runtime parameter reverts it to the default value.
-
Settings apply to nodes in batches. Monitor progress in the Event Records area, where you can pause, resume, or cancel the update. If a node update fails, troubleshoot and click Continue to retry.
Pausing lets you validate changes on updated nodes. In-progress nodes finish, but new updates wait until you resume. Complete the task promptly — paused tasks are auto-canceled after seven days, deleting all records and logs.
-
Configuration examples
|
Mirror for docker.io |
Insecure private registry |
HTTP private registry |
|
In Registry mirrors, set Image registry to |
In Insecure registries, enter the registry address in Image registry (format: |
In Registry mirrors, set Image registry to the private registry address (e.g., |
FAQ
Do custom containerd settings affect running services?
No. Changes apply only to Pods created after the update, not running ones. Perform this operation during off-peak hours.
To apply new settings to existing Pods, recreate them manually.
Error with not match XXX or must be between XXX errors
Common causes:
-
must be between XXX: Invalid value. Verify the format and allowed range. -
not match XXX: Unsupported modification method. ACK blocks command-line changes to the configuration file. Revert the parameter to its original value.
References
-
Node pools support automated O&M capabilities.
-
For node, Pod, containerd, or kubelet issues, see Troubleshoot node issues, Troubleshoot Pod issues, and Node and Node Pool FAQ.