Advanced Interview #kubernetes #operators #crd #interview-prep

Kubernetes Operator Developer Interview Questions

5 exercises — covering CRD design, controller reconciliation loops, operator SDK, admission webhooks, and operator lifecycle management.

Structure for Kubernetes Operator answers
  • Reconciliation loop: observe desired state → compare actual state → act to close the gap → requeue on error
  • CRD design: use status subresource; define conditions following the Kubernetes API convention
  • Controller idempotency: every reconcile must be safe to run multiple times with the same input
  • Webhook types: validating (reject invalid resources) vs mutating (set defaults) — order matters
0 / 5 completed
1 / 5
The interviewer asks: "Explain the reconciliation loop in a Kubernetes controller. What happens when a reconcile returns an error?"
Which answer is most technically accurate?