fix(infra): gitea mem limit 512Mi->2Gi + Recreate strategy (Phase 2B)
- 2Gi: indexing the 876MB foxhunt pack OOMKilled at 512Mi (exit 137) - Recreate: RWO PVC (sbs-default-retain) can't RollingUpdate (Multi-Attach deadlock)
This commit is contained in:
@@ -4,6 +4,11 @@ replicaCount: 1
|
||||
image:
|
||||
rootless: true
|
||||
|
||||
# RWO PVC (sbs-default-retain) → only one pod can mount it. RollingUpdate deadlocks (new pod can't
|
||||
# attach while old holds it). Recreate terminates old before starting new.
|
||||
strategy:
|
||||
type: Recreate
|
||||
|
||||
# Disable all bundled subcharts — reuse the existing in-cluster postgres, no redis/memcached.
|
||||
postgresql:
|
||||
enabled: false
|
||||
@@ -25,8 +30,8 @@ persistence:
|
||||
storageClass: sbs-default-retain
|
||||
|
||||
resources:
|
||||
requests: { cpu: 100m, memory: 128Mi }
|
||||
limits: { cpu: "1", memory: 512Mi }
|
||||
requests: { cpu: 100m, memory: 256Mi }
|
||||
limits: { cpu: "1", memory: 2Gi } # 2Gi headroom: indexing the 876MB foxhunt pack OOMed at 512Mi
|
||||
|
||||
service:
|
||||
http: { type: ClusterIP, port: 3000 }
|
||||
|
||||
Reference in New Issue
Block a user