Nginx Controller on GKE with TCP Load Balance timeout

6/11/2019

I have a nginx ingress controller on GKE, it is behind an TCP LB from GCP. We have some requests that take longer than 30s to process, and the TCP LB seems to be killing the connection with aounrd this timeout (30~35s).

How can I change the LB timeout?

Any other workaround so that the LB does not close the connection would be helpful too. (maybe on nginx to send some packet to keep alive?)

Observation: the HTTP LoadBalancer has this config, I know. But I need it on TCP. In fact, this ingress controller was installed acording to these docs on GCP:

https://cloud.google.com/community/tutorials/nginx-ingress-gke

-- digao_mb
gke-networking
google-cloud-platform
google-kubernetes-engine

0 Answers