<p>I have deployed an AWS ALB Controller and I create listeners with ingress resources in a EKS cluster.</p>
<p>The steps I followed are the following:</p>
<ul>
<li>I had an ingress for a service named <code>first-test-api</code> and all where fine</li>
<li>I deploy a new Helm release [<code>first</code>] with just renaming the chart from <code>test-api</code> to <code>main-api</code>. So now is <code>first-main-api</code>.</li>
<li>Noting seems to break in terms of k8s resources , but...</li>
<li>the <code>test-api.mydomain.com</code> listener in the AWS ALB is stuck to the old service</li>
</ul>
<p>Has anyone encounter such a thing before?</p>
<p>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 :)</p>
<p>EDIT:</p>
<p>The ingress had an ALB annotation that enabled the deletion protection.</p>

Kostas Demiris
<p>I will provide some generic advice on things I would look at, but it might be better to detail a small example.</p>
<p>Yes, ALB controller should automatically manage changes on the backend.</p>
<p>I would suggest ignoring the helm chart and looking into the actual objects:</p>
<ul>
<li><code>kubectl get ing -n &lt;namespace&gt;</code> shows the ingress you are expecting?</li>
<li><code>kubectl get ing -n &lt;ns&gt; &lt;name of ingress&gt; -o yaml</code> points to the correct/new service?</li>
<li><code>kubectl get svc -n &lt;ns&gt; &lt;name of new svc&gt;</code> shows the new service?</li>
<li><code>kubectl get endpoints -n &lt;ns&gt; &lt;name of new svc&gt;</code> shows the pod you are expecting?</li>
</ul>
<p>And then gut feeling.</p>
<ol>
<li>Check the labels in your new service are differents from the labels in the old service if you expect to both services serve different things.</li>
<li>Get the logs of the ALB controller. You will see registering/deregistering stuff. Sometimes errors. Especially if the role the node/service account doesn't have the proper IAM permissions.</li>
</ol>
<p>Happy to modify the answer if you expand the question with more details.</p>
