ops(gitea): Recreate strategy to avoid RWO upgrade deadlock
Bumped gitea helm chart 12.4.0->12.6.0 (app 1.24.6->1.26.1). The chart default RollingUpdate (maxSurge 100%/maxUnavailable 0) surges a second pod that can't mount the single RWO NFS PVC, deadlocking 'helm upgrade --wait'. Recreate avoids it. Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
This commit is contained in:
@@ -4,6 +4,12 @@
|
||||
# Single replica for homelab
|
||||
replicaCount: 1
|
||||
|
||||
# Gitea data lives on a single RWO NFS PVC, so two pods can't run at once.
|
||||
# The chart default (RollingUpdate maxSurge 100%/maxUnavailable 0) surges a
|
||||
# second pod and deadlocks on upgrade -- use Recreate instead.
|
||||
strategy:
|
||||
type: Recreate
|
||||
|
||||
# Service configuration - LoadBalancer for direct access
|
||||
service:
|
||||
http:
|
||||
|
||||
Reference in New Issue
Block a user