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

Niko Kovacevic 2036409746 Merge branch 'develop' into niko/meta 8 tháng trước cách đây
.github 4dac6c4768 ci: Run vulnerability scan in merge queues (#3332) 8 tháng trước cách đây
.idea 93fbec52fb add intellij and goland gofmt settings to be consistent with vscode 3 năm trước cách đây
cmd c7706a4fb2 Renamed Kubecost Github reference to OpenCost 3 năm trước cách đây
configs 646ab6cb73 Add DigitalOcean Kubernetes Services provider (#3232) 8 tháng trước cách đây
core ec6ec2925d NewError tests 8 tháng trước cách đây
docs a2c287d402 Modular Opencost (#3031) 11 tháng trước cách đây
kubernetes 422ccd9cde Set package repository to ghcr.io 2 năm trước cách đây
modules 14a3a79ea6 prevent extra resolution in increase queries (#3338) 8 tháng trước cách đây
pkg 4f534450d0 feat: Add generic currency conversion package (#3315) 8 tháng trước cách đây
protos 1ea938bb10 converted to use GRPC 2 năm trước cách đây
spec 2c38d975b7 Minor typos (#2828) 1 năm trước cách đây
tools 81eb9cfa29 feat(build): Add version and revision as labels 3 năm trước cách đây
ui a45005f061 fix: restore missing YouTube preview thumbnail in main README (#3064) 1 năm trước cách đây
.dockerignore 93dcd24356 Docker Ignore 5 năm trước cách đây
.gitignore b82370afd8 OCI cloud costs integration (#2870) 1 năm trước cách đây
ADOPTERS.MD 98216666ce Add Zendesk to Opencost ADOPTERS.md 2 năm trước cách đây
CODE_OF_CONDUCT.md 8241f30690 Direct inquiries to Slack and the community meetings rather than Kubecost 2 năm trước cách đây
CONTRIBUTING.md 87b9d14e87 Add to UI container, contributing 2 năm trước cách đây
Dockerfile a2c287d402 Modular Opencost (#3031) 11 tháng trước cách đây
Dockerfile.cross b601a2ea98 update use of env vars, check dependabot (#3152) 1 năm trước cách đây
Dockerfile.debug ea46890cef Add OTC provider (#2952) 1 năm trước cách đây
GOVERNANCE.md bcaf863493 Clarifications and corrections 3 năm trước cách đây
LICENSE e21bf66dc1 Add LICENSE 7 năm trước cách đây
MAINTAINERS.md 5726e8267d update committer contact info (#3065) 1 năm trước cách đây
Makefile dec820c853 Update build for opencost 2 năm trước cách đây
NOTICE 5284c80425 Update NOTICE for 2024 2 năm trước cách đây
PROMETHEUS.md 6434740792 Updated URLs after opencost.io/docs/ rearrangement. 2 năm trước cách đây
README.md 6343e2c9a9 docs: add sharded Prometheus best practices and warnings for global e… (#3244) 9 tháng trước cách đây
ROADMAP.md 8241f30690 Direct inquiries to Slack and the community meetings rather than Kubecost 2 năm trước cách đây
SECURITY.md d2b1076d31 Clarification that bug bounty not for previously disclosed publicly available CVEs 3 năm trước cách đây
THIRD_PARTY_LICENSES.txt 4a9e631edc Third party attributions in opencost artifacts 2 năm trước cách đây
Tiltfile 24cc2358b7 refactor and improve tilt 2 năm trước cách đây
Tiltfile.opencost ec3d7214d5 tilt - fix missing oracle and third party license files 2 năm trước cách đây
generate.sh 7f62474e9b Update script binary 2 năm trước cách đây
go.mod e0590172f2 CVE-2025-30204 Update golang jwt v4 and v5 (#3320) 8 tháng trước cách đây
go.sum e0590172f2 CVE-2025-30204 Update golang jwt v4 and v5 (#3320) 8 tháng trước cách đây
justfile 81f63656e0 Add Azure Disk Sku Nil Check (#3165) 11 tháng trước cách đây
opencost-header.png c9a4dff062 opencost readme 4 năm trước cách đây
sonar-project.properties a2c287d402 Modular Opencost (#3031) 11 tháng trước cách đây
tilt-values.yaml 24cc2358b7 refactor and improve tilt 2 năm trước cách đây

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.

Note for sharded Prometheus users: If you run Prometheus in a sharded (HA) setup, set PROMETHEUS_SERVER_ENDPOINT to a global query endpoint (e.g., Thanos Query, Cortex, or Mimir). Pointing to a single Prometheus pod may result in incomplete or intermittent export results. See the Prometheus integration docs for details.

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.