Cross-cloud cost allocation models for Kubernetes workloads https://kubecost.com

kubecost-pb a0b013c319 ENG-2956: Minor fix to only log if GPUUsageMax is not nil and isNaN (#2995) пре 1 година
.github 2ea71a1536 fix release script, make relative repo for better testing in fork (#2936) пре 1 година
.idea 93fbec52fb add intellij and goland gofmt settings to be consistent with vscode пре 3 година
cmd c7706a4fb2 Renamed Kubecost Github reference to OpenCost пре 3 година
config dad87d9821 broken state пре 3 година
configs ea46890cef Add OTC provider (#2952) пре 1 година
core a0b013c319 ENG-2956: Minor fix to only log if GPUUsageMax is not nil and isNaN (#2995) пре 1 година
docs 094c7b0587 Update path in swagger.json (#2893) пре 1 година
kubernetes 422ccd9cde Set package repository to ghcr.io пре 2 година
pkg d097e3eb0c Fix: fetching for azure nodes that are not spot instances (#2978) пре 1 година
protos 1ea938bb10 converted to use GRPC пре 2 година
spec 2c38d975b7 Minor typos (#2828) пре 1 година
test 2641f4fa6b minor update for node's well known labels пре 2 година
tools 81eb9cfa29 feat(build): Add version and revision as labels пре 3 година
.dockerignore 93dcd24356 Docker Ignore пре 5 година
.gitignore b82370afd8 OCI cloud costs integration (#2870) пре 1 година
ADOPTERS.MD 98216666ce Add Zendesk to Opencost ADOPTERS.md пре 2 година
CODE_OF_CONDUCT.md 8241f30690 Direct inquiries to Slack and the community meetings rather than Kubecost пре 2 година
CONTRIBUTING.md 87b9d14e87 Add to UI container, contributing пре 2 година
Dockerfile ea46890cef Add OTC provider (#2952) пре 1 година
Dockerfile.cross ea46890cef Add OTC provider (#2952) пре 1 година
Dockerfile.debug ea46890cef Add OTC provider (#2952) пре 1 година
GOVERNANCE.md bcaf863493 Clarifications and corrections пре 3 година
LICENSE e21bf66dc1 Add LICENSE пре 7 година
MAINTAINERS.md d5c2d25516 welcome cliff! (#2980) пре 1 година
Makefile dec820c853 Update build for opencost пре 2 година
NOTICE 5284c80425 Update NOTICE for 2024 пре 2 година
PROMETHEUS.md 6434740792 Updated URLs after opencost.io/docs/ rearrangement. пре 2 година
README.md c247775e7d Introducing OpenCost Guru on Gurubase.io (#2974) пре 1 година
ROADMAP.md 8241f30690 Direct inquiries to Slack and the community meetings rather than Kubecost пре 2 година
SECURITY.md d2b1076d31 Clarification that bug bounty not for previously disclosed publicly available CVEs пре 3 година
THIRD_PARTY_LICENSES.txt 4a9e631edc Third party attributions in opencost artifacts пре 2 година
Tiltfile 24cc2358b7 refactor and improve tilt пре 2 година
Tiltfile.opencost ec3d7214d5 tilt - fix missing oracle and third party license files пре 2 година
generate.sh 7f62474e9b Update script binary пре 2 година
go.mod 7b2c4ac878 Bump github.com/golang-jwt/jwt/v4 in the go_modules group (#2985) пре 1 година
go.sum 7b2c4ac878 Bump github.com/golang-jwt/jwt/v4 in the go_modules group (#2985) пре 1 година
justfile 571304aa01 ENG-1706 Fix parsing of AWS OnDemand data for certain instance types (#2765) пре 1 година
opencost-header.png c9a4dff062 opencost readme пре 4 година
sonar-project.properties 4c399891a3 add sonar-project.properties пре 2 година
tilt-values.yaml 24cc2358b7 refactor and improve tilt пре 2 година

README.md

License OpenSSF Best Practices Gurubase

OpenCost — your favorite open source cost monitoring tool for Kubernetes and cloud spend

OpenCost give teams visibility into current and historical Kubernetes and cloud spend and resource allocation. These models provide cost transparency in Kubernetes environments that support multiple applications, teams, departments, etc. It also provides visibility into the cloud costs across multiple providers.

OpenCost was originally developed and open sourced by Kubecost. This project combines a specification as well as a Golang implementation of these detailed requirements. The web UI is available in the opencost/opencost-ui repository.

OpenCost UI Walkthrough OpenCost UI Walkthrough

To see the full functionality of OpenCost you can view OpenCost features. Here is a summary of features enabled:

  • Real-time cost allocation by Kubernetes cluster, node, namespace, controller kind, controller, service, or pod
  • Multi-cloud cost monitoring for all cloud services on AWS, Azure, GCP
  • Dynamic on-demand k8s asset pricing enabled by integrations with AWS, Azure, and GCP billing APIs
  • Supports on-prem k8s clusters with custom CSV pricing
  • Allocation for in-cluster K8s resources like CPU, GPU, memory, and persistent volumes
  • Easily export pricing data to Prometheus with /metrics endpoint (learn more)
  • Carbon costs for cloud resources
  • Support for external costs like Datadog through OpenCost Plugins
  • Free and open source distribution (Apache2 license)

Getting Started

You can deploy OpenCost on any Kubernetes 1.20+ cluster in a matter of minutes, if not seconds!

Visit the full documentation for recommended installation options.

Usage

Contributing

We :heart: pull requests! See CONTRIBUTING.md for information on building the project from source and contributing changes.

Community

If you need any support or have any questions on contributing to the project, you can reach us on CNCF Slack in the #opencost channel or attend the biweekly OpenCost Working Group community meeting from the Community Calendar to discuss OpenCost development.

FAQ

You can view OpenCost documentation for a list of commonly asked questions.