fix: harden SeaweedFS storage and fix Drive presigned uploads
- SeaweedFS filer: Recreate strategy (prevents LevelDB lock contention), 60s termination grace period, memory 256Mi→2Gi limit - SeaweedFS volume: 60s termination grace period, memory 256Mi→1Gi limit - Drive: add AWS_S3_DOMAIN_REPLACE so presigned upload URLs use s3.sunbeam.pt instead of internal cluster DNS - Drive: relax liveness/readiness probes (failureThreshold 1→3, period 1s→10s, timeout 1s→5s) to prevent crash loops under load
This commit is contained in:
@@ -14,6 +14,7 @@ spec:
|
||||
labels:
|
||||
app: seaweedfs-volume
|
||||
spec:
|
||||
terminationGracePeriodSeconds: 60
|
||||
containers:
|
||||
- name: volume
|
||||
image: chrislusf/seaweedfs:latest
|
||||
@@ -35,9 +36,9 @@ spec:
|
||||
mountPath: /data
|
||||
resources:
|
||||
limits:
|
||||
memory: 256Mi
|
||||
memory: 1Gi
|
||||
requests:
|
||||
memory: 128Mi
|
||||
memory: 256Mi
|
||||
cpu: 50m
|
||||
volumeClaimTemplates:
|
||||
- metadata:
|
||||
|
||||
Reference in New Issue
Block a user