Open dholeshu opened 4 months ago
This sounds like a really interesting use! Any more detail on how you'd intend to consume this data? I'm trying to understand if a plugin would be the right approach or if a more CRD-aware solution would be the answer.
cc @chipzoller @ameijer @AjayTripathy
@dholeshu let us know if you need any assistance if you're thinking about implementing this
After reading the blog post about opencost plugins, the idea about a crossplane plugin came up.
There should be a crossplane plugin for opencost that supports collecting cost metrics about hyperscaler resources created through crossplane providers for three main hyperscalers azure, aws and gcp. The hyperscaler resources are represented as k8s custom resources inside the clusters and are getting managed by crossplane providers.
An AWS EC2 instance CR for example, would look like this:
Many more example resources can be found here.
Feel free to reach out to me in case of further questions or lets discuss :-)