I am creating a new Service of Type Load Balancer in google cloud.
As we can specify the connection idle timeout for AWS or azure by providing the annotation in metadata in service.yaml.
What is the similar annotation for the google cloud?
service.kubernetes.io/aws-load-balancer-connection-idle-timeout: "500"
There is no possibility to configure the idle connection timeout
for a service type of LoadBalancer
in GKE
.
Google Cloud external TCP/UDP Network Load Balancing (after this referred to as Network Load Balancing) is a regional, non-proxied load balancer.
As said above, the network load balancer does not perform any type of modifications on the path as it's not a proxy but a forwarding rule. It does not provide any timeout facility.
If you are having issues with idle connections
please check whole route that the traffic is taking to pinpoint where the issue could lie.
Please take a look on additional documentation: