Operators for Beginners
summary
Operators watch a Kubernetes resource, run logic and write back status so operational work becomes declarative: resource → action → status update. CustomResourceDefinitions hold schemas; Prometheus’s PodMonitor causes the operator to reconfigure Prometheus to scrape matching pods, and an S3 operator actually creates buckets outside the cluster. Development uses operator-sdk (Helm/Ansible/Go): Helm operators map CRs to charts via watches.yaml mapping, Ansible operators run playbooks with ansible-runner and Molecule tests, and Go operators can auto-generate CRDs and OpenAPI schema. OperatorHub subscription creates an installPlan to deploy updates.
AI-written summary · about
chapters (8)
- 0:00Intro
- 0:56Operator Architecture
- 4:29Example Operators
- 6:04Example Custom Resources
- 8:20Operator SDK
- 10:50Using the CR Values
- 13:23Generated Structure
- 16:27Implementing the Operator
related talks
42mKubernetes Operators: What are They and Why would You Need Them?
45mKubernetes Operators: Operating Cloud Native services at scale
14mDemystifying k8s operators
20mSmooth Operator - A Rough Guide to Kubernetes Operators
40mDevOps in the Cluster: A deep dive into operators
39mWriting a Kubernetes/Openshift Operators Using Golang
31mKubernetes Operators within Reach of Any Developer
01h 29mTutorial: Deep Dive into the Operator Framework for Kubernetes
