~/talk

Writing Kube Controllers for Everyone

slides:none on file

A practical recipe for real controllers: code is a main loop that pops meta namespace keys from a rate‑limited queue (commonly an exponential failure limiter), looks up objects via the shared informers cache and listers, deep copies before mutating, updates status and emits events. CronJob controller is ~400–1,000 lines and currently doesn’t use shared informers (a known flaw). Use ownerReferences for garbage collection, follow the 11 rules, and test with hundreds of table cases.

AI-written summary · about

  1. 0:00Intro
  2. 0:55Controllers
  3. 3:25Where to start
  4. 6:15Queue
  5. 8:05Sheraton Format
  6. 10:40Event Handlers
  7. 13:40Main Loop
  8. 17:45Picture
  9. 18:45Closing Remarks
  10. 22:50Observed Generation
  11. 28:00Operator Framework
  12. 29:00Writing controllers in different languages
  13. 31:05Controllers in pods
  14. 34:45Notifications
  15. 35:20Leader Election
  16. 36:15Conformance Testing
~/search
type to search 6,249 conferences, 138,987 speakers and 185,172 talks
~/help
cmdctrl k
search every conference, speaker and series
/
focus the filter search
h
home
c
conferences
s
speakers
e
series
t
light / dark — the status bar button does the same
?
this help
esc
close this, then clear every filter — or just the search, while you are typing in it

Ignored while you are typing. Pages without a filter rail have no search to focus.