fix(prometheus): use Recreate strategy to avoid Multi-Attach on RWO PVC
scan.yaml / test (push) Successful in 9s

Prometheus server runs as a single-replica Deployment with an RWO PVC.
RollingUpdate starts the new pod before the old releases the volume,
which fails with Multi-Attach on rollouts and reschedules.

Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
This commit is contained in:
2026-10-07 12:31:26 +02:00
co-authored by Claude Opus 4.7
parent d503795201
commit cd3c38463a
+3
View File
@@ -4,6 +4,9 @@ server:
service: service:
servicePort: 80 servicePort: 80
strategy:
type: Recreate
resources: resources:
requests: requests:
cpu: 150m cpu: 150m