~/talk

Don't Write Controllers Like Charlie Don't Does: Avoiding Common Kubernetes Controller Mistakes

github:youngnick
slides:none on file

Shows that homegrown clients that call get/list on every reconcile burn API server cycles and that uncontrolled status writes create hundreds of status updates and startup thundering herd problems. Recommends using controller-runtime or alternatives KRT and stateDB to get cached informers, emit metrics, and avoid races. Advises patching or diff-checking before updates, reconciling the correct parent resource (gateway not HTTPRoute), and rebuilding state on each reconcile; real systems with hundreds of HTTPRoutes proved the fixes work.

AI-written summary · about

  1. 0:00Controller writing challenges
  2. 1:03Charlie Don’t anti-hero
  3. 3:33Overusing API server calls
  4. 6:45Hand-rolled client pitfalls
  5. 8:51Controller development frameworks
  6. 12:23Controller runtime patterns
  7. 15:33Reconcile mistakes and lessons
  8. 19:24Best practices for controllers
  9. 21:13Q&A: Reconciliation reasoning
  10. 23:17Q&A: Multi-threaded operators
  11. 25:24Q&A: External system states
  12. 27:50Q&A: Operator testing
  13. 29:57Q&A: Object state comparisons
  14. 31:24Closing remarks
~/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.