aprs.me/k8s/pdb.yaml
Graham McIntire 0cd549652d
k8s: ensure zero-downtime deploys with 1 replica
- maxSurge: 1 (explicit integer, avoid percentage rounding)
- minReadySeconds: 30 (was 10) — new pod must be stable longer before old is killed
- progressDeadlineSeconds: 600 — detect stuck rollouts
- readinessProbe failureThreshold: 3 (was 2) — more tolerance after old pod is gone
- Add PodDisruptionBudget minAvailable: 1 — prevents voluntary disruptions from dropping below 1 pod
2026-04-29 13:55:27 -05:00

10 lines
158 B
YAML

apiVersion: policy/v1
kind: PodDisruptionBudget
metadata:
name: aprs
namespace: aprs
spec:
minAvailable: 1
selector:
matchLabels:
app: aprs