更新TCP负载平衡到GCP上的HTTP负载平衡
我在Google Cloud Plataform上使用Kubernetes群集,我想将负载平衡器从“ TCP负载平衡”更改为“ HTTP(S)负载平衡”(第7层)。
当前,有关“ TCP负载平衡”的配置为:
用于部署nginx并自动创建加载平衡器,我使用indress-nginx图表( https://github.com/kubernetes/ingress-nginx )。我一直在检查文档,但还没有找到更改负载平衡器层的配置。
我是GCP负载平衡器的初学者。谁能帮助入门?请,如果需要更多信息,我将提供。
I use kubernetes cluster on Google Cloud Plataform and I want to change my load balancer from "TCP load balancing" to "HTTP(S) load balancing" (layer 7).
Currently the configuration about "TCP load balancing" is:
For deploy NGINX and create automatically the load balancer, I use the ingress-nginx chart (https://github.com/kubernetes/ingress-nginx). I've been checking the documentation and haven't found the config for change load balancer layer.
I'm a beginner in GCP load balancer. Can anyone help with getting started? Please, if more information is needed, I will provide it.
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(1)
您必须切换负载平衡的方式。我们不会从GCP UI更改负载平衡器类型。因此,您应该创建新的GKE资源。根据您的情况,您必须使用入口资源使外部HTTPS负载平衡。
检查以下文档有关更多信息。
You have to switch the way you’re load balancing. We don't change the load balancer type from the GCP UI. So you should create new gke resources. As per your case you would have to use an ingress resource to have external https load balancing.
Check the following Document for more information.