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.
More on Reliability & Rollouts
What are the must-have settings for a production Deployment?BeginnerWhy use image digests or immutable tags instead of `latest`?BeginnerWhat does a PodDisruptionBudget protect and how do you size it?BeginnerHow do you set graceful shutdown right?BeginnerWhy do rollouts sometimes cause brief 502/503 errors?BeginnerHow many replicas should you run and how do you spread them?Beginner