fix(bookstack): Recreate rollout strategy for RWO PVC (DEV-528) #8

Merged
forgejoadmin merged 1 commit from fix/DEV-528-bookstack-recreate-strategy into main 2026-08-23 12:01:49 +00:00
Owner

Summary

  • BookStack is 1 replica + RWO bookstack-config PVC. Default RollingUpdate deadlocks every rollout on Multi-Attach.
  • Add strategy: Recreate: terminate old pod → PVC detaches → start new pod. Brief downtime, but rollouts finish.
  • Discovered while rolling out the /status probe fix in PR #7.

Refs DEV-528.

## Summary - BookStack is 1 replica + RWO `bookstack-config` PVC. Default RollingUpdate deadlocks every rollout on Multi-Attach. - Add `strategy: Recreate`: terminate old pod → PVC detaches → start new pod. Brief downtime, but rollouts finish. - Discovered while rolling out the `/status` probe fix in PR #7. Refs DEV-528.
forgejoadmin added 1 commit 2026-08-23 12:01:44 +00:00
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>
forgejoadmin merged commit e9fcf4cbb4 into main 2026-08-23 12:01:49 +00:00
forgejoadmin deleted branch fix/DEV-528-bookstack-recreate-strategy 2026-08-23 12:01:49 +00:00
Sign in to join this conversation.
No reviewers
No labels
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference: basicstack/stack.basicstack.de#8
No description provided.