Skip to content

Kubernetes

Kubernetes PodDisruptionBudget Calculator

Replica count and a minAvailable or maxUnavailable budget - exactly how many pods stay up and how many can be evicted at once during a voluntary disruption, plus a valid policy/v1 PDB manifest.

Budget mode

Must stay available

5 / 6

Max evictable at once

1

During a voluntary disruption (node drain, cluster upgrade), the eviction API will block evictions once only 5 Ready pods remain.

apiVersion: policy/v1
kind: PodDisruptionBudget
metadata:
  name: my-app-pdb
spec:
  minAvailable: 75%
  selector:
    matchLabels:
      app: my-app-pdb