Skip to content

Commit 355fd1d

Browse files
committed
feat(seaweedfs): add timeout and buffering annotations to tenant ingress
Align tenant SeaweedFS S3 ingress annotations with system configuration by adding proxy buffering, request buffering, and timeout settings. This ensures consistent handling of large file uploads and prevents connection timeout issues for tenant buckets. Changes: - Add proxy-buffering and proxy-request-buffering annotations - Add proxy-read-timeout, proxy-send-timeout timeouts (3600s) - Add client-body-timeout and client-header-timeout settings - Add service-upstream annotation for load balancing Signed-off-by: IvanHunters <[email protected]>
1 parent 36814f6 commit 355fd1d

1 file changed

Lines changed: 7 additions & 0 deletions

File tree

‎packages/extra/seaweedfs/templates/seaweedfs.yaml‎

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -244,7 +244,14 @@ spec:
244244
# This prevents issues with large file uploads and reduces support load.
245245
# For files >5GB, clients must use S3 multipart upload API.
246246
nginx.ingress.kubernetes.io/proxy-body-size: "5g"
247+
nginx.ingress.kubernetes.io/proxy-buffering: "off"
248+
nginx.ingress.kubernetes.io/proxy-request-buffering: "off"
247249
nginx.ingress.kubernetes.io/backend-protocol: "HTTPS"
250+
nginx.ingress.kubernetes.io/proxy-read-timeout: "3600"
251+
nginx.ingress.kubernetes.io/proxy-send-timeout: "3600"
252+
nginx.ingress.kubernetes.io/client-body-timeout: "3600"
253+
nginx.ingress.kubernetes.io/client-header-timeout: "120"
254+
nginx.ingress.kubernetes.io/service-upstream: "true"
248255
{{- if eq $solver "http01" }}
249256
acme.cert-manager.io/http01-ingress-class: {{ $ingress }}
250257
{{- end }}

0 commit comments

Comments
 (0)