gRPC stream is closed after 60 seconds of idle even with timeout annotations set #12434
Labels
kind/bug
Categorizes issue or PR as related to a bug.
needs-triage
Indicates an issue or PR lacks a `triage/foo` label and requires one.
priority/backlog
Higher priority than priority/awaiting-more-evidence.
triage/needs-information
Indicates an issue needs more information in order to work on it.
What happened:
The gRPC bi-directional stream is interrupted after 60 of idle even after necessary annotations are set.
Annotations:
I verified that these values are set correctly by execing into the pod and checking
nginx.conf
directly:However, the bi-directional stream between the server and the agent is still closed after 60 seconds.
What you expected to happen:
I expected the stream to be closed after 5 minutes.
I think the default value of 60s is used whenever annotation values are greater than 60s. If I set these 3 annotations to a value less than 60, then the timeout is applied properly. For instance, I set it to "10" and the stream was interrupted after 10 seconds of idle.
NGINX Ingress controller version (exec into the pod and run
/nginx-ingress-controller --version
):Kubernetes version (use
kubectl version
):v1.29.10
Environment:
Cloud provider or hardware configuration: Managed AKS
OS (e.g. from /etc/os-release):
Kernel (e.g.
uname -a
):Install tools:
Basic cluster related info:
How was the ingress-nginx-controller installed:
kubectl describe ...
of any custom configmap(s) created and in useHow to reproduce this issue:
Anything else we need to know:
The text was updated successfully, but these errors were encountered: