-
Notifications
You must be signed in to change notification settings - Fork 15
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
When exposing Nexus via NGINX Ingress on Kubernetes, users might see 413 request entity too large error #129
Comments
@Kaitou786 FYI |
@ricardozanini I think we can have a small section in README about it. As this would highly depend which kind of ingress-controller was used. The above solution works with ingress nginx which is easily integrated with Minikube but not with other controllers. The data needs to be added in the configMap for the ingress controller which is end-user responsibility and choice and not the ingress object (I think beyond our scope). For the ingress controller deployed on Minikube they attach a configMap with it in the |
Have you managed to fix this error in your environment? Agreed to add a section in the README. The NGINX Ingress is the most common used on Kubernetes clusters, but not the only one, we can't cover all the scenarios. On the other hand, we can add a flag to the Networking interface for users to opt-in to use/indicate NGINX controller. I'll figure this out. We might be able to discover which Ingress type is being used and add this CM for users. |
Yes, I just tried adding this info in the configMap and it worked in my enviornment =D. Need to check if there is option to have no limit when uploading the file. I tried with 500m it didn't work so I gave 1500m and it started working |
You might have to use Perfect, then I'll add the CM if the Ingress is bound to a NGINX server. |
Great! |
@Kaitou786 I'm considering to close this issue since it's a NGINX Ingress specific configuration, also the deployed CM on |
Yes,the configuration was added to the CM that was created by the add-on in minikube. i just edited that to add the data field |
Ok, I'll close this one then. |
Is your feature request related to a problem? Please describe.
When users deploy Nexus and try to
mvn:deploy
, a 413 error might happen since the default NGINX Ingress is not correctly configured. Would be nice to deploy a ConfigMap with it to address this problem and let users to adjust the request size as their needs. Example:Describe the solution you'd like
Add a ConfigMap to address this problem, the configuration should not be modified/reconciled by the Operator
Describe alternatives you've considered
A workaround is to use NodePort instead or create a custom Ingress instead.
Additional context
Might be related: kubernetes/ingress-nginx#4825
The text was updated successfully, but these errors were encountered: