Reputation: 3631
I have deployed an AWS ALB Controller and I create listeners with ingress resources in a EKS cluster.
The steps I followed are the following:
first-test-api
and all where finefirst
] with just renaming the chart from test-api
to main-api
. So now is first-main-api
.test-api.mydomain.com
listener in the AWS ALB is stuck to the old serviceHas anyone encounter such a thing before?
I could delete the listener manually, but I don't want to. I'd like to know what is happening and why it didn't happened automatically :)
EDIT:
The ingress had an ALB annotation that enabled the deletion protection.
Upvotes: 3
Views: 2090
Reputation: 1468
I will provide some generic advice on things I would look at, but it might be better to detail a small example.
Yes, ALB controller should automatically manage changes on the backend.
I would suggest ignoring the helm chart and looking into the actual objects:
kubectl get ing -n <namespace>
shows the ingress you are expecting?kubectl get ing -n <ns> <name of ingress> -o yaml
points to the correct/new service?kubectl get svc -n <ns> <name of new svc>
shows the new service?kubectl get endpoints -n <ns> <name of new svc>
shows the pod you are expecting?And then gut feeling.
Happy to modify the answer if you expand the question with more details.
Upvotes: 2