Skip to content

Commit f79a506

Browse files
committed
Change stratergy due to only wanting volume mounted on one
containiner at a time
1 parent 09d206e commit f79a506

File tree

1 file changed

+5
-0
lines changed

1 file changed

+5
-0
lines changed

apps/backpan-syncer/base/deployment.yaml

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -7,6 +7,11 @@ metadata:
77
app: backpan-syncer
88
spec:
99
replicas: 1
10+
strategy:
11+
# We want to ensure that the backpan-syncer is always running
12+
# so we use Recreate strategy to avoid issues with multiple instances
13+
# trying to access the same volumes
14+
type: Recreate
1015
selector:
1116
matchLabels:
1217
app: backpan-syncer

0 commit comments

Comments
 (0)