Unraveling the Mystery of Versioning CRDs
Talkat KubeCon + CloudNativeCon North America 2021 · on Wednesday, 2021-10-13· at 17:25· Petree Hall C + Online·
summary
Explains a concrete workflow for CRD versioning using kubebuilder scaffolding: a demo splits a single fullName into firstName/lastName, implements a conversion webhook that maps fields (storing dropped data in annotations for lossless rollback), and marks v1 as hub/stored then flips storage to v2. Shows hub‑and‑spoke conversion to cut N^2 converters down to hub conversions, observes clients prefer higher served versions, and verifies automatic migration via the storage version migrator (probes every 10 minutes, migration status succeeds).
AI-written summary · about
chapters (7)
- 0:00Introduction
- 1:05Optional Fields
- 1:25Versioning Views
- 2:01Conversion Strategy
- 2:30Demo
- 9:35Storage Version Migrator
- 15:50Outro
related talks
01h 39mTutorial: Mastering Multi-version CRDs: From YAML to a Serious Development Project
19mKeynote: CRDs, No Longer 2nd Class Thing!
32mKubebuilder: SDK for Extending Kubernetes
05mEffectively Extending Kubernetes Resources
29mKubernetes Reloaded: AKA How to Avoid the Dev Plateau with CRDs
19mKeynote: CRDs, No Longer 2nd Class Thing!
23mCRD Validation in Kubernetes
38mTo Crd, or Not to Crd, That is the Question
