When you upload a file to a web application running under Kubernetes Ingress,
you might encounter a
413 Payload Too Large
error.
In such cases, you should modify the Ingress settings as follows:
apiVersion: extensions/v1beta1
kind: Ingress
metadata:
name: torico-tools-ingress
namespace: torico
annotations:
# Against http413
nginx.ingress.kubernetes.io/proxy-body-size: "0"
If you want to completely ignore the size limit, set nginx.ingress.kubernetes.io/proxy-body-size: "0"
Reference: https://imti.co/413-request-entity-too-large/ (Note: The hero image on the site might be a bit graphic)
Comments