fix(ocis): resolve large file upload timeouts and enable stale upload cleanup
Increase Traefik readTimeout from 600s to 3600s to prevent connection drops during large uploads, and enable the suspended cleanUpExpiredUploads CronJob so stale TUS sessions are automatically purged.
This commit is contained in:
parent
40a32730c9
commit
9112153e8a
|
|
@ -38,6 +38,9 @@ secretRefs:
|
|||
|
||||
services:
|
||||
storageusers:
|
||||
maintenance:
|
||||
cleanUpExpiredUploads:
|
||||
enabled: true
|
||||
resources:
|
||||
requests:
|
||||
memory: 512Mi
|
||||
|
|
|
|||
|
|
@ -13,12 +13,12 @@ ports:
|
|||
hostPort: 80
|
||||
transport:
|
||||
respondingTimeouts:
|
||||
readTimeout: 600s
|
||||
readTimeout: 3600s
|
||||
websecure:
|
||||
hostPort: 443
|
||||
transport:
|
||||
respondingTimeouts:
|
||||
readTimeout: 600s
|
||||
readTimeout: 3600s
|
||||
metrics:
|
||||
expose:
|
||||
default: true
|
||||
|
|
|
|||
|
|
@ -1,6 +1,6 @@
|
|||
apiVersion: v1
|
||||
data:
|
||||
service-account-id: fb99941b-834f-4274-b9f3-d8cc98056a9a
|
||||
service-account-id: dc1bcd59-afe8-432c-b2c6-bd56fff10cbb
|
||||
kind: ConfigMap
|
||||
metadata:
|
||||
annotations:
|
||||
|
|
|
|||
|
|
@ -1,6 +1,6 @@
|
|||
apiVersion: v1
|
||||
data:
|
||||
application-id: fcb580ce-fc13-462b-b46f-e22fa7444b35
|
||||
application-id: 91d502c3-d090-49a2-989e-7c8e690751d1
|
||||
kind: ConfigMap
|
||||
metadata:
|
||||
annotations:
|
||||
|
|
|
|||
|
|
@ -1,6 +1,6 @@
|
|||
apiVersion: v1
|
||||
data:
|
||||
storage-uuid: fb802673-0d78-4b7d-afa5-4b4538693c85
|
||||
storage-uuid: cf2b3372-ac52-4654-99ae-cf6518b7a75b
|
||||
kind: ConfigMap
|
||||
metadata:
|
||||
annotations:
|
||||
|
|
|
|||
|
|
@ -120,4 +120,4 @@ spec:
|
|||
schedule: 0 * * * *
|
||||
startingDeadlineSeconds: 600
|
||||
successfulJobsHistoryLimit: 3
|
||||
suspend: true
|
||||
suspend: false
|
||||
|
|
|
|||
|
|
@ -44,9 +44,9 @@ spec:
|
|||
- --providers.kubernetesingress
|
||||
- --providers.kubernetesingress.allowEmptyServices=true
|
||||
- --providers.kubernetesingress.ingressendpoint.publishedservice=traefik/traefik
|
||||
- --entryPoints.web.transport.respondingTimeouts.readTimeout=600s
|
||||
- --entryPoints.web.transport.respondingTimeouts.readTimeout=3600s
|
||||
- --entryPoints.websecure.http.tls=true
|
||||
- --entryPoints.websecure.transport.respondingTimeouts.readTimeout=600s
|
||||
- --entryPoints.websecure.transport.respondingTimeouts.readTimeout=3600s
|
||||
- --log.level=INFO
|
||||
env:
|
||||
- name: POD_NAME
|
||||
|
|
|
|||
Loading…
Reference in a new issue