- Newest
- Most votes
- Most comments
This issue appears to be related to the tag limit on your Application Load Balancer (ALB) rather than the rule limit. AWS has a limit of 50 tags per resource, and it seems you're approaching or have reached this limit.
Here's what's happening:
-
The ALB Ingress Controller is trying to create new rules for your ingress resources.
-
When it attempts to do so, it's also trying to add tags to the ALB, which is causing the operation to fail.
-
The error message "TagLimitExceeded: The resultant tag set must not have more than 50 user tags" indicates that adding the new tags would exceed the 50-tag limit.
-
This is preventing the creation of new rules, even though you're well below the 200-rule limit (you currently have 168 rules).
To resolve this issue, you should:
-
Review the existing tags on your ALB. You mentioned there are 45 tags, which is close to the limit.
-
Identify any unnecessary or outdated tags and remove them. This will free up space for new tags.
-
If possible, consolidate tags to reduce the overall count while maintaining necessary information.
-
If you absolutely need all existing tags, you may need to contact AWS support to request an increase in the tag limit for your ALB.
-
After reducing the number of tags, try redeploying your ingress resources. This should allow the ALB Ingress Controller to create the new rules.
The request ID in the error message (2a1c32a2-4dd9-4759-9064-87e3c43aff02) is generated by AWS when the API call to create the new rules fails. It's useful for tracking the specific request if you need to contact AWS support.
Remember, while you're focusing on rules, the actual bottleneck here is the tag limit. Addressing this should allow new rules to be created successfully.
Sources
Enabling mTLS with ALB in Amazon EKS | Containers
EKS Nodes Fail to Create - but why? It worked yesterday? | AWS re:Post
answered 2 years ago
Relevant content
asked 3 years ago

Tried it but still didn't worked out still the rule not created these are the tags annotation I am using to create my ingress annotations: kubernetes.io/ingress.class: "alb" alb.ingress.kubernetes.io/scheme: internet-facing alb.ingress.kubernetes.io/target-type: alb.ingress.kubernetes.io/group.name: alb.ingress.kubernetes.io/listen-ports: '[{"HTTP": 80}, {"HTTPS": 443}]' alb.ingress.kubernetes.io/certificate-arn: alb.ingress.kubernetes.io/ssl-redirect: '443' alb.ingress.kubernetes.io/healthcheck-port: traffic-port alb.ingress.kubernetes.io/target-group-attributes: stickiness.enabled=true,stickiness.lb_cookie.duration_seconds=60 alb.ingress.kubernetes.io/load-balancer-attributes: deletion_protection.enabled=true alb.ingress.kubernetes.io/load-balancer-attributes: routing.http2.enabled=true alb.ingress.kubernetes.io/target-group-attributes: deregistration_delay.timeout_seconds=30 alb.ingress.kubernetes.io/success-codes: 200,302,301,404