~/talk

OpenAPI Specs – Towards Native User Experience of CRDs

Talkat KubeCon + CloudNativeCon Europe 2019 · on Wednesday, 2019-05-22· at 11:05· Hall 8.1 G1· [api-design, kubernetes]
slides:none on file

Kubernetes 1.14 begins publishing OpenAPI specs for CRDs, which enables kubectl explain for CRDs and better IDE manifest completion; the talk shows concrete examples of CRD validation encoded as OpenAPI rules, demos client generation for languages beyond Go, and proposes a standard openapi-spec-gen that extracts specs from Go types (using controller-tools). It also demonstrates limits: polymorphic fields and some validation semantics cannot be expressed in OpenAPI, and conversion/advanced logic still needs controllers.

AI-written summary · about

  1. 0:00Start
  2. 4:34OpenAPI v3 schemas
  3. 15:41OpenAPI Publishing
  4. 18:39Problematic OpenAPI v3
  5. 19:29Limits of Expressivity
  6. 23:34Pruning with a structural schema
  7. 24:54Controlling Pruning
~/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.