Quantcast
Channel: Error: request entity too large - Stack Overflow
Viewing all articles
Browse latest Browse all 35

Answer by Victor for Error: request entity too large

$
0
0

For anyone getting this error only in Kubernetes (but not locally), you need to add this annotation in the metadata field of the ingress resource:

nginx.ingress.kubernetes.io/proxy-body-size: "0"

"0" means no limit, but you can also specify a fixed limit. Full example:

---apiVersion: networking.k8s.io/v1kind: Ingressmetadata:  name: my-ingress  annotations:    nginx.ingress.kubernetes.io/proxy-body-size: "100m"

Viewing all articles
Browse latest Browse all 35

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>