The Future of Cross-Identity Requests #2826
stevekuznetsov
started this conversation in
Development
Replies: 1 comment
-
Something to also keep in mind: we also have identity-less CRs (from normal CRDs). These also need to be supported by quota, GC, namespace lifecycle. |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Today, we have
*
-clusterLIST
andWATCH
requests for partial metadata that cross resource identity boundaries in theDDSIF
construct that is used in:These requests have an ongoing cost to our system in that it is fundamentally against the core API paradigm to do cross-identity requests, so:
For some class of usage, we know that every possible resource that can be scheduled will be served by the a virtual view, so we do not need a totally identity-agonostic request here and can instead dynamically start and stop informers against those views. An example is resource scheduling, where we can operate against the workload APIExport virtual views.
For the other class of usage, we simply get an efficiency benefit here, but it is very concretely only in the number of open connections against the kcp API server, and then only when multiple identities exist for the same group-resource. My intuition says that the single-group-resource many-identity case is and will remain fairly rare, so we must reconcile the magnitude of this efficiency increase with the ongoing cost to our codebase of this feature.
/cc @sttts @ncdc @davidfestal @MikeSpreitzer
Beta Was this translation helpful? Give feedback.
All reactions