Skip to content

Commit 41b01a5

Browse files
committed
📝 docs: add links and default values for proxy timeout
1 parent 044d125 commit 41b01a5

File tree

1 file changed

+4
-6
lines changed

1 file changed

+4
-6
lines changed

‎docs/user-guide/nginx-configuration/annotations.md

Lines changed: 4 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -700,13 +700,11 @@ In some scenarios is required to have different values. To allow this we provide
700700
- `nginx.ingress.kubernetes.io/proxy-next-upstream-tries`
701701
- `nginx.ingress.kubernetes.io/proxy-request-buffering`
702702

703-
If you indicate [Backend Protocol](#backend-protocol) as `GRPC` or `GRPCS`, the following values will be applied to gRPC connection as well:
703+
If you indicate [Backend Protocol](#backend-protocol) as `GRPC` or `GRPCS`, the following grpc values will be set and inherited from proxy timeouts:
704704

705-
```
706-
grpc_connect_timeout {{ proxy_connect_timeout }}
707-
grpc_send_timeout {{ proxy_send_timeout }}
708-
grpc_read_timeout {{ proxy_read_timeout }}
709-
```
705+
- [`grpc_connect_timeout=5s`](https://nginx.org/en/docs/http/ngx_http_grpc_module.html#grpc_connect_timeout), from `nginx.ingress.kubernetes.io/proxy-connect-timeout`
706+
- [`grpc_send_timeout=60s`](https://nginx.org/en/docs/http/ngx_http_grpc_module.html#grpc_send_timeout), from `nginx.ingress.kubernetes.io/proxy-send-timeout`
707+
- [`grpc_read_timeout=60s`](https://nginx.org/en/docs/http/ngx_http_grpc_module.html#grpc_read_timeout), from `nginx.ingress.kubernetes.io/proxy-read-timeout`
710708

711709
Note: All timeout values are unitless and in seconds e.g. `nginx.ingress.kubernetes.io/proxy-read-timeout: "120"` sets a valid 120 seconds proxy read timeout.
712710

0 commit comments

Comments
 (0)