简体   繁体   English

如何在 Azure 上为 istio 1.5.1 部署第二个负载均衡器

[英]How to deploy a second Load Balancer for istio 1.5.1 on Azure

I would need to deploy a second Azure Load Balancer for ingress gateway of an app (to be separated from the main Load Balancer deployed in the istio's default profile).我需要为应用程序的入口网关部署第二个 Azure 负载均衡器(与部署在 istio 默认配置文件中的主负载均衡器分开)。

I have tried the suggestions on GitHub ( https://github.com/istio/istio/issues/19263 ).我已经尝试过有关 GitHub ( https://github.com/istio/istio/issues/19263 ) 的建议。 However, the result was actually an additonal Frontend IP Configuration for the main Load Balancer, and not an additional Load Balancer.但是,结果实际上是主负载均衡器的附加前端 IP 配置,而不是附加负载均衡器。 This ends up with "ERR_SSL_PROTOCOL_ERROR" error (if curl is used: error:1408F10B:SSL routines:ssl3_get_record:wrong version number), if the same port 443 is used in both istio ingress gateways.这最终会出现“ERR_SSL_PROTOCOL_ERROR”错误(如果使用 curl:错误:1408F10B:SSL 例程:ssl3_get_record:wrong version number),如果在两个 isio 网关中使用相同的端口 443

istio version: 1.5.1 istio 版本:1.5.1

Any suggestions on how to deploy an additional Load Balancer for the second ingress gateway?关于如何为第二个入口网关部署额外的负载均衡器的任何建议? Thanks谢谢

This is a tricky configuration as it needs to have an entire new second istio ingress gateway (not just a gateway object).这是一个棘手的配置,因为它需要有一个全新的第二个 istio 入口网关(不仅仅是一个网关对象)。 There is an article about this here . 这里有一篇关于这个的文章。

This approach creates new HorizontalPodAutoscaler , Deployment , Gateway , PodDisruptionBudget , Service , ServiceAccount for the second istio ingress gateway based on the default configuration.这种方法基于默认配置为第二个 istio 入口网关创建新的 Horizo HorizontalPodAutoscalerDeploymentGatewayPodDisruptionBudgetServiceServiceAccount

After modifying all the names labels You can kubectl apply the manifest to Your istio cluster.修改所有名称标签后,您可以kubectl apply清单应用到您的 istio 集群。 As for the Loadbalancer, new one will be attached to new istio-ingress gateway automatically.至于负载均衡器,新的将自动附加到新的 istio-ingress 网关。

Hope it helps.希望能帮助到你。

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM