简体   繁体   English

AKS 和应用程序网关网络设置

[英]AKS and Application Gateway network setup

Our AKS and Application Gateway are in different Vnets.我们的 AKS 和应用程序网关位于不同的 Vnet 中。 From the AGIC documentation, the connection between AKS and Application Gateway is through a route table, as can be seen here AGIC Github .从 AGIC 文档中,AKS 和应用程序网关之间的连接是通过路由表进行的,如AGIC Github 所示

However, we have a requirement that the route table should not exist between these two resources.但是,我们要求这两个资源之间不应该存在路由表。 AKS is using Kubenet and we cannot change it. AKS 正在使用 Kubenet,我们无法更改它。

Is there another way to connect AKS and Application Gateway?还有其他方法可以连接 AKS 和应用程序网关吗? Thanks.谢谢。

To connect AKS and Application Gateway, please try the below:要连接 AKS 和应用程序网关,请尝试以下操作:

You can enable AGIC on existing AKS cluster through Azure portal:您可以通过 Azure 门户在现有 AKS 群集上启用 AGIC:

Enable the Application Gateway ingress controller and add the created application gateway like below:启用应用程序网关入口controller 并添加创建的应用程序网关,如下所示:

在此处输入图像描述

If the above suggestion doesn't work in your scenario, then please refer the below links:如果上述建议在您的情况下不起作用,请参考以下链接:

Managing traffic to AKS through Azure Application Gateway using Application gateway Ingress Controller by SUDHAKARA RAO SAJJA 通过 Azure 应用程序网关使用应用程序网关入口 Controller 通过 SUDHAKARA RAO SAJJA 管理到 AKS 的流量

Enable ingress controller add-on for existing AKS cluster with existing Azure application gateway | 使用现有 Azure 应用程序网关为现有 AKS 集群启用入口 controller 附加组件 | Microsoft Docs 微软文档

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

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