可以从Internet连接到Azure Kubernetes群集
我为我的kubernetes服务提供了一个入口 - nginx入口。 如果我从群集内部卷曲外部IP,例如从诸如kubectl之类的吊舱中运行myshell -rm -i -i -tty -tty -image ubuntu -bash
,我得到结果我希望。 如果我从互联网上curl缩,那就淘汰了。有什么问题?
在线资源指出了我检查我的防火墙和NSG设置。我看到我的一个NSG对Ingress-Nginx Ingress选择的IP的明确例外,似乎自动更新。有没有办法查看我的AKS群集和Internet之间是否还有其他防火墙和网络安全组?
此问题从Kubernetes 1.19更新到1.22后开始
I have an ingress-nginx ingress for my Kubernetes service.
If I curl the external IP from inside the cluster, like from a pod such as this kubectl run my-shell --rm -i --tty --image ubuntu -- bash
, I get the result I expect.
If I curl from the internet, It times out. What could be the problem?
Resources online have pointed me to check my firewall and NSG settings. I see one of my NSGs has an explicit exception for the IP chosen by the ingress-nginx ingress, which seems to update automatically. Is there a way to see if there are other firewalls and network security groups between my AKS cluster and the internet?
This problem began after updating from kubernetes 1.19 to 1.22
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(1)
我删除了AKS群集并重新创建了它。这解决了这个问题,但显然很破坏。
I deleted the AKS cluster and recreated it. this resolved the issue but was obviously very destructive.