Closed as not planned
Description
Describe the bug
aws-lb-contoller restarts unexpectedly (happened multiple times already) when doing GET to configmap.
Steps to reproduce
Unknown
Expected outcome
Retry mechanism
Environment
- AWS Load Balancer controller version 2.4.0
- Using EKS yes, 1.22
Additional Context:
Pod logs before the restart:
E0327 15:21:45.005515 1 leaderelection.go:325] error retrieving resource lock kube-system/aws-load-balancer-controller-leader: Get "https://172.10.0.1:443/api/v1/namespaces/kube-system/configmaps/aws-load-balancer-controller-leader": context deadline exceeded
I0327 15:21:45.005561 1 leaderelection.go:278] failed to renew lease kube-system/aws-load-balancer-controller-leader: timed out waiting for the condition
{"level":"error","ts":1679930505.0055985,"logger":"setup","msg":"problem running manager","error":"leader election lost"}
{"level":"info","ts":1679930505.005635,"logger":"controller.service","msg":"Shutdown signal received, waiting for all workers to finish"}