Kubernetes (K8s) (50 Qs)•Part 3: Advanced Internals, Scale & Production Security (Senior / Lead)
The Kubernetes Operator Pattern and CRDs.
senior LevelMost AskedSecurity & AuthKubernetes
In Simple Words: An Operator encodes human operational domain knowledge (backing up databases, handling failovers, upgrading clusters) into automated software:
- Custom Resource Definition (CRD): Extends the Kubernetes API with custom objects (e.g.
kind: PostgresCluster). - Reconciliation Loop (Controller): An infinite loop continuously comparing the Actual State against the Desired State and executing corrective actions to reconcile drift.