1# ============================================================================= 2# AI Software Factory — Pod Disruption Budgets 3# 4# Guarantee availability during voluntary disruptions (node drains, upgrades). 5# The realtime service is intentionally NOT budgeted here: with HPA min=1 it 6# cannot sustain minAvailable=1 without pinning scale-down; see README. 7# ============================================================================= 8apiVersion: policy/v1 9kind: PodDisruptionBudget 10metadata: 11 name: api 12spec: 13 minAvailable: 1 14 selector: 15 matchLabels: 16 app.kubernetes.io/name: api 17--- 18apiVersion: policy/v1 19kind: PodDisruptionBudget 20metadata: 21 name: web 22spec: 23 minAvailable: 1 24 selector: 25 matchLabels: 26 app.kubernetes.io/name: web 27