Open nirnanaaa opened 5 years ago
after we receive a pod event we schedule that event into a queue (reference: https://github.com/kubernetes/ingress-gce/blob/1a4ff08d682abcb288425d2a84e64eae42f287ae/pkg/neg/readiness/reflector.go#L61) and poll the TG health endpoint once the aws api is ready.
We get the TG ARN from the pod/tg map.
Also if a pod / target is not ready (yet) we re-queue that event, so we are sure we receive an update at some point.
after we receive a pod event we schedule that event into a queue (reference: https://github.com/kubernetes/ingress-gce/blob/1a4ff08d682abcb288425d2a84e64eae42f287ae/pkg/neg/readiness/reflector.go#L61) and poll the TG health endpoint once the aws api is ready.
We get the TG ARN from the pod/tg map.
Also if a pod / target is not ready (yet) we re-queue that event, so we are sure we receive an update at some point.