nginx.ingress.kubernetes.io/proxy-read-timeout: "120"
sets a valid 120 seconds proxy read timeout.
For an explanation of these values:
Annotation | Description |
---|---|
nginx.ingress.kubernetes.io/proxy-connect-timeout | The timeout for NGINX to establish a connection with your application. |
nginx.ingress.kubernetes.io/proxy-send-timeout | The timeout for NGINX to transmit a request to your application. |
nginx.ingress.kubernetes.io/proxy-read-timeout | The timeout for NGINX to read a response from your application. |
proxy-connect-timeout <= proxy-send-timeout <= proxy-read-timeout
.
413 Request Entity Too Large
errors, you can increase the maximum size of the client request by setting the field client_max_body_size. You can do this by adding the following annotation:
1k
):