resmoio / kubernetes-event-exporter

Export Kubernetes events to multiple destinations with routing and filtering
Apache License 2.0
789 stars 158 forks source link

Get events from a remote K8S cluster #117

Closed bd3lage closed 1 year ago

bd3lage commented 1 year ago

AFAIK it's not possible to get events from a remote K8S cluster using kubernetes-event-exporter.

Is this a feature that could be implemented ? Or do you think it's out of scope ?

bd3lage commented 1 year ago

Nevermind, I found it https://github.com/resmoio/kubernetes-event-exporter/blob/9e7f84ba16e77ac9a72c1bdee8df15aa65bc08c2/main.go#L22C1-L22C1

👍

mustafaakin commented 1 year ago

Yes, you can use a custom kubeconfig to connect another cluster. That's how I do my local development as well.