Austin Cawley-Edwards
Austin Cawley-Edwards
Related https://github.com/kubernetes-sigs/controller-runtime/issues/2238
Use case I'm thinking about is the k8s controller pattern (https://kubernetes.io/docs/concepts/architecture/controller/), where a Watch gets the full snapshot and then all changes afterwards, as well as being able to resume...
Seems also related to https://github.com/kubernetes-sigs/controller-runtime/issues/3221
> I am assuming you are more interested in custom sources anyways? Yeah correct -- in our custom source impl, I was thinking about encapsulating this to pull its own...
> Why would the controller do anything specific here as opposed to the source doing this within its Start()? That makes sense, yeah we could leave it entirely to the...
#3192 will be good to try, though some of our controllers take about 30 minutes to warm up (build some inmem data structures for all watched resources) and put large...
> This is also the only case where someone has asked about this, so I am currently not in favor of adding this here into upstream. That makes a lot...
IIUC, we'd need: * A way to block process shutdown while certain runnables are still running * A way to access all sources for a controller
/close We will come back with benchmarks :)
Oh, that's interesting – how does the web UI do it?