Interview Prep/Kubernetes/Reliability & Rollouts

What failure modes does a webhook-based admission controller introduce, and how do you mitigate them?

AdvancedProductionReliability & Rollouts
Answer

If a failurePolicy: Fail webhook is down or slow, every matching create/update blocks, which can deadlock the cluster (even the webhook's own Pods). Mitigate: run several replicas across zones with PDB, exclude kube-system and the webhook namespace via namespaceSelector, set short timeoutSeconds, failurePolicy: Ignore for non-critical rules, and prefer in-process ValidatingAdmissionPolicy where possible.

All Kubernetes questions

More on Reliability & Rollouts