max-rocket-internet / k8s-event-logger

Watches k8s cluster events and logs them to stdout in JSON
GNU General Public License v3.0
211 stars 28 forks source link

Allow filtering out normal events #31

Closed mmckeen closed 1 year ago

mmckeen commented 1 year ago

Description

Normal events can often be noisy, and for many use cases all we care about is Warning events.

That said, add the ability to only report non-normal events via a flag.

Testing

Tested using a kube cluster, works as expected.

mmckeen commented 1 year ago

@max-rocket-internet let me file an issue for test coverage, I also have a few other feature-requests/ideas I'll file into the backlog 🙇