Closed
Description
What do you want to happen?
We want to configure the grpc_read_timeout
and grpc_send_timeout
with annotations on ingress.
Since the server-snippet
has some potential risk, we have to migrate all snippets to common annotations.
https://github.com/search?q=repo%3Akubernetes%2Fingress-nginx+path%3A%2F%5Einternal%5C%2Fingress%5C%2Fannotations%5C%2F%2F+parser.AnnotationRiskCritical&type=code
Is there currently another issue associated with this?
#2475, but it's inactive and closed.
Does it require a particular kubernetes version?
No
Solutions
1. Add new annotations, e.g.
...
annotations:
nginx.ingress.kubernetes.io/grpc_read_timeout: 3600
nginx.ingress.kubernetes.io/grpc_send_timeout: 3600
...
2. Set grpc_read_timeout
and grpc_send_timeout
with the same value in proxy_read_timeout
Similar like nginx-ingress-controller, just set grpc with proxy settings by default
Metadata
Metadata
Assignees
Labels
Type
Projects
Status
Done