on-internet
← Community

Does Kubernetes AlwaysAllow bypass PDB restrictions for healthy Pods?

Stack Overflow ·

I'm trying to understand how the unhealthyPodEvictionPolicy field in a Kubernetes PodDisruptionBudget affects node draining. Consider a Deployment with 3 replicas and a PodDisruptionBudget configured with minAvailable: 2. Suppose only 1 Pod is Ready, while the other 2 Pods are Running but failing their readiness probes. The PDB has the following setting: unhealthyPodEvictionPolicy: AlwaysAllow I understand that this policy allows unhealthy Pods to be evicted even when the disruption budget is not currently satisfied. However, I want to clarify one thing: Does AlwaysAllow bypass the PDB restric

Comments

Sign in or sign up to comment and upvote.

No comments yet.