Looking at the nginx ingress controller code had a question about the
design.  See that there is a function, getPodsForIngressBackend, (
https://github.com/nginxinc/kubernetes-ingress/blob/master/internal/k8s/controller.go#L15860
).  It looks like in this function a call is made to kube api to grab all
the backend pods for a service.  I was wondering why not use the cached
information from the informer?

Posted at Nginx Forum: 
https://forum.nginx.org/read.php?2,284517,284517#msg-284517

_______________________________________________
nginx mailing list
[email protected]
http://mailman.nginx.org/mailman/listinfo/nginx

Reply via email to