https://rancher.com/ logo
Title
h

hundreds-evening-84071

01/10/2023, 3:06 PM
Hello, In RKE2, I have a deployment and setup an Ingress (nginx). But I am getting
413 Request Entity Too Large
Has anyone else experienced this? How to resolve this?
s

square-monitor-12781

01/10/2023, 6:01 PM
https://github.com/kubernetes/ingress-nginx/issues/4825 TL;DR: Add this to your nginx configmap for a global change
proxy-body-size: 10m
or this annotation to your ingress config
<http://nginx.ingress.kubernetes.io/proxy-body-size|nginx.ingress.kubernetes.io/proxy-body-size>: 10m
or however high you need it to be. Do note that this is not a great security practice in general
h

hundreds-evening-84071

01/10/2023, 10:32 PM
thanks