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

Michael Dresser 428167d73f Merge pull request #1352 from avrodrigues5/avr/fix_storage_class 3 år sedan
.circleci e4fda39d08 add workflow 7 år sedan
.github 6504c75399 Simple workflow to build on every PR to develop 3 år sedan
cmd c7706a4fb2 Renamed Kubecost Github reference to OpenCost 3 år sedan
configs 6acae00e93 add test file 4 år sedan
kubernetes 4dfe2cf90e Added CORS headers to cmd/costmodel/main.go. 5 år sedan
pkg 9812898b03 remvoing the default of unknown and making it empty string and using unknown only if new metrics doesnt have pv information also if two storage classes are different default it to empty 3 år sedan
spec b4f91ddfef Update opencost-specv01.md 3 år sedan
test c7706a4fb2 Renamed Kubecost Github reference to OpenCost 3 år sedan
ui 3bdc762541 Bump terser from 5.10.0 to 5.14.2 in /ui 3 år sedan
.dockerignore 93dcd24356 Docker Ignore 5 år sedan
.gitignore 307528ace1 Update gitignore for costmodel binary 4 år sedan
CODE_OF_CONDUCT.md fe4762018e Update CODE_OF_CONDUCT.md 4 år sedan
CONTRIBUTING.md 58bd22d11f Merge pull request #1290 from opencost/spom/cncf-slack-links 3 år sedan
Dockerfile c7706a4fb2 Renamed Kubecost Github reference to OpenCost 3 år sedan
LICENSE e21bf66dc1 Add LICENSE 7 år sedan
MAINTAINERS.md 37ad19c943 Added Thomas Evans to Maintainers. 3 år sedan
PROMETHEUS.md 0c81c7a798 read and use gpu count 5 år sedan
README.md b25ea22bbb Fixing typo 3 år sedan
ROADMAP.md ccabcc2439 Add the concept of conformance tests to roadmap 4 år sedan
allocation-dashboard.png 4f9b246c1e Add files via upload 7 år sedan
allocation-drilldown.gif 87d607a9c6 Add files via upload 5 år sedan
deploying-as-a-pod.md c7706a4fb2 Renamed Kubecost Github reference to OpenCost 3 år sedan
go.mod d2f7b5855a Update pkg Kubecost types (#1354) 3 år sedan
go.sum d2f7b5855a Update pkg Kubecost types (#1354) 3 år sedan
kubecost-exporter.md 4dfe2cf90e Added CORS headers to cmd/costmodel/main.go. 5 år sedan
opencost-header.png c9a4dff062 opencost readme 4 år sedan

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.