fix(bookstack): use Recreate rollout strategy (DEV-528)
BookStack is a single-replica Deployment backed by a ReadWriteOnce PVC (`bookstack-config`). The default RollingUpdate strategy creates the new pod before terminating the old one, and the two pods cannot share the RWO volume — so every rollout deadlocks on `Multi-Attach error for volume`. Switching to `strategy: Recreate` terminates the old pod first, releases the PVC, and then starts the new pod. Brief downtime is expected on rollout, but rollouts actually complete. Discovered while rolling out the `/status` probe fix (previous commit). Co-Authored-By: Paperclip <noreply@paperclip.ing>
This commit is contained in:
parent
862dbbf203
commit
e155ab6a17
1 changed files with 2 additions and 0 deletions
|
|
@ -100,6 +100,8 @@ metadata:
|
||||||
namespace: bookstack
|
namespace: bookstack
|
||||||
spec:
|
spec:
|
||||||
replicas: 1
|
replicas: 1
|
||||||
|
strategy:
|
||||||
|
type: Recreate
|
||||||
selector:
|
selector:
|
||||||
matchLabels:
|
matchLabels:
|
||||||
app: bookstack
|
app: bookstack
|
||||||
|
|
|
||||||
Loading…
Add table
Reference in a new issue