Help Center/ Cloud Container Engine/ Drawer/ Configuration Reference/ Nodes/ kubelet/ Maximum Number of Container Log Files
Updated on 2025-06-13 GMT+08:00

Maximum Number of Container Log Files

It sets the maximum number of log files in a container that uses containerd. It also determines how many log files can be kept in each container in Kubernetes clusters. This helps you manage disk space usage and prevents too many old logs from filling up a disk.

If it is set to a small value, important logs may be lost. If it is set to a large value, too much disk space may be occupied.

Value Range

2–100

Default Value

20

Modifiable

Yes

Scope

CCE standard and CCE Turbo clusters

Suggestions

Configure this parameter based on the frequency and size of the application logs that are generated and based on available disk space. Unless otherwise specified, keep the default settings.