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

Allow tagging target groups separately from ALB #3899

Open
jan-ludvik opened this issue Oct 17, 2024 · 1 comment
Open

Allow tagging target groups separately from ALB #3899

jan-ludvik opened this issue Oct 17, 2024 · 1 comment

Comments

@jan-ludvik
Copy link

Is your feature request related to a problem?
We have one ALB that combines many ingresses. I want to tag target groups with service tags, something like service=foo. I tried using alb.ingress.kubernetes.io/tags annotation but that doesn't work as controller will try to merge all these different service tags and fail. I think that's understandable for ALB itself but target group could still be tagged.

Describe the solution you'd like
A description of what you want to happen.
Ability to specify tags for target groups.

Describe alternatives you've considered
A description of any alternative solutions or features you've considered.
Lambda copying tags from ingress.k8s.aws/resource (which does have service name in it) to service tag and stripping extra parts of the string.
I want to use this in datadog to filter target groups by service but unfortunately datadog doesn't allow wildcards in dashboard variables. Even then tags on target groups seem reasonable to me.

@IuryAlves
Copy link

I am also experiencing this same problem.

The docs says that the tags are added to the TargetGroups, but it doesn't:

alb.ingress.kubernetes.io/tags specifies additional tags that will be applied to AWS resources created. In case of target group, the controller will merge the tags from the ingress and the backend service giving precedence to the values specified on the service when there is conflict.

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

2 participants