seniorDevOps

Kubernetes Operators and CRDs.

Updated Apr 28, 2026

Short answer

Operators encapsulate operational domain knowledge into software to automate the lifecycle of complex stateful applications in K8s.

Deep explanation

A Custom Resource Definition (CRD) extends the Kubernetes API with custom objects (e.g., kind: PostgreSQLCluster). The Operator is a custom controller pod running a reconciliation loop. It watches for changes to these CRDs and makes APIs calls to bring the real cluster state into the desired state defined by the CRD.

Unlock with a Pro subscription to view this section.

View pricing

Real-world example

No real-world example available yet.

Unlock with a Pro subscription to view this section.

Upgrade to Pro

Common mistakes

No common mistakes listed yet.

Unlock with a Pro subscription to view this section.

Upgrade to Pro

Follow-up questions

No follow-up questions available yet.

Unlock with a Pro subscription to view this section.

Upgrade to Pro

More DevOps interview questions

View all →