Beyond Kubebuilder - Generating Entire Kubernetes Controller Implementations
Talkat KubeCon + CloudNativeCon North America 2022 · on Wednesday, 2022-10-26· at 15:25· Portside Ballroom (Room 260)·
summary
Built a Kubernetes controller factory that consumes AWS API models and a generator.yaml to output full controllers (not just scaffolds), mapping AWS SDK Go types to CRs with generated SDK bind code and generated delta comparators to detect changes. Uses kubebuilder/controller-gen/controller-runtime for types and a common reconcile runtime plus a resource manager interface (create read update delete methods). Produces images, Helm charts and OLM artifacts automatically; 21 published controllers, ~80–98% generated, over a million lines of generated code, ~2% handwritten for edge cases.
AI-written summary · about
chapters (10)
- 0:00Introduction to ACK
- 2:39Understanding Controllers
- 6:18The Need for Automation
- 10:24The Controller Factory
- 14:24Generating the Skeleton
- 16:44Translation Layer Generation
- 20:24Common Runtime and Logic
- 23:03Project Status and Ecosystem
- 26:29Handling Edge Cases
- 27:31Q&A and Conclusion
related talks
05mEffectively Extending Kubernetes Resources
32mKubebuilder: SDK for Extending Kubernetes
23mKubebuilder Intro & Deep Dive
26mWriting Kubernetes Controllers for CRDs: Challenges, Approaches and Solutions
24mWriting kube controllers for everyone
12mKeynote: Operational Nirvana: The future belongs to the robots - Jay Pipes, Principal Engineer, AWS
26mExtending Kubernetes with Custom Controllers
31mKubernetes is Your Platform: Design Patterns For Extens...
