You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Currently the pod controller filters the pods at the epp side, the filter is primarily the pool selector and ready status. At scale this could be expensive. To address this, we should setup the watch to perform server side filter.
The tricky part is that the filter depends on the pool, which may change during runtime, and so we need to think of a way to update the filter on the pod informer/cache.
Why is this needed:
To improve the scalability of the epp.
The text was updated successfully, but these errors were encountered:
ahg-g
changed the title
Find a way to setup server side filter of the pods
Setup server side filter of the pods
Feb 19, 2025
What would you like to be added:
Currently the pod controller filters the pods at the epp side, the filter is primarily the pool selector and ready status. At scale this could be expensive. To address this, we should setup the watch to perform server side filter.
In controller-runtime, we can do this using the ByObject cache option: https://github.com/kubernetes-sigs/controller-runtime/blob/6f611112490242f9e8d5b0ccdc0f3bb8c86c85ef/pkg/cache/cache.go#L240
The tricky part is that the filter depends on the pool, which may change during runtime, and so we need to think of a way to update the filter on the pod informer/cache.
Why is this needed:
To improve the scalability of the epp.
The text was updated successfully, but these errors were encountered: