# ============================================================================= # AI Software Factory — Pod Disruption Budgets # # Guarantee availability during voluntary disruptions (node drains, upgrades). # The realtime service is intentionally NOT budgeted here: with HPA min=1 it # cannot sustain minAvailable=1 without pinning scale-down; see README. # ============================================================================= apiVersion: policy/v1 kind: PodDisruptionBudget metadata: name: api spec: minAvailable: 1 selector: matchLabels: app.kubernetes.io/name: api --- apiVersion: policy/v1 kind: PodDisruptionBudget metadata: name: web spec: minAvailable: 1 selector: matchLabels: app.kubernetes.io/name: web