-
Notifications
You must be signed in to change notification settings - Fork 1.5k
Description
Hello!
We are using AWS Load Balancer Controller (2.1.3) in our cluster. We are experiencing very random wait times for the pod readiness gate to be added.
Sometimes it takes 10 seconds and sometimes can be longer than 10 minutes. Our containers in the pod take usually about 30-60 seconds to start.
If there are 2-4 pods things go very smoothly. Problem occurs when there are 100-150 pods (70-100 nodes) running and a rollout restart or deployment update is executed. We are running t4g.medium instances as worker nodes with ALB in front of the service.
Why can it take a very long time to add the pod readiness gate to the pod conditions? I tried to dig in the source code, but couldn't find a reason. When the pod readiness gate has been added, transition to Status=True goes fast. I've tried changing targetgroupbinding-max-concurrent-reconciles
to higher values, but it doesn't help.