Kubernetes Operators with Go
summary
Operators use Go and controller-runtime to build an event-driven worker that keeps current state matching desired state by a never-ending reconcile loop. Examples show an operator calling AWS via the upstream ACK IAM operator to create IAM roles and buckets, using create-or-patch to mutate child resources, using cache-backed reads to avoid API DDoS, and marking ownership with set controller reference and finalizers. Best practice is to re-queue rather than sleep so reconcile is idempotent and converges to “no changes.”
AI-written summary · about
chapters (10)
- 0:00Introduction to operators
- 1:13Operator architecture
- 6:43Native event integration
- 8:21External event handling
- 10:10Reconciliation logic
- 11:34Implementing controllers
- 15:09Best practices overview
- 15:19Advanced operator patterns
- 20:46Scaling and maintenance
- 21:25Conclusion and Q&A
related talks
39mWriting a Kubernetes/Openshift Operators Using Golang
55mIntroduction to Kubernetes Operators
20mSmooth Operator - A Rough Guide to Kubernetes Operators
21mStory of a Kubernetes Go Operator
45mKubernetes Operators: Operating Cloud Native services at scale
31mKubernetes Operators within Reach of Any Developer
29mExtending Kubernetes with Operators
47mLet's dive into Kubernetes operator creation
