Question about integration with CRDs & external data #286
Replies: 1 comment
-
Hi @HurricanKai, so sorry that I missed your question until now! You can integrate with existing CRDs without needing any of the extra opinionated machinery, but you currently have to avoid using the If you wish to handle these existing CRDs in-code using the app-sdk, you'll need a type which implements
Non-k8s stores will likely not be supported in the general sense at this point (some of the docs may still be a bit out of date), meaning that a Please feel free to ask further questions and I'll make sure I get back to you in a more timely manner in the future! |
Beta Was this translation helpful? Give feedback.
-
👋 This is looking really cool, I'm excited to try this out.
I'm wondering, is there a way to integrate this with existing CRDs? Seems like there's a bunch of machinery (finalizers?) that may or may not be required.
I'd be interested to integrate this with existing CRDs, like from a CNI, to automatically expose info to grafana and enable some UI inside grafana.
Simple example I can think of is a view that shows Services & Endpoint Slices, or load balancers / gateways w/ their public VIP. This wouldn't even involve any CRDs, just reading exiting well-known kinds.
I can see that I could create a mirroring CRD that only contains the relevant information and sync it myself, but this seems like it would create a fairly large amount of load on etcd for no reason. Two-way sync would also be fairly hard.
In a similar thought, can external resources be used? I see a few mentions of other non-k8s stores getting supported eventually, but that's not quite the same as just accessing it, similar to what I explained for the k8s scenario above.
I'll give it a spin asap to deepen my understanding here, but I'd love to understand where this is going too!
Beta Was this translation helpful? Give feedback.
All reactions