Build Your Kubernetes Operator with the Right Tool!
summary
Demo builds a Hazelcast operator that watches a custom resource with one parameter size and adjusts Deployment replicas from 1 to 3 accordingly, implemented four ways: operator SDK with Helm (templated Deployment, quick generate and works but can’t do backups/auto‑scaling), Ansible operator (uses community kubernetes plugins, covers all capability levels), imperative Go reconcile method (lots of boilerplate, most production operators use Go), plus a compact Python kopf version (~50 lines) and a verbose Java/Quarkus variant. Choice: Helm for simple installs, Go for future flexibility and parity with most operators.
AI-written summary · about
chapters (9)
- 0:00Introduction to Kubernetes Operators
- 2:40Choosing the right tool for operators
- 7:55Operator SDK with Helm approach
- 16:41Operator SDK with Ansible approach
- 21:20Operator SDK with Go approach
- 28:54Alternative operator frameworks
- 35:00Writing operators from scratch
- 41:24Which tool should you choose
- 44:16Summary and resources
related talks
42mBuild Your Kubernetes Operator with the Right Tool!
01h 29mTutorial: Deep Dive into the Operator Framework for Kubernetes
31mKubernetes Operators within Reach of Any Developer
29mExtending Kubernetes with Operators
46mKubernetes Operators in Java - When? Why? How?
24mAutomating Stateful Apps with Kubernetes Operators
47mLet's dive into Kubernetes operator creation
43mLessons learned writing 10+ Kubernetes Operators
