3 ms·
> What logging solutions are you using in your Kubernetes environment, and how has your experience been? We store all the logs from all the containers running
by valyala 2y ago
> What logging solutions are you using in your Kubernetes environment, and how has your experience been?
We store all the logs from all the containers running in our Kubernetes clusters into VictoriaLogs during the last year. It works smoothly and uses very small amounts of RAM and disk space. For example, one of our VictoriaLogs instance contains 2 terabytes of logs while using 35 gigabytes of disk space and 200MB of RAM on average.
> How do you handle log retention and storage costs?
VictoriaLogs provides a single clear command-line flag for limiting disk space usage - `-retention.maxDiskSpaceUsageBytes`. It automatically removes the oldest logs when disk space usage reaches the configured limit. See https://docs.victoriametrics.com/victorialogs/#retention-by-disk-space-usage https://docs.victoriametrics.com/victorialogs/#retention-by-... .
P.S. I can be biased, because I'm the core developer of VictoriaLogs. I recommend trying to use in production VictoriaLogs alongside other log management solutions and then choosing the solution which fits better your particular needs from operations, costs, usability and performance PoV.