Notice: Function _load_textdomain_just_in_time was called incorrectly. Translation loading for the wordfence-login-security domain was triggered too early. This is usually an indicator for some code in the plugin or theme running too early. Translations should be loaded at the init action or later. Please see Debugging in WordPress for more information. (This message was added in version 6.7.0.) in /srv/www/wordpress/wp-includes/functions.php on line 6121

Notice: Function _load_textdomain_just_in_time was called incorrectly. Translation loading for the health-check domain was triggered too early. This is usually an indicator for some code in the plugin or theme running too early. Translations should be loaded at the init action or later. Please see Debugging in WordPress for more information. (This message was added in version 6.7.0.) in /srv/www/wordpress/wp-includes/functions.php on line 6121

Notice: Function _load_textdomain_just_in_time was called incorrectly. Translation loading for the ko-fi-button domain was triggered too early. This is usually an indicator for some code in the plugin or theme running too early. Translations should be loaded at the init action or later. Please see Debugging in WordPress for more information. (This message was added in version 6.7.0.) in /srv/www/wordpress/wp-includes/functions.php on line 6121
Kubernetes Nginx Ingress Controller - Increase Maximum Body Size - ASTRO
white clouds

Kubernetes Nginx Ingress Controller – Increase Maximum Body Size




Introduction

Nginx Ingress Controller is a popular implementation of the Ingress resource in Kubernetes. It is built around the Nginx web server, a high-performance and widely used web server and reverse proxy. The Nginx Ingress Controller extends the functionality of Nginx to efficiently route incoming HTTP and HTTPS traffic to different services within your Kubernetes cluster based on the rules defined in the Ingress resource.

How To

The body size of Nginx Ingress is default to 1M. If you want to increase the body size of files you upload via the Ingress Controller, you need to add an annotation to your ingress config here:

YAML
apiVersion: networking.k8s.io/v1
kind: Ingress
metadata:
  annotations:
    ...
    nginx.ingress.kubernetes.io/proxy-body-size: 8m
    ...
  ...


Leave a Reply

Your email address will not be published. Required fields are marked *