Skip to content

Commit a564288

Browse files
committed
Use recreate strategy for deployments.
This avoids the need to have enough resources available for 2x the deployment during deploys.
1 parent 6e073bc commit a564288

2 files changed

Lines changed: 4 additions & 0 deletions

File tree

charts/benchmark-workers/templates/deployment-soak-test.yaml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -8,6 +8,8 @@ metadata:
88
component: soak-test
99
{{- include "benchmark-workers.labels" . | nindent 4 }}
1010
spec:
11+
strategy:
12+
type: Recreate
1113
replicas: {{ .Values.soakTest.replicaCount }}
1214
selector:
1315
matchLabels:

charts/benchmark-workers/templates/deployment-workers.yaml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -7,6 +7,8 @@ metadata:
77
component: workers
88
{{- include "benchmark-workers.labels" . | nindent 4 }}
99
spec:
10+
strategy:
11+
type: Recreate
1012
replicas: {{ .Values.workers.replicaCount }}
1113
selector:
1214
matchLabels:

0 commit comments

Comments
 (0)