入口和AWS应用程序负载平衡器
是否可以检查 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 技术交流群。

绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(1)
您可以使用此命令在群集中打印为每个入口创建的ALB:
kubectl获取入口-All-Namespaces -namespaces-Output JSONPATH ='{range .Items [*]} {@。Metadata.name} { “ \ t”} {@。status.loadbalancer.ingress[0] .hostName} {“ \ n”}'
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"}'