Keyboard shortcuts

/ or ⌘/Ctrl K
Find a note
j / k
Next / previous section or linked note
h / l
Collapse or go to parent / expand or enter
e or Alt-click
Read a linked note here
o
Open focused note on its own
g g / G
First / last section or linked note
g h / g a
Home / all notes
g b / g t
Backlinks / table of contents
t
Cycle System, Light, Dark
? / Esc
Show / close this reference

Search: ↑/↓ or Ctrl N/P, Enter to open. Shortcuts pause while typing.

gasch: events, the dna of kubernetes [fe4f63cc]

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)

file:2020-12-28_21-51-22_screenshot.png

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!