title: How to set Service Load Balancer request timeouts on GKE
body: <p>I have a Service on GKE of type LoadBalancer that points to a GKE deployment running nginx. My nginx has all of the timeouts set to 10 minutes, yet HTTP/HTTPS requests that have to wait on processing before receiving a response get cutoff with 500 errors after 30 seconds. My settings:</p>
  
  <pre><code>http {
      proxy_read_timeout 600s;
      proxy_connect_timeout 600s;
      keepalive_timeout 600s;
      send_timeout 600s;
  }
  </code></pre>
  
  <p>Apparently there are default settings of 30 seconds in the LoadBalancer somewhere.</p>
  
  <p>After pouring through documentation, I've only found a step-through at Google that outlines setting an Ingress with back-end service Load Balancer with a timeout but can't find how to do that on a Service that's Type=LoadBalancer for use with GKE. I've also reviewed all of the Kubernetes documentation for versions 1.7+ (we're on 1.8.7-gke.1) and nothing about setting a timeout. Is there a setting I can add to my yaml file to do this?</p>
  
  <p>If it helps I found the following for AWS, which appears to be what I would need to have on GKE:</p>
  
  <pre><code>  annotations:
      service.beta.kubernetes.io/aws-load-balancer-connection-idle-timeout: "60"
  </code></pre>