简体   繁体   English

Azure 应用网关如何连接 kubernetes 入口 controller (nginx)

[英]Azure application gateway how to connect with kubernetes ingress controller (nginx)

I have a kubernetes cluster created.我创建了一个 kubernetes 集群。 According to security policies in the company, I need to have first an application gateway WAF in front that hits the cluster (which has a public IP).根据公司的安全策略,我首先需要在前面有一个应用程序网关WAF,它会命中集群(具有公共IP)。 And as an ingress controller for this cluster I need to configure a Nginx ingress controller (also has a public IP).作为该集群的入口 controller,我需要配置一个 Nginx 入口 controller(也有公共 IP)。 How can I connect or point the waf to the ingress controller?如何将 waf 连接或指向入口 controller? Is this possible to be done?这有可能做到吗?

Thanks!谢谢!

Native support for Nginx ingress controller is with a load balancer and not with app gateway.对 Nginx 入口 controller 的本机支持是使用负载均衡器而不是应用程序网关。 One possible approach is to create a nginx ingress controller loadbalancer as private using this link docs .一种可能的方法是使用此链接 文档将 nginx 入口 controller 负载均衡器创建为私有。

Now add this private Ip of load balancer as the backend pool of app gateway and now your app gateway should start serving the traffic from aks cluster.现在添加负载均衡器的私有 Ip 作为应用网关的后端池,现在您的应用网关应该开始为来自 aks 集群的流量提供服务。

The App gateway ingress controller as suggested by another comment is GA now but still is buggy.正如另一条评论所建议的,App 网关入口 controller 现在是 GA,但仍然存在问题。 It takes time to update the backend pools on deploying new pods.在部署新 Pod 时更新后端池需要时间。

暂无
暂无

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

相关问题 用于Azure Kubernetes Service 502错误网关的Nginx入口控制器 - nginx-ingress controller for Azure Kubernetes Service 502 Bad Gateway Kubernetes nginx 入口 controller 坏网关 - Kubernetes nginx ingress controller bad gateway 使用 Azure 在 Kubernetes 中创建 NGINX 入口控制器 - Create an NGINX ingress controller in Kubernetes, using Azure 无法访问Azure上的Kubernetes Nginx入口控制器 - Kubernetes nginx ingress-controller on Azure not reachable Azure Kubernetes Service: using an NGINX ingress controller with a Ocelot-based API gateway - Azure Kubernetes Service: using an NGINX ingress controller with a Ocelot-based API gateway Azure Kubernetes Service (AKS) uses Application Gateway Ingress Controller (AGIC): How to implement HSTS header in ASP.Net Core 6.0? - Azure Kubernetes Service (AKS) uses Application Gateway Ingress Controller (AGIC) : How to implement HSTS header in ASP.Net Core 6.0? Kubernetes nginx-ingress 入口 controller CORS 由应用程序处理 - Kubernetes nginx-ingress ingress controller CORS handled by application 具有外部和内部路径的kubernetes azure应用程序网关入口控制器 - kubernetes azure app gateway ingress controller with external and internal pathing 如何使用 kubeadm 在 EC2 上部署的 Kubernetes 将 AWS 负载均衡器连接到 nginx 入口控制器? - How to connect an AWS Load Balancer to nginx ingress controller with Kubernetes deployed on EC2 with kubeadm? kubernetes nginx 入口控制器错误 - kubernetes nginx ingress controller error
 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM