<@U016WKMFLL9> you said all this below, but do I h...
# k3s
h
@creamy-pencil-82913 you said all this below, but do I have to explicitly set this? Or is it supposed to use the defaults of not set at all by me ? I ask because when I look on each of my nodes /var/log/pods directory, each one has widely diffferent disk usage for this directory and containers. The largest log file for a container I see is 43M…. But this is way past the defaults… so what does this mean. https://kubernetes.io/docs/reference/command-line-tools-reference/kubelet/
Copy code
--container-log-max-files int32     Default: 5
Set the maximum number of container log files that can be present for a container. The number must be >= 2. 
--container-log-max-size string     Default: 10Mi
Set the maximum size (e.g. 10Mi) of container log file before it is rotated.
Note that there are settings for adjusting the number of rotation worker routines, and how often sizes are checked. It is not expected that files are rotated the very instant they hit the size limit. Like most things in Kubernetes the goal here is eventual consistency - not realtime response. the sizes are checked periodically, and there is a limit as to how many files are rotated concurrently.
h
@creamy-pencil-82913 your the man