~/talk

Best Practices on writing a Kubernetes Operator: my lessons from Capsule

Talkat GoLab 2020 · 2020-10-19..10-24· [kubernetes]
slides:none on file

Capsule implements a Tenant CRD that groups namespaces to enforce network policies, limit ranges and quotas; code uses Operator SDK atop controller-runtime and relies on creator-update mutate closure to avoid overwriting metadata, retry-on-conflict for concurrent updates, and a custom field indexer to get near O(1) tenant lookups. Finalizers handle async deletion of external resources. A production outage from a wrong ownerReference underlines the danger of careless ownership links. The operator and utilities work in production but require careful use of cache, predicates and runners.

AI-written summary · about

  1. 0:00Introduction
  2. 3:58Welcome
  3. 4:49About me
  4. 6:36Warning
  5. 7:07Capsule
  6. 7:46Preface
  7. 8:13What is Kubernetes
  8. 9:01Why I like Kubernetes
  9. 10:44Namespaces
  10. 11:42Kubernetes
  11. 14:49Operator Pattern
  12. 16:43Sample Code
  13. 19:57Capsule overview
  14. 21:20How a tenant is defined
  15. 23:28Code
  16. 25:17Recap
  17. 26:19Donts
  18. 28:03Finalizers
  19. 30:22Dos Donts
  20. 32:02Real Code Snippet
  21. 33:01General Reminders
  22. 34:57Example
  23. 36:19ControllerTime Client
  24. 37:11Demo
  25. 38:40Failed Indexer
  26. 41:43Summary
  27. 43:10Run Enable
  28. 43:41User Customization
  29. 44:33Runnable
  30. 45:12predicates
  31. 45:56Kubernetes Developer Experience
  32. 47:16Predicate
  33. 48:02Conclusion
  34. 49:29QA with Dario
~/search
type to search 8,222 conferences, 162,397 speakers and 219,688 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
← →
on a talk: 5 seconds back / forward
0–9
on a talk: jump to 0%–90% of the recording
?
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.