What’s the Best Way to Retain Kubernetes Events?

0
23
Asked By CuriousCat87 On

I'm looking for the best method to retain Kubernetes events within my stack, which includes Prometheus, Grafana, Loki, and Promtail. I've come across a couple of options, like the Kubernetes event logger from Delivery Hero and the Kubernetes Event Exporter, but I'm unsure about their maintenance status and effectiveness. Does anyone have recommendations or insights on these options or perhaps a better solution?

2 Answers

Answered By LogMaster22 On

I've tried the Kubernetes Event Exporter in the past, but it generated way too many logs, so I ended up ditching it. It seems like not many people retain events for long-term, but if you have specific reasons like debugging evictions or out-of-memory kills, it could be worth a shot!

DataDude33 -

I second the Events Exporter, I found it really useful.

CuriousCat87 -

I need to debug events like eviction and OOM kills, so I might give it a try anyway.

Answered By TechGuru99 On

If you're aiming to keep your setup within Grafana's ecosystem, you might want to check out the OpenTelemetry Collector or Grafana Alloy. Both can integrate well with your existing tools and should help you manage your Kubernetes events efficiently.

CuriousCat87 -

I might try Alloy, thanks!

Related Questions

LEAVE A REPLY

Please enter your comment!
Please enter your name here

This site uses Akismet to reduce spam. Learn how your comment data is processed.