Kubernetes
Hard
Troubleshooting
What happens when you try to evict a Kubernetes pod that is selected by two different PodDisruptionBudgets?
Select your answer:
Show answer and explanation
Answer: The API server refuses it with a 500 error
Explanation
The eviction subresource doesn't support pods covered by more than one PodDisruptionBudget, so the API server returns 500 Internal Server Error. A drain stops on that pod until you fix the overlapping selectors. Overlap is only reasonable briefly, while moving pods from one budget to another.