Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

ALB not deleted after changing group.name #3891

Open
ecerulm opened this issue Oct 15, 2024 · 1 comment
Open

ALB not deleted after changing group.name #3891

ecerulm opened this issue Oct 15, 2024 · 1 comment

Comments

@ecerulm
Copy link

ecerulm commented Oct 15, 2024

Describe the bug

aws-load-balancer-controller 2.7.1

I had an ingress that did not have any alb.ingress.kubernetes.io/group.name annotation.
I add the alb.ingress.kubernetes.io/group.name annotation to the Ingress.
A new ALB is created.
The old ALB is not deleted.

I though the

If an IngressGroup no longer contains any Ingresses, the ALB for that IngressGroup will be deleted and any deletion protection of that ALB will be ignored.

meant that the "implicit IngressGroup" that existed before will be deleted now that it's empy.

Steps to reproduce

Expected outcome

The old ALB should be deleted.

Environment

  • AWS Load Balancer controller version: 2.7.1
  • Kubernetes version: 1.29
  • Using EKS (yes/no), if so version? eks 1.29

Additional Context:

@ecerulm
Copy link
Author

ecerulm commented Oct 15, 2024

The tags on the "old" ALB

Key Value
elbv2.k8s.aws/cluster XXXX
ingress.k8s.aws/resource LoadBalancer
ingress.k8s.aws/stack airflow/airflow-ingress
Name airflow-webserver

The tags on the "new" (group.name) ALB:

Key Value
elbv2.k8s.aws/cluster XXXX
ingress.k8s.aws/resource LoadBalancer
ingress.k8s.aws/stack thegroupname
Name airflow-webserver

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant