What is a PodDisruptionBudget and why does it matter for networking?
BeginnerProductionKubernetes & Service Networking in Production
Answer
It limits voluntary evictions (drains, upgrades) so a minimum number of pods stay available. Without PDBs, a node drain can evict all ingress controller or CoreDNS pods at once and break traffic cluster-wide.
spec: {minAvailable: 2, selector: {matchLabels: {app: ingress-nginx}}}
More on Kubernetes & Service Networking in Production
How do you expose an application on Kubernetes to the internet in production?BeginnerALB IP mode versus instance mode on EKS: which should you use?IntermediateHow do you achieve graceful pod shutdown with no dropped requests?AdvancedHow do readiness, liveness and startup probes interact with traffic?BeginnerHow do you design default-deny NetworkPolicies without breaking DNS?IntermediateHow do you debug "pod cannot reach service" in Kubernetes?Advanced