I'm encountering an issue with my EKS cluster (v1.24) where I can't deploy a model due to a "Failed to wait for targetGroupBinding deletion: timed out waiting for the condition" error with the alb Ingress. I've checked everything and it seems fine. I've also tried cleaning up all the resources and recreating the ALB, but the issue persists.
I'm attaching the ingress file as well as the ALB controller(v2.6.0) logs.
"level":"info","ts":"2024-04-07T10:00:58Z","msg":"registering targets","arn":"arn:aws:elasticloadbalancing:eu-west-1xyz:targetgroup/k8s-xyz7e12680983/4065bcfa","targets":[{"AvailabilityZone":null,"Id":"10.100.x.x","Port":8080}]} {"level":"info","ts":"2024-04-07T10:00:58Z","msg":"registered targets","arn":"arn:aws:elasticloadbalancing:eu-west-1:xyz:targetgroup/k8s-xyz-7e12680983/4065bc"} {"level":"error","ts":"2024-04-07T10:01:54Z","msg":"Reconciler error","controller":"ingress","object":{"name":"xyz-team"},"namespace":"","name":"zyx-team","reconcileID":"b1b30fe0-97b9-40c3-af0c-1cd9c528b93a","error":"failed to wait targetGroupBinding deletion: timed out waiting for the condition"} {"level":"error","ts":"2024-04-07T10:01:57Z","msg":"Reconciler error","controller":"ingress","object":{"name":"zyx-team"},"namespace":"","name":"xyz-team","reconcileID":"939adf25-d067-438b-a517-1949f4ebb996","error":"failed to wait targetGroupBinding deletion: timed out waiting for the condition"}
apiVersion: networking.k8s.io/v1
kind: Ingress
metadata:
annotations:
alb.ingress.kubernetes.io/group.name: team
alb.ingress.kubernetes.io/healthcheck-path: /status
alb.ingress.kubernetes.io/inbound-cidrs: >-
185.0.0.0/32
alb.ingress.kubernetes.io/listen-ports: '[{"HTTP": 80},{"HTTPS": 443}]'
alb.ingress.kubernetes.io/scheme: internet-facing
alb.ingress.kubernetes.io/ssl-redirect: '443'
alb.ingress.kubernetes.io/target-type: ip
labels:
app: test-app
app.kubernetes.io/managed-by: Helm
argocd.argoproj.io/instance: test-app
helm.sh/chart: base-1.0.47
ingressType: alb
release: test-app
name: test-app.dev.xyz.com
namespace: test-app
spec:
ingressClassName: alb
rules:
- host: test-app.dev.xyz.com
http:
paths:
- backend:
service:
name: test-app.dev
port:
number: 8080
path: /*
pathType: ImplementationSpecific