kubernetes-sigs / aws-load-balancer-controller

A Kubernetes controller for Elastic Load Balancers
https://kubernetes-sigs.github.io/aws-load-balancer-controller/
Apache License 2.0
3.93k stars 1.46k forks source link

Failed deploy model due to DuplicateLoadBalancerName #3104

Closed bjosafa closed 1 year ago

bjosafa commented 1 year ago

ALB is not receiving updates It seems the controller is trying to create a new ALB instead of updating the existing one, therefore the ingresses are not being updated.

Error message in controller logs {"level":"error","ts":1678710164.015757,"logger":"controller.ingress","msg":"Reconciler error","name":"#######","namespace":"#######","error":"DuplicateLoadBalancerName: A load balancer with the same name '#######' exists, but with different settings\n\tstatus code: 400, request id: 8bbf83eb-f793-4080-805e-2e86eb813604"}

Expected outcome The controller should update the ingresses with new configs.

Environment

Additional Context: It was working properly in k8s v1.24

bjosafa commented 1 year ago

I just removed all previous settings and set up it again following https://docs.aws.amazon.com/eks/latest/userguide/aws-load-balancer-controller.html and now it is working.