Bootiful Kubernetes Operators
summary
Builds a working Kubernetes operator in Java using Spring Boot and the official Java Kubernetes client: generate a Foo CRD, autogenerate Java models from the CRD, run an Informer-backed controller with a reconciler loop that creates a ConfigMap and Deployment (ownerReferences and RBAC included), push a Cloud Native Buildpacks image, and expose it via a service. Covers operator chaining, credential isolation, and two real pitfalls β operators going out of sync and resource ownership conflicts β with a demo that actually runs on a cluster.
AI-written summary Β· about
chapters (19)
- 0:00Introduction
- 1:48What are Kubernetes operators
- 3:34How controllers work in Kubernetes
- 8:30When to build your own operator
- 10:13Operator use cases
- 13:42Pitfalls of operators
- 15:56Demo setup
- 16:40Custom resource definition
- 19:08Java and Spring Boot setup
- 21:57Generating Java models
- 24:29Building the controller
- 27:40Config map creation
- 31:16Deployment creation
- 35:30Controller logic explained
- 37:17Testing the operator
- 38:05Container image build
- 39:28RBAC and deployment
- 40:32Exposing the service
- 41:35Summary and resources
