Updated on 2025-06-13 GMT+08:00

Maximum Container Log File Size

It sets the maximum size for log files before new files are generated in rotation in a container that uses containerd. It determines the maximum size of log files for each container in Kubernetes clusters.

By managing the size of log files, you can control the disk space usage. 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

1Mi–4096Mi

Default Value

50Mi

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.