【Kubernetes】IngressNginxを使っているときに413 Too Large Requestが出る。

デフォルトだと、8MBになっている模様。
nginx.confのclient-max-body-sizeに対応している。
1 2 |
annotations: nginx.ingress.kubernetes.io/proxy-body-size: "20048M" |
参考
https://kubernetes.github.io/ingress-nginx/user-guide/nginx-configuration/annotations/