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

Michael Dresser 1397decb11 Merge pull request #1438 from opencost/mmd/disk-byte-usage-optional 3 lat temu
.circleci e4fda39d08 add workflow 7 lat temu
.github 75a08d5c0d use same host for backend 3 lat temu
cmd c7706a4fb2 Renamed Kubecost Github reference to OpenCost 3 lat temu
configs 6acae00e93 add test file 4 lat temu
docs 681e87d11d add postman collection 3 lat temu
kubernetes 0db55cc1f5 fixing prometheus path 3 lat temu
pkg 4805a4699e Update Clone() and Equal() for nilable Disk usage 3 lat temu
spec b4f91ddfef Update opencost-specv01.md 3 lat temu
test c7706a4fb2 Renamed Kubecost Github reference to OpenCost 3 lat temu
ui 6f64a9f6dd reverted cluster aggregation changes 3 lat temu
.dockerignore 93dcd24356 Docker Ignore 5 lat temu
.gitignore abf8286bb0 fix .gitignore, delete .iml file from IntelliJ 3 lat temu
CODE_OF_CONDUCT.md fe4762018e Update CODE_OF_CONDUCT.md 4 lat temu
CONTRIBUTING.md 58bd22d11f Merge pull request #1290 from opencost/spom/cncf-slack-links 3 lat temu
Dockerfile c7706a4fb2 Renamed Kubecost Github reference to OpenCost 3 lat temu
LICENSE e21bf66dc1 Add LICENSE 7 lat temu
MAINTAINERS.md 37ad19c943 Added Thomas Evans to Maintainers. 3 lat temu
NOTICE 0cad952152 Initial commit based off of Apache recommendations. 3 lat temu
PROMETHEUS.md 7a7ee4b0dd Update PROMETHEUS.md 3 lat temu
README.md ce5455d67e Remove reference to OOC assets 3 lat temu
ROADMAP.md ccabcc2439 Add the concept of conformance tests to roadmap 4 lat temu
allocation-dashboard.png 4f9b246c1e Add files via upload 7 lat temu
allocation-drilldown.gif 87d607a9c6 Add files via upload 5 lat temu
go.mod 6e406ce7e1 move go version to 1.19 - replace atomic utils with stb lib atomics 3 lat temu
go.sum d2f7b5855a Update pkg Kubecost types (#1354) 3 lat temu
opencost-header.png c9a4dff062 opencost readme 4 lat temu

README.md

OpenCost — your favorite open source cost monitoring tool for Kubernetes

OpenCost models give teams visibility into current and historical Kubernetes spend and resource allocation. These models provide cost transparency in Kubernetes environments that support multiple applications, teams, departments, etc.

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 allocation UI

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 service, deployment, namespace, label, statefulset, daemonset, pod, and container
  • Dynamic asset pricing enabled by integrations with AWS, Azure, and GCP billing APIs
  • Supports on-prem k8s clusters with custom pricing sheets
  • Allocation for in-cluster 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.8+ cluster in a matter of minutes, if not seconds!

Visit the full documentation for recommended install options. Compared to building from source, installing from Helm is faster and includes all necessary dependencies.

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 via email at team@kubecost.com.

FAQ

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