~/talk

Design Patterns for Extendable, Scalable K8s Extensions

links:none on file
github:ritazh
slides:none on file

OPA Gatekeeper is an admission webhook that implements CRDs-that-create-CRDs: constraint templates are CRDs that dynamically create constraint CRDs, with unstructured controllers and merged JSON schemas. A dynamic watcher (Oren Shamron’s implementation) removes restarts and duplicated caches. Pods run as a leaderless horizontal scalability web‑troller: each pod serves requests and item‑based controllers use first‑write‑wins. Enforcement visibility uses a by-pod status model with per‑pod constraint status resources aggregated by a singleton, cutting write amplification from potentially O(n^2) to O(n) and relying on Kubernetes GC.

AI-written summary · about

  1. 0:00Introduction to Gatekeeper
  2. 1:03Constraints and templates
  3. 2:38Duck typing in Gatekeeper
  4. 5:31Dynamic watch management
  5. 8:38The constraint framework
  6. 11:49Extending policy venues
  7. 13:22The web-troller model
  8. 17:18Policy enforcement status
  9. 21:00Scaling and conclusion
~/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.