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

r2k1 66dbcd04a3 add memtest 2 lat temu
.github 5603fcc0e7 rm test code 2 lat temu
.idea 93fbec52fb add intellij and goland gofmt settings to be consistent with vscode 3 lat temu
cmd 66dbcd04a3 add memtest 2 lat temu
config dad87d9821 broken state 3 lat temu
configs 740fab0435 fix csv casing, precedence, add test 2 lat temu
core b55dbfbf04 Create a filter implementation for K8s `runtime.Object`s (#2631) 2 lat temu
docs d4b47c5a75 change default allocation/compute aggregation to match allocation endpoint 2 lat temu
kubernetes 422ccd9cde Set package repository to ghcr.io 2 lat temu
pkg f78fdeac3a better error 2 lat temu
protos 1ea938bb10 converted to use GRPC 2 lat temu
spec 637cd1c7a2 Minor formatting cleanups to make embedding in http://opencost.io/docs/specification a cleaner diff 2 lat temu
test db81961735 fix float issues 2 lat temu
tools 81eb9cfa29 feat(build): Add version and revision as labels 3 lat temu
ui c28d85abce Merge branch 'develop' into build_fixes_target 2 lat temu
.dockerignore 93dcd24356 Docker Ignore 5 lat temu
.gitignore 24cc2358b7 refactor and improve tilt 2 lat temu
ADOPTERS.MD 98216666ce Add Zendesk to Opencost ADOPTERS.md 2 lat temu
CODE_OF_CONDUCT.md 8241f30690 Direct inquiries to Slack and the community meetings rather than Kubecost 2 lat temu
CONTRIBUTING.md 87b9d14e87 Add to UI container, contributing 2 lat temu
Dockerfile 04bde589ef fix: tweak oci url for container image labels 2 lat temu
Dockerfile.cross f867b5fdfd Add version and commit for logging 2 lat temu
Dockerfile.debug ec3d7214d5 tilt - fix missing oracle and third party license files 2 lat temu
GOVERNANCE.md bcaf863493 Clarifications and corrections 3 lat temu
LICENSE e21bf66dc1 Add LICENSE 7 lat temu
MAINTAINERS.md f12ec2ae82 Add Artur Khantimirov to the OpenCost Maintainers. 2 lat temu
Makefile dec820c853 Update build for opencost 2 lat temu
NOTICE 5284c80425 Update NOTICE for 2024 2 lat temu
PROMETHEUS.md 6434740792 Updated URLs after opencost.io/docs/ rearrangement. 2 lat temu
README.md fa85b10097 Add Best Practices badge to README 2 lat temu
ROADMAP.md 8241f30690 Direct inquiries to Slack and the community meetings rather than Kubecost 2 lat temu
SECURITY.md d2b1076d31 Clarification that bug bounty not for previously disclosed publicly available CVEs 3 lat temu
THIRD_PARTY_LICENSES.txt 4a9e631edc Third party attributions in opencost artifacts 2 lat temu
Tiltfile 24cc2358b7 refactor and improve tilt 2 lat temu
Tiltfile.opencost ec3d7214d5 tilt - fix missing oracle and third party license files 2 lat temu
generate.sh 7f62474e9b Update script binary 2 lat temu
go.mod 3715842d9e Define Proto 2 lat temu
go.sum af6cecb109 continued custom cost ingest impl 2 lat temu
justfile cf4bae02da Fixed build arguments. 2 lat temu
opencost-header.png c9a4dff062 opencost readme 4 lat temu
sonar-project.properties 4c399891a3 add sonar-project.properties 2 lat temu
tilt-values.yaml 24cc2358b7 refactor and improve tilt 2 lat temu

README.md

License OpenSSF Best Practices

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.

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)
  • 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.