title: Apply annotations for load balancer on GCP for source IP firewall rules on GKE
body: <p>I want to install <code>jenkins</code> using its official helm <a href="https://github.com/helm/charts/tree/master/stable/jenkins" rel="nofollow noreferrer">chart</a> on GKE.</p>
  
  <p>I want to expose the agent service (port 50000) using LoadBalancer (will be hitting it from some remote agents).</p>
  
  <p>Will <a href="https://github.com/helm/charts/blob/master/stable/jenkins/values.yaml#L194" rel="nofollow noreferrer">this</a> annotation</p>
  
  <pre><code>service.beta.kubernetes.io/load-balancer-source-ranges: "172.0.0.0/8, 10.0.0.0/8"
  </code></pre>
  
  <p>also help secure a GCP load balancer, or is it only applicable on AWS?</p>
  
  <p>Will the agents initiated internally in GKE still have to pass through the internet to reach the service, or will they be routed internally to the corresponding agent service?</p>