Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[BGD-4953] increase nginx body size limit #192

Merged
merged 1 commit into from
Mar 27, 2024

Conversation

epignot
Copy link
Contributor

@epignot epignot commented Mar 26, 2024

Jira Ticket

https://spotinst.atlassian.net/browse/BGD-4953

Demo

This is recording of a 7.4MB file upload to my workspace.
workspace is running on my cluster manu-dev-3 on which I patch the bigdata-proxy ingress conf adding:

nginx.ingress.kubernetes.io/proxy-body-size: 2M
Screen.Recording.2024-03-26.at.18.16.24.mov

Ingress conf :
Screenshot 2024-03-26 at 18 20 45

CP ingress was running with charts from this PR : spotinst/bigdata-internal-charts#392

Why

When uploading files from JupyterLab, the chunks sometimes are bigger than the expected 1MB.
Nginx returns a 413 Payload too large in those cases

What

This increase the limit to 2MB, it should be enough. Same change will be done in CP ingress

when uploading files from JupyterLab, the chunks sometimes are bigger
than the expected 1MB.
This increase the limit to 2MB, it should be enough.
Same change will be done in CP ingress
@epignot epignot requested a review from a team as a code owner March 26, 2024 17:10
@epignot epignot changed the title increase nginx body size limit [BGD-4953] increase nginx body size limit Mar 26, 2024
@epignot epignot merged commit 79c9fe2 into main Mar 27, 2024
1 check passed
@epignot epignot deleted the bgd-4953-nginx-body-size-limit branch March 27, 2024 08:39
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