From e155ab6a1705fab607415563ab5ab6f3de5ba5c2 Mon Sep 17 00:00:00 2001 From: cto-agent Date: Sun, 23 Aug 2026 12:01:35 +0000 Subject: [PATCH] fix(bookstack): use Recreate rollout strategy (DEV-528) MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit 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 --- apps/bookstack/bookstack-deployment.yaml | 2 ++ 1 file changed, 2 insertions(+) diff --git a/apps/bookstack/bookstack-deployment.yaml b/apps/bookstack/bookstack-deployment.yaml index 4cedf3d..c5f5653 100644 --- a/apps/bookstack/bookstack-deployment.yaml +++ b/apps/bookstack/bookstack-deployment.yaml @@ -100,6 +100,8 @@ metadata: namespace: bookstack spec: replicas: 1 + strategy: + type: Recreate selector: matchLabels: app: bookstack