You can configure the Front end idle timeout field in the Networking pane of the VMware Tanzu Application Service for VMs (TAS for VMs) tile.
You can use the Front end idle timeout field if you want to prevent connections from your load balancer to the Gorouter from being closed prematurely. The value you enter sets the duration, in seconds, that the Gorouter maintains an idle open connection from a load balancer that supports keep-alive.
As a general rule, set the value higher than your load balancer’s back end idle timeout to avoid the race condition in which the load balancer sends a request before it discovers that the Gorouter has closed the connection.
For specific guidance and exceptions to this rule, see the table below:
IaaS | Guidance |
---|---|
AWS | AWS ELB has a default timeout of 60 seconds, so VMware recommends a value greater than 60 . |
Azure | By default, Azure load balancer times out at 240 seconds without sending a TCP RST to clients, so as an exception, VMware recommends a value lower than 240 to force the load balancer to send the TCP RST. |
GCP | GCP has a default timeout of 600 seconds. For GCP HTTP load balancers, VMware recommends a value greater than 600 . For GCP TCP load balancers, VMware recommends a value less than 600 to force the load balancer to send a TCP RST. |
Other | Set the timeout value to be greater than that of the load balancer’s back end idle timeout. |