# gasch: events, the dna of kubernetes

Tags: articles, kubernetes (k8s)

https://www.mgasch.com/post/k8sevents/

Talks about how the Kube API server is the fundalmental broker with multiple replicated logs or queues. Events are causually related, and every controllers (k8s) can be understood to be a producer and/or consumer of events from these logs.

• ListWatch in k8s, which lists all events from the API server when the consumer starts, then switches to “watch mode” to reduce the load
• queue is fundalmentally decoupling both the consumer and producer (with a queue)

No guarentee that things will ever reach the desired state, but it is optimistically trying, which makes controllers stateless even when they handle state operations, and do not require persistency!