Search code examples
google-cloud-platformload-balancing

How to determine the exact type of GCP load balancer that is being used?


I have a nginx instance in GKE with a default service with type: LoadBalancer. How can I view the exact type of load balancer it is in comparison to this GCP LB doc below? And if this is a Proxy or Passthrough?

https://cloud.google.com/load-balancing/docs/choosing-load-balancer#summary-of-google-cloud-load-balancers

Edit: Exampple.. How do i determine between these two?

TCP Proxy or External network TCP/UDP? TCP Proxy is a proxy and the latter is the passthrough.


Solution

  • With GKE, according with the YAML file definition (and annotations) you can create 3 types of load balancer

    • Internal TCP/UDP load balancer (passthrough)
    • External TCP/UDP load balancer (passthrough)
    • External HTTP global load balancer (HTTP/HTTPS only)

    So, not TCP proxy load balancer.

    Check the type of load balancer in the UI if you want.