- 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
10 lines
158 B
YAML
10 lines
158 B
YAML
apiVersion: policy/v1
|
|
kind: PodDisruptionBudget
|
|
metadata:
|
|
name: aprs
|
|
namespace: aprs
|
|
spec:
|
|
minAvailable: 1
|
|
selector:
|
|
matchLabels:
|
|
app: aprs
|