Open javadevmtl opened 3 months ago
The Kubernetes project currently lacks enough contributors to adequately respond to all issues.
This bot triages un-triaged issues according to the following rules:
lifecycle/stale
is appliedlifecycle/stale
was applied, lifecycle/rotten
is appliedlifecycle/rotten
was applied, the issue is closedYou can:
/remove-lifecycle stale
/close
Please send feedback to sig-contributor-experience at kubernetes/community.
/lifecycle stale
Running
Kubernetes 1.27.6
I have some performance issues regarding logrotation where I miss logs, I'm not here blaming Kubernetes, but there needs some clarification around the Log Architecture documents here Loggin Architecture or more details.
We have set
containerLogMaxSize
andcontainerLogMaxFiles
which works fine and is rotating logs as per the settings. We are trying to debug an issue where we miss logs when there is large volume.Now here is the disparity.
/var/log/pods/
folder indeed the logs are being rotate as per the 2 settings, but they are also gzipped. Nowhere does the document explain this and there's no settings indicated anywhere for compressing the logs. Which leads us to belive that the file is being zipped before the file agent can finish reading all the contents of the file.containerLogMaxSize
andcontainerLogMaxFiles
to logrotate somehow and if so how (We looked in/etc/logrotate.d/
and/etc/logrotate.conf
and found no indication of a Kubenrnetes config pointing to/var/log/pods/
)?