可以从Internet连接到Azure Kubernetes群集

发布于 2025-02-13 05:29:00 字数 335 浏览 3 评论 0原文

我为我的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 技术交流群。

扫码二维码加入Web技术交流群

发布评论

需要 登录 才能够评论, 你可以免费 注册 一个本站的账号。

评论(1

似最初 2025-02-20 05:29:00

我删除了AKS群集并重新创建了它。这解决了这个问题,但显然很破坏。

I deleted the AKS cluster and recreated it. this resolved the issue but was obviously very destructive.

~没有更多了~
我们使用 Cookies 和其他技术来定制您的体验包括您的登录状态等。通过阅读我们的 隐私政策 了解更多相关信息。 单击 接受 或继续使用网站,即表示您同意使用 Cookies 和您的相关数据。
原文