Multiple watchers for different k8s resources in a single reflector #1683
Unanswered
mancioshell
asked this question in
Q&A
Replies: 1 comment
-
A You are not the first person to ask though. I made a small draft example in #1687 to showcase the simple, and reasonably common use-case, as well as some problems with smarter, generic solutions.. My example only has a solution there for a set of known resources at compile time. If you are using dynamic ones then this would be more difficult. Maybe this warrants a proposal at some point. No one has ever asked to look at dynamic resource reflector collection things. |
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
-
I Need to develop a project similar to version-rs but for different type of k8s resources (pod, deployment, config map etc...) for a set of different k8s clusters. The goal Is to wrap the k8s apis of this set of clusters and expose It through another layer of REST APIs.
Is there a way to create a set of watchers of different k8s api to a single writer reflector in order to enable query on a single store?
Beta Was this translation helpful? Give feedback.
All reactions