Important Update
This repository has been deprecated. Please visit https://github.com/resmoio/kubernetes-event-exporter
kubernetes-event-exporter
This tool is presented at KubeCon 2019 San Diego.
This tool allows exporting the often missed Kubernetes events to various outputs so that they can be used for
observability or alerting purposes. You won't believe what you are missing.
Deployment
Head on to deploy/ folder and apply the YAMLs in the given filename order. Do not forget to modify the
deploy/01-config.yaml file to your configuration needs. The additional information for configuration is as follows:
Configuration
Configuration is done via a YAML file, when run in Kubernetes, ConfigMap. The tool watches all the events and
user has to option to filter out some events, according to their properties. Critical events can be routed to alerting
tools such as Opsgenie, or all events can be dumped to an Elasticsearch instance. You can use namespaces, labels on the
related object to route some Pod related events to owners via Slack. The final routing is a tree which allows
flexibility. It generally looks like following:
route:
# Main route
routes:
# This route allows dumping all events because it has no fields to match and no drop rules.