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

Cliff Colvin 370ed912ef update go.mod for golang cve (#2968) (#2970) 1 anno fa
.github 2ea71a1536 fix release script, make relative repo for better testing in fork (#2936) 1 anno fa
.idea 93fbec52fb add intellij and goland gofmt settings to be consistent with vscode 3 anni fa
cmd c7706a4fb2 Renamed Kubecost Github reference to OpenCost 3 anni fa
config dad87d9821 broken state 3 anni fa
configs 740fab0435 fix csv casing, precedence, add test 2 anni fa
core 370ed912ef update go.mod for golang cve (#2968) (#2970) 1 anno fa
docs d4b47c5a75 change default allocation/compute aggregation to match allocation endpoint 2 anni fa
kubernetes 422ccd9cde Set package repository to ghcr.io 2 anni fa
pkg 805b231751 Fixes /savings/orphanedResources end point failing with 500 internal server when its unable to read disk.description (#2920) 1 anno fa
protos 1ea938bb10 converted to use GRPC 2 anni fa
spec 637cd1c7a2 Minor formatting cleanups to make embedding in http://opencost.io/docs/specification a cleaner diff 2 anni fa
test 2641f4fa6b minor update for node's well known labels 2 anni fa
tools 81eb9cfa29 feat(build): Add version and revision as labels 3 anni fa
.dockerignore 93dcd24356 Docker Ignore 5 anni fa
.gitignore b82370afd8 OCI cloud costs integration (#2870) 1 anno fa
ADOPTERS.MD 98216666ce Add Zendesk to Opencost ADOPTERS.md 2 anni fa
CODE_OF_CONDUCT.md 8241f30690 Direct inquiries to Slack and the community meetings rather than Kubecost 2 anni fa
CONTRIBUTING.md 87b9d14e87 Add to UI container, contributing 2 anni fa
Dockerfile 04bde589ef fix: tweak oci url for container image labels 2 anni fa
Dockerfile.cross f867b5fdfd Add version and commit for logging 2 anni fa
Dockerfile.debug ec3d7214d5 tilt - fix missing oracle and third party license files 2 anni fa
GOVERNANCE.md bcaf863493 Clarifications and corrections 3 anni fa
LICENSE e21bf66dc1 Add LICENSE 7 anni fa
MAINTAINERS.md d13e3ccf6a update MAINTAINERS (#2926) 1 anno fa
Makefile dec820c853 Update build for opencost 2 anni fa
NOTICE 5284c80425 Update NOTICE for 2024 2 anni fa
PROMETHEUS.md 6434740792 Updated URLs after opencost.io/docs/ rearrangement. 2 anni fa
README.md 5cfc3a1efe doc: use markdown rather than HTML for header (#2868) 1 anno fa
ROADMAP.md 8241f30690 Direct inquiries to Slack and the community meetings rather than Kubecost 2 anni fa
SECURITY.md d2b1076d31 Clarification that bug bounty not for previously disclosed publicly available CVEs 3 anni fa
THIRD_PARTY_LICENSES.txt 4a9e631edc Third party attributions in opencost artifacts 2 anni fa
Tiltfile 24cc2358b7 refactor and improve tilt 2 anni fa
Tiltfile.opencost ec3d7214d5 tilt - fix missing oracle and third party license files 2 anni fa
generate.sh 7f62474e9b Update script binary 2 anni fa
go.mod 370ed912ef update go.mod for golang cve (#2968) (#2970) 1 anno fa
go.sum 237fdc28ae Revert "bump dependencies for CVE. (#2903)" (#2908) 1 anno fa
justfile 571304aa01 ENG-1706 Fix parsing of AWS OnDemand data for certain instance types (#2765) 1 anno fa
opencost-header.png c9a4dff062 opencost readme 4 anni fa
sonar-project.properties 4c399891a3 add sonar-project.properties 2 anni fa
tilt-values.yaml 24cc2358b7 refactor and improve tilt 2 anni fa

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