Skip to content

310364 - Raise api-gateway ingress body size to 11g and timeouts to 3600s (sandbox, prod) - #13

Open
adouladiris-ed wants to merge 1 commit into
sotav-NKPfrom
feature/#310364_WFD-ProtectedArea-Import-reference-tables-in-sandbox
Open

adouladiris-ed wants to merge 1 commit into
sotav-NKPfrom
feature/#310364_WFD-ProtectedArea-Import-reference-tables-in-sandbox

Conversation

@adouladiris-ed

Copy link
Copy Markdown

Summary

FME uploads of reference tables larger than 100 MB to the sandbox API were rejected with HTTP 413. This raises the ingress-apigateway upload limit and timeouts in git to match the values now live on sandbox and production.

Root cause

The sandbox ingress-apigateway had nginx.ingress.kubernetes.io/proxy-body-size: "100m". The ingress-nginx controller rejected larger requests immediately with 413, so the upload never reached the dataset service and no import job was created. Production worked because its live ingress had been changed by hand to 11g with 3600 s timeouts.

Changes

  • NKP/traefik/rn3-staging-nkp-nginx-svc-master.yaml (ingress-apigateway):
    • proxy-body-size: 100m → 11g
    • added proxy-send-timeout: "3600" and proxy-read-timeout: "3600"
  • NKP/traefik/rn3-prod-nkp-nginx-svc-apigateway.yaml: same values, to match live production.

Tests

  • Reproduced on a 100m ingress: a 157 MB upload returned 413; a 90 MB upload was accepted.

This branch has not been deployed

No deployments
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants