hard20 pts · first answer countskuberneteshigh-availability
Node drain stuck on a PDB
A node upgrade hangs because kubectl drain keeps retrying eviction for the pods of this app. What is wrong?
apiVersion: policy/v1
kind: PodDisruptionBudget
spec:
minAvailable: 3
selector:
matchLabels: { app: api }
---
# Deployment api has replicas: 3