Skip to content
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

Scale based on Kubernetes Costs #4247

Open
zroubalik opened this issue Feb 16, 2023 · 10 comments
Open

Scale based on Kubernetes Costs #4247

zroubalik opened this issue Feb 16, 2023 · 10 comments
Labels
cost-efficiency feature All issues for new features that have been committed to good first issue Good for newcomers help wanted Looking for support from community scaler

Comments

@zroubalik
Copy link
Member

Proposal

https://www.kubecost.com/

Scaler Source

Cloud costs

Scaling Mechanics

TBD

Authentication Source

TBD

Anything else?

No response

@tomkerkhove
Copy link
Member

I like this one

@tomkerkhove tomkerkhove added feature All issues for new features that have been committed to cost-efficiency and removed needs-discussion labels Feb 16, 2023
@zroubalik zroubalik changed the title Scale based on Kuberentes Costs Scale based on Kubernetes Costs Feb 16, 2023
@JorTurFer JorTurFer added help wanted Looking for support from community good first issue Good for newcomers labels Apr 23, 2023
@ringtail
Copy link

How to match pods replicas with cost.

@tomkerkhove
Copy link
Member

This is not supported yet

@tomkerkhove
Copy link
Member

Available APIs: https://docs.kubecost.com/apis/apis-overview

@tomkerkhove
Copy link
Member

Most probably we should use https://www.opencost.io/ instead which is CNCF Sandbox with open proposal for incubation: cncf/toc#1046

@tomkerkhove
Copy link
Member

OpenCost is a vendor-neutral open source project for measuring and allocating Kubernetes infrastructure and container costs in real time. It was originally developed and open-sourced by Kubecost. This project combines a specification as well as a Golang implementation of these detailed requirements.

The goal of OpenCost is to be the default real-time cloud cost monitoring solution for Kubernetes. OpenCost currently fully supports Amazon Web Services, Microsoft Azure, Google Cloud Platform, and on-premises with partial support for Alibaba Cloud and Scaleway. There are easily thousands of deployments of OpenCost in production and potentially orders of magnitude greater when considering inclusion in Kubecost’s commercial offering.

@mattray
Copy link

mattray commented May 15, 2023

Happy to help out if you have any questions about OpenCost.

@tomkerkhove
Copy link
Member

Wonderful, thanks! Didn't look much in to it yet, but any docs on supported authentication schemes, @mattray?

@mattray
Copy link

mattray commented May 22, 2023

OpenCost currently has no auth built-in for its data or API. It's simply pulling data from Kubernetes and cloud billing APIs (which may require auth) and pushing them into a Prometheus-compatible datastore (which my be configured with auth) and exposing them behind an API (currently no auth). The web UI is a simple React app that just pulls from the API locally. Usually, you just port-forward to get to the API and UI or pull the data from Prometheus into another dashboard like Grafana (which may have its own auth).

@erharjotsingh
Copy link

/assign erharjotsingh
Hello @zroubalik
please share some more insights and I can pick this up.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
cost-efficiency feature All issues for new features that have been committed to good first issue Good for newcomers help wanted Looking for support from community scaler
Projects
Status: To Do
Development

No branches or pull requests

6 participants