robusta-dev / kubewatch

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

Feature request: Include a cluster identifier in notifications #22

Open CapKenR opened 1 year ago

CapKenR commented 1 year ago

It would be nice to have something like a clusterIdentity parameter that I could specify in the configuration and have that clusterIdentity included in the message sent to Slack or elsewhere.

For example, if I specified clusterIdentity: "my-cluster" in the configuration, the message in Slack would look something like this:

kubewatch
A deployment in namespace `kubewatch` in the `my-cluster` cluster has been created:
kubewatch/kubewatch

This way I can use the same Slack channel for multiple clusters and still distinguish between them.

arikalon1 commented 1 year ago

Thanks for reporting it @CapKenR

Kubewatch doesn't support cluster name in the messages yet. We need to add it.

Here as well, you can try Robusta which includes the cluster name in the messages as a workaround.