Use this when an operator automates a complex application in Kubernetes.
Operators
Operators extend Kubernetes with custom resources and controllers that automate running complex applications, such as databases, handling installation, upgrades, backups and failover.
1. Operators automate apps via CRDs and controllers.
2. Choose mature operators.
3. Pin versions; watch CRD upgrades.
4. RBAC scope.
5. Monitor operator health.
custom resource → operator → managed resources
Context & applicabilityCommon mistakes · platform/version boundaries
Operational reference
Fast context before you go deeper.
Verification & Troubleshooting
Start with the observed symptom, prove the nearest boundary, and move outward only when the current state is understood.
Use the operational verification above to establish the expected state.
Capture the concrete output, symptom, packet, log or counter before changing anything.
Step 1 Verification path Verify boundary
The negative fixture should deliberately exercise risks such as schema drift, selector overreach, admission rejection, controller lag, immutable fields, stale status and confusing created object with ready workload, choosing the cases most relevant to custom resources, controller reconciliation loop, CRD/version compatibility, finalizers/status/conditions and operator-owned versus user-owned fields.
Step 2 Common mistakes Narrow the fault
- Installing operators with cluster-admin rights without review.
Evidence · 1 on this Topic
Expected observations and documentation recipes are reference material. Record actual output, device identity, scope and time before claiming a verified result.
- Operators add custom resources and controllers.
- They handle install, upgrades and backups.
- Operator health affects the app.
kubectl get crd— installed CRDskubectl get <custom-resource> -A— operator-managed objectskubectl logs -n <ns> deploy/<operator>— operator logs
ReferenceWhy it matters1 section · depth on demand
What it is
Operators run controllers that manage complex applications through custom resources (CRDs), automating install, upgrades and failover.
ReferenceImportant terms & boundaries2 sections · depth on demand
In depth
An operator is a controller that encodes operational knowledge for a specific application — how to deploy, upgrade, back up and recover it — and exposes it through custom resources. Instead of running a runbook for a database failover, you declare the desired database cluster, and the operator handles the details.
| Example | Manages |
|---|---|
| cert-manager | TLS certificates |
| CloudNativePG / Zalando | PostgreSQL clusters |
| Prometheus Operator | Monitoring stacks |
| Rook | Ceph storage |
| External Secrets | Secret synchronisation |
kubectl get crds | grep cert-manager
kubectl get certificates -A
kubectl describe certificate web-tls -n apps
Operators run with broad permissions; review their RBAC and keep them updated like any other critical component.
Mechanics
The linked authority for bounded mechanics is Kubernetes Docs — Operator pattern; documentation support is separate from observed lab/production Evidence.
Additional reference context Scope · expected state · examples · history · terminology Open only when you need the supporting context
Verification history & basis
When and against what this Topic was checked. Later text edits do not count as a new check.
Authoritative/upstream documentation reviewed for bounded claims in Kubernetes Automation > Operators. Documentation verification only; this is not observed lab or production Evidence.
Basis: https://kubernetes.io/docs/concepts/extend-kubernetes/operator/ · confidence 94%Deep reference
Healthy vs suspicious evidence
Output interpretation
For custom resources, controller reconciliation loop, CRD/version compatibility, finalizers/status/conditions and operator-owned versus user-owned fields, prefer typed fields and stable IDs over human presentation text.