入口和AWS应用程序负载平衡器

发布于 2025-01-18 11:46:52 字数 239 浏览 2 评论 0原文

是否可以检查 EKS 中创建的入口资源与 AWS 负载均衡器控制器创建的应用程序负载均衡器之间的映射?

我的理解是,AWS LBC 为“alb”类的入口创建了 ALB。删除入口资源后,应删除此 ALB。

但有时这种情况不会发生。可能是因为我搞乱了其他相关资源,例如 statefulset、service 或 pod。 (或者可能是由于重复部署而没有先删除?)

那么有没有办法在AWS中查看入口与其相应的ALB之间的链接?

Is there anyway to inspect the mappings between ingress resources created in EKS and Application Load Balancers created by AWS Load Balancer Controller?

My understanding is that an ALB gets created by AWS LBC for an ingress of class "alb". This ALB should get deleted after the ingress resource is deleted.

But this doesn't happen sometimes. Likely because I messed around with other related resources such as statefulset, service or pod. (or could it be due to repeated deployment without deleting first?)

So is there a way to see the link between an ingress and its corresponding ALB in AWS?

如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

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

发布评论

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

评论(1

假情假意假温柔 2025-01-25 11:46:52

有没有办法查看入口与其相应的ALD之间的链接?

您可以使用此命令在群集中打印为每个入口创建的ALB:kubectl获取入口-All-Namespaces -namespaces-Output JSONPATH ='{range .Items [*]} {@。Metadata.name} { “ \ t”} {@。status.loadbalancer.ingress[0] .hostName} {“ \ n”}'

is there a way to see the link between an ingress and its corresponding ALB in AWS?

You can use this command to print the ALB created for each Ingress in your cluster: kubectl get ingress --all-namespaces --output jsonpath='{range .items[*]}{@.metadata.name}{"\t"}{@.status.loadBalancer.ingress[0].hostname}{"\n"}'

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