Extending Knative for Fun and Profit
summary
Demonstrates using duck typing (partial schemas for typeMeta/objectMeta/status/spec) to write generic controllers and webhooks: a prototype image-cache controller reads any resource with a pod template and creates image-cache CRs for each image, and a mutating webhook called boom apps freezes configMap references by synthesizing JSON patches against the duck. Shows concrete code paths (dynamic client + typed informer, patch-from-diff) and proves the approach works across Deployments, DaemonSets, KNative Services and other with-pod resources.
AI-written summary · about
chapters (4)
- 0:00Introduction to Knative
- 21:29Duck typing in Knative
- 23:26Tools and techniques
- 28:55Extensibility and conclusion
related talks
36mPolymorphic Reconcilers in Kubernetes - Advanced DuckTyping
01h 00mKnative and the three Dwarfs
46mLive Diagramming of Knative - Core Concepts
35mKnative: More Than Just Serverless Cont...
40mExtending K8s- Introducing Custom Resources, Controllers, Operators & Schedulers
25mMetacontroller with Knative Functions - Kubernetes Controllers Made Simple
38mOverview and State of Knative
23mKnative 101: What it is, and what it will be
