Open nirnanaaa opened 5 years ago
So we want to move away from only fetching endpoints when the ingress is updated. We want to have the IngressSet changed every time an Endpoint, Ingress updates.
IngressSet
Luckily google can guide us here as well: https://github.com/kubernetes/ingress-gce/blob/master/pkg/neg/controller.go#L474
also we have to keep in mind that we have to add a mutex to the ingress set to ensure no concurrent read/writes.
So we want to move away from only fetching endpoints when the ingress is updated. We want to have the
IngressSet
changed every time an Endpoint, Ingress updates.Luckily google can guide us here as well: https://github.com/kubernetes/ingress-gce/blob/master/pkg/neg/controller.go#L474