[英]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.