Warm tip: This article is reproduced from serverfault.com, please click

google cloud platform-如何确定正在使用的GCP负载均衡器的确切类型?

(google cloud platform - How to determine the exact type of GCP load balancer that is being used?)

发布于 2020-11-30 15:51:04

我在GKE中有一个Nginx实例,默认服务为type: LoadBalancer与下面的此GCP LB文档相比,我如何查看负载均衡器的确切类型?如果这是代理服务器或直通服务器?

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

编辑:示例。我如何确定这两者之间?

TCP代理还是外部网络TCP / UDP?TCP代理是代理,而后者是传递。

Questioner
rubio
Viewed
11
guillaume blaquiere 2020-12-01 04:41:52

使用GKE,根据YAML文件定义(和注释),你可以创建3种类型的负载均衡器

  • 内部TCP / UDP负载平衡器(直通)
  • 外部TCP / UDP负载平衡器(直通)
  • 外部HTTP全局负载均衡器(仅HTTP / HTTPS)

因此,不是TCP代理负载平衡器。

如果需要,请在UI中检查负载均衡器的类型。