~/talk

Taming the Beast: The Move To Declarative API Validation in Kubernetes

links:none on file
slides:none on file

Kubernetes replaces ~19–15k lines of duplicated handwritten Go validation across ~20+ validation.go files with field-attached declarative tags parsed by the new validation-gen binary that emits zz_generated.go validator functions. A migration uses feature gates (declarativeValidation and declarativeValidationTakeover), runs generated and handwritten validators in parallel, compares errors to drive metrics toward zero, and supports ratcheting, cross-field checks, immutability and safe backward-compatible upgrades.

AI-written summary · about

  1. 0:00Declarative API validation intro
  2. 1:51Imperative validation problems
  3. 2:55Vision for declarative validation
  4. 4:46Validation gen architecture
  5. 8:01Migration strategy and gates
  6. 13:21Migration phases and stability
  7. 16:54Call for contributors
  8. 19:32Q&A: Getting started
  9. 22:02Q&A: Tracking validation tags
  10. 24:10Q&A: CRD and type tags
  11. 27:08Q&A: CEL and CRD future
  12. 29:37Q&A: Balancing CEL
  13. 32:05Q&A: Feature gates
  14. 33:30Q&A: Update-only validations
  15. 36:23Closing 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.