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

Sean Holcomb 37ef5198bc Merge pull request #1361 from opencost/sean/pv-alloc-recon-fix 3 lat temu
.circleci e4fda39d08 add workflow 7 lat temu
.github 6504c75399 Simple workflow to build on every PR to develop 3 lat temu
cmd c7706a4fb2 Renamed Kubecost Github reference to OpenCost 3 lat temu
configs 6acae00e93 add test file 4 lat temu
kubernetes 4dfe2cf90e Added CORS headers to cmd/costmodel/main.go. 5 lat temu
pkg 3a438a6da4 fix pvc cluster ingestion, pvallocaiton json marshalling 3 lat temu
spec b4f91ddfef Update opencost-specv01.md 3 lat temu
test c7706a4fb2 Renamed Kubecost Github reference to OpenCost 3 lat temu
ui 3bdc762541 Bump terser from 5.10.0 to 5.14.2 in /ui 3 lat temu
.dockerignore 93dcd24356 Docker Ignore 5 lat temu
.gitignore 307528ace1 Update gitignore for costmodel binary 4 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
PROMETHEUS.md 0c81c7a798 read and use gpu count 5 lat temu
README.md b25ea22bbb Fixing typo 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
deploying-as-a-pod.md c7706a4fb2 Renamed Kubecost Github reference to OpenCost 3 lat temu
go.mod cb96d62cf3 updated prom client to 1.12.2 3 lat temu
go.sum cb96d62cf3 updated prom client to 1.12.2 3 lat temu
kubecost-exporter.md 4dfe2cf90e Added CORS headers to cmd/costmodel/main.go. 5 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.
  • Allocation for AWS & GCP out-of-cluster resources like RDS instances and S3 buckets with key (optional)
  • 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.