robusta-dev / kubewatch

Watch k8s events and trigger Handlers
Apache License 2.0
604 stars 84 forks source link

"reason" support in kubewatch #62

Open jrilabaca opened 10 months ago

jrilabaca commented 10 months ago

Hi, I see in the config.json example that a "reason" configuration was planned, but it looks like it's not yet supported. I saw in the config.go that the reason section in the Config is commented.

I understand that the goal of this section is to be able to configure which type of events to watch, or restrict which ones we want to capture. Am I right?

Is this planned to the near future?

aantn commented 10 months ago

Hey, we're not planning to implement it in KubeWatch. You can do advanced filtering logic in Robusta, which sits on top of KubeWatch and applies filtering and routing logic.

Here are some links: