-
Notifications
You must be signed in to change notification settings - Fork 60
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Feature Request: kubectl cost prices #149
Comments
Please assign this issue to me |
Hi @saif-xgrid we welcome contributions, but I'd like to understand where you're heading with the implementation before you get too deep. Would you post a brief outline? @mattray would you elaborate on the ask a little bit? What exactly does a user want to accomplish? Do they want to see the price-per-resource of nodes in their cluster? |
@michaelmdresser I think the data returned from @saif-xgrid if you want to do it, maybe take a look at the |
Thanks for the extra detail @mattray. If using default pricing or custom pricing, I think this makes sense as a feature to get a nicely-formatted view of configured node pricing. However, with cloud providers I'm concerned that we won't give correct data. Kubecost does best-effort guesses for node pricing for cloud providers, but the ultimate answer is always provided by the bill, which is why we have have cloud provider integrations and reconciliation. I'm not intimately familiar with the Again, though, I'm not super familiar with the endpoint. It may account for some of these details already. Some research is required to make sure we play well with Kubecost. @kubecost/product how can we best coordinate with an open source volunteer here? We're in a tricky spot in which closed-source Kubecost code may influence a contribution. |
While
kubectl cost
currently shows costs for various assets, it doesn't show the source of pricing data./allNodePricing
from https://github.com/opencost/opencost/blob/develop/pkg/costmodel/router.go#L1757 returns JSON for on-prem similar toPublic clouds have more complicated responses, but this would make it easier to see prices applied (and potentially customized). Even only showing On Demand pricing would be useful.
The text was updated successfully, but these errors were encountered: