k8s nginx-ingress 上传大小限制问题配置

官方源码 https://github.com/nginxinc/kubernetes-ingress

官方 ConfigMap 配置

https://docs.nginx.com/nginx-ingress-controller/configuration/global-configuration/configmap-resource/

官方 Annotations

https://docs.nginx.com/nginx-ingress-controller/configuration/ingress-resources/advanced-configuration-with-annotations/

k8s nginx-ingress-controller Failed to upload report

413 Request Entity Too Large

上传大小限制问题

解决方式:
在 Ingress YAML 中加入 nginx.org/client-max-body-size: "20m" 即可解决

kind: Ingress
metadata:
  annotations:
    nginx.org/client-max-body-size: "20m"
©️2020 CSDN 皮肤主题: 大白 设计师:CSDN官方博客 返回首页