From 6278918f62e05e945091cbaa51c4f43893e23385 Mon Sep 17 00:00:00 2001 From: Edward Cheng Date: Wed, 26 Jun 2024 17:20:01 +1000 Subject: [PATCH] use recreate strategy for prometheus --- kubernetes/infrastructure/prometheus/app/deployment.yaml | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/kubernetes/infrastructure/prometheus/app/deployment.yaml b/kubernetes/infrastructure/prometheus/app/deployment.yaml index cd3fa46..8d018f9 100644 --- a/kubernetes/infrastructure/prometheus/app/deployment.yaml +++ b/kubernetes/infrastructure/prometheus/app/deployment.yaml @@ -6,7 +6,9 @@ metadata: labels: app: prometheus spec: - replicas: 1 + strategy: + rollingUpdate: null + type: Recreate selector: matchLabels: app: prometheus