Watch Your Kubernetes Cluster Events With EventRouter and Kafka | by Emmanuel Sys | Jan, 2021 | codeburst codeburst.io
You are certainly familiar with Kubernetes events, especially when you investigate a dysfunction in your cluster using the infamous kubectl describe command or the event API resource. It’s a goldmine of information. However useful this information is, it is only temporary. The retention period is generally between 5 minutes and 30 days. You may want to keep this precious information for auditing purposes or ulterior diagnosis in more durable and efficient storage like Kafka. You can then react to certain events by having a tool (e.g. Argo Events) or your own applications subscribing to a Kafka topic. In this article, I will show you how to build such a pipeline for processing and storing Kubernetes cluster events.
Report Story