Comments (11)
yeah, we also already have prometheus and grafana in all of our clusters and it seems like a waste to have an extra instance for this.
from opencost.
@kivagant-ba, not today. It does have Prometheus as a hard dependancy. We are actively exploring other integrations though -- reach out ([email protected]) if you want chat in more detail!
As an alternative, you could install the bundled Prometheus and then export to your 3P monitoring system.
from opencost.
Hi @botzill, the main Kubecost application, which is a super set of this open source project, does indeed have the ability to ship without Prometheus & Grafana.
There are a couple nuances to implementing this, partially because of recording rules that Kubecust uses to remain performant on larger clusters. Right now, we generally recommend getting up and running with the bundled install first and then we can help you make the transition to your own Prometheus and Grafana.
Happy to help you do this -- reach out to [email protected] if you want to discuss further!
from opencost.
Can the app work without grafana and prometheus at all?
from opencost.
@kivagant-ba do you mind sharing a bit more?
The app can operate without Grafana today, although this limits some available views. It has a dependency on Prometheus though. Would you be looking to use a different database? We have discussed different integrations here so let me know what you're thinking!
from opencost.
I just don't have Prometheus since the company uses a third-party cloud monitoring system. That's why I'm curious if it's possible to use this very promising app without installing Prometheus.
from opencost.
Hi @dwbrown2. Can you share a little bit about Prometheus dependencies and how we can take those configs and put in our custom Prometheus installation? From what I see here https://github.com/kubecost/cost-analyzer-helm-chart/blob/master/cost-analyzer/templates/cost-analyzer-config-map-template.yaml#L8 we can easily change the endpoint to our custom installation of prometheus and alertmanager. Now, the next question is: do you have some custom cofigs when it comes to promethus itself, like did you add smth new here: https://github.com/kubecost/cost-analyzer-helm-chart/blob/master/cost-analyzer/charts/prometheus/values.yaml#L852 or is the default one? If there is added smth new I can take that and put input my promethus. For grafana, I see that there are these dashboards defined: https://github.com/kubecost/cost-analyzer-helm-chart/blob/master/cost-analyzer/charts/grafana/values.yaml#L178. Grafana allows to create a config map with dashboards and it will read it automatically. I think this is a good solution here as well, this way we can easily separate dashboards from grafana itself and use custom installations.
Hope this make sense :)
from opencost.
@botzill close :) you would want to modify https://github.com/kubecost/cost-analyzer-helm-chart/blob/master/cost-analyzer/values.yaml
I think it might be worth discussing before doing this in production. There are also recording rules and scrape configs that you need to pick up in order for this to perform properly on medium and large clusters.
Let's also plan to move continued conversation to https://github.com/kubecost/cost-analyzer-helm-chart since that's the relevant repo.
from opencost.
New issue in Helm chart created if there's interest in further discussion!
kubecost/cost-analyzer-helm-chart#7
from opencost.
We already have prometheus and prometheus-node-exporter running in our cluster. Install kubecost brings prometheus-node-exporter as well which is always in Pending state, because its port has been occupied. Can I install kubecost without prometheus-node-exporter ?
from opencost.
You definitely can! Check out the kubecost helm chart https://github.com/kubecost/cost-analyzer-helm-chart/blob/develop/cost-analyzer/values.yaml#L583
from opencost.
Related Issues (20)
- Modify k8s API caches and watchers to only store relevant projections of pod
- Documentation : limitation on container_cpu_allocation ? HOT 1
- Cannot set readOnlyRootFilesystem for ui container HOT 2
- gpuCost computation error HOT 1
- Remove links to Kubecost docs HOT 3
- Deploy only 1 opencost if we have a centralized prometheus HOT 1
- Cloud costs integration is not working in gcp HOT 4
- OpenCost API and UI HOT 2
- OpenCost API and UI HOT 5
- release 2.2.0 was removed from ghcr.io HOT 3
- Support for AWS IAM Identity Center SAML HOT 1
- Labels kubernetes_node unavailable with kube-state-metrics HOT 2
- "QueryAthenaPaginated: start query error: not found, ResolveEndpointV2" error when enabling aws cloud cost HOT 6
- EXPORT_CSV_LABELS_LIST does not accept special characters
- Provider alibaba support RRSA authentication HOT 3
- Feat Request: Overwrite default currency HOT 3
- Intermittent "error":"vector cannot contain metrics with the same labelset" HOT 8
- The value file settings are not being respected HOT 2
- Opencost service does not start when azure pricing API hangs HOT 1
- Enable OpenCost can work with custom price from cloud providers HOT 2
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from opencost.