robusta-dev / kubewatch

Watch k8s events and trigger Handlers
Apache License 2.0
547 stars 79 forks source link

Is it possible to get notified if there are any custom resources in cluster? #18

Open mkazla opened 1 year ago

mkazla commented 1 year ago

Hi Team,

We have few custom resources running in our cluster, is it possible to generate notifications for them as well

aantn commented 1 year ago

Hey, it's not supported yet, but it's being planned.

Out of curiousity, what custom resources would you like to track and in what scenarios do you want to get notified?

mkazla commented 1 year ago

Hey @aantn , We have some CRD's that are used to provision few resources outside of the kubernetes cluster using the cloud providers for which we would love to get notifications whenever a new resource added into cluster.

Any rough idea by when we would be able to see that new feature?

Thanks

firecube-oss commented 1 year ago

we use CRDs extensively as well to provision things like databases (https://github.com/kloeckner-i/db-operator) and manage things like service meshes (linkerd)

Changes to these CRDs can have a significant change on the stability of an application so it would be good to be notified when they change.

aantn commented 1 year ago

Thanks, that makes sense.

I don't have an ETA yet, but I did write the initial code for this a long time ago. It needs to be merged into kubewatch, but PRs are welcome!

https://github.com/robusta-dev/robusta-topology-watcher

mkazla commented 1 year ago

Hey @aantn, Is it possible to merge the PR in coming days so that we can consume kubewatch directly as per our needs?

Thanks

aantn commented 1 year ago

Hey, it's unfortunately going to be some time before we get this merged. We will have CRD support one of these days, but it's not a focus for the team this quarter.

PRs are welcome though! If someone can help contribute, it will certainly happen faster.

schuman0 commented 4 months ago

Is this still something the team might be able to implement?

aantn commented 3 months ago

Hi @schuman0, we're still unable to commit to a timeline. We're a small team with limited resources, but PRs are most certainly welcome!