--- # PodDisruptionBudgets for neuron-prod # Ensures at least 1 replica of each service survives node drains and upgrades. # With replicas=1 today, minAvailable=1 means drain will block until HPA scales up # to 2+ — this is intentional and provides a natural safety gate. apiVersion: policy/v1 kind: PodDisruptionBudget metadata: name: neuron-mcp-pdb namespace: neuron-prod spec: minAvailable: 1 selector: matchLabels: app: neuron-mcp slot: blue --- apiVersion: policy/v1 kind: PodDisruptionBudget metadata: name: neuron-rest-pdb namespace: neuron-prod spec: minAvailable: 1 selector: matchLabels: app: neuron-rest --- apiVersion: policy/v1 kind: PodDisruptionBudget metadata: name: neuron-marketing-pdb namespace: neuron-prod spec: # Marketing runs 2 replicas — keep at least 1 alive during drains. minAvailable: 1 selector: matchLabels: app: neuron-marketing