fix(opencloud): use Recreate rollout strategy for RWO PVC (DEV-538)
The 7.2.0 -> 7.4.0 rollout stalled because the default RollingUpdate tried to start the new pod before terminating the old one, but they both mount opencloud-data (RWO), causing Multi-Attach errors. Switch to strategy: Recreate so the old pod is terminated first and the volume detaches cleanly before the new pod starts. Same fix pattern as bookstack (DEV-528) and other RWO-backed apps. Co-Authored-By: Paperclip <noreply@paperclip.ing>
This commit is contained in:
parent
0887f87c82
commit
76e250c334
1 changed files with 2 additions and 0 deletions
|
|
@ -42,6 +42,8 @@ metadata:
|
||||||
namespace: opencloud
|
namespace: opencloud
|
||||||
spec:
|
spec:
|
||||||
replicas: 1
|
replicas: 1
|
||||||
|
strategy:
|
||||||
|
type: Recreate
|
||||||
selector:
|
selector:
|
||||||
matchLabels:
|
matchLabels:
|
||||||
app: opencloud
|
app: opencloud
|
||||||
|
|
|
||||||
Loading…
Add table
Reference in a new issue