Kubernetes Custom Resources with Kubeless and Metacontroller
summary
Shows how a CRD (unstable.mycompany.com v1alpha1 kind ObjectStore) ties to a Kubeless function (Ruby runtime, ~140 lines) and a Kubeless function webhook so creating an object gives logic, not just schema. A MetaController composite controller watches the CRD, calls the function, and ensures children (Deployment, Service, PVCs) match the returned list. Example builds a MinIO S3‑compatible object store, demoed as working, and deletion triggers automatic cleanup.
AI-written summary · about
chapters (10)
- 0:00Introduction and speaker
- 1:42Goal of custom resources
- 4:10Custom resource definition
- 6:17Logic with Kubeless
- 9:49Metacontroller magic
- 15:24Reconciliation loop
- 16:48Demo setup
- 21:40Creating custom resource
- 24:49Cleanup and conclusion
- 25:53Q&A session
related talks
40mExtending K8s- Introducing Custom Resources, Controllers, Operators & Schedulers
26mWriting Kubernetes Controllers for CRDs: Challenges, Approaches and Solutions
26mMetaController: Build K8s Controllers as Declarative Intents
32mKubernetes as a platform for platforms
36mBuilding a Fault-Tolerant Resources Controller on Kubernetes
48mKubernetes as backend: CRD & Operators
27mDemystifying Why the World Is Built on Kubernetes: Learning To Leverage Bespoke CRDs and Controllers
21mKeynote: Kubernetes Secret Superpower
