fix(forgejo): strategy Recreate for RWO data PVC — RollingUpdate deadlocked (new pod Multi-Attach error on the RWO gitea PVC held by the old pod, stuck Init forever)
This commit is contained in:
@@ -1,6 +1,13 @@
|
|||||||
# Forgejo Helm Values — Single Source of Truth
|
# Forgejo Helm Values — Single Source of Truth
|
||||||
# Chart: https://codeberg.org/forgejo-contrib/forgejo-helm
|
# Chart: https://codeberg.org/forgejo-contrib/forgejo-helm
|
||||||
|
|
||||||
|
# Recreate (not RollingUpdate): the gitea data volume is a single RWO PVC. With
|
||||||
|
# RollingUpdate the new pod tries to attach the PVC while the old pod still holds
|
||||||
|
# it -> "Multi-Attach error", new pod stuck Init forever, rollout wedged. Recreate
|
||||||
|
# terminates the old pod first so the PVC detaches before the new one starts.
|
||||||
|
strategy:
|
||||||
|
type: Recreate
|
||||||
|
|
||||||
# Disable bundled dependencies (use external CNPG + Redis instead)
|
# Disable bundled dependencies (use external CNPG + Redis instead)
|
||||||
postgresql-ha:
|
postgresql-ha:
|
||||||
enabled: false
|
enabled: false
|
||||||
|
|||||||
Reference in New Issue
Block a user