Protect minimum availability during voluntary disruption.
Section: Autoscaling and Availability
PodDisruptionBudget YAML
yaml
yaml
apiVersion: policy/v1
kind: PodDisruptionBudget
metadata:
name: api
spec:
minAvailable: 2
selector:
matchLabels:
app: apiLearn the surrounding workflow
Compare similar commands or jump into common fixes when this command is part of a bigger troubleshooting path.
Related commands
Same sheet · prioritizing Autoscaling and Availability