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

Sean Holcomb 3a438a6da4 fix pvc cluster ingestion, pvallocaiton json marshalling 3 年之前
.circleci e4fda39d08 add workflow 7 年之前
.github 6504c75399 Simple workflow to build on every PR to develop 3 年之前
cmd c7706a4fb2 Renamed Kubecost Github reference to OpenCost 3 年之前
configs 6acae00e93 add test file 4 年之前
kubernetes 4dfe2cf90e Added CORS headers to cmd/costmodel/main.go. 5 年之前
pkg 3a438a6da4 fix pvc cluster ingestion, pvallocaiton json marshalling 3 年之前
spec b4f91ddfef Update opencost-specv01.md 3 年之前
test c7706a4fb2 Renamed Kubecost Github reference to OpenCost 3 年之前
ui 3bdc762541 Bump terser from 5.10.0 to 5.14.2 in /ui 3 年之前
.dockerignore 93dcd24356 Docker Ignore 5 年之前
.gitignore 307528ace1 Update gitignore for costmodel binary 4 年之前
CODE_OF_CONDUCT.md fe4762018e Update CODE_OF_CONDUCT.md 4 年之前
CONTRIBUTING.md 58bd22d11f Merge pull request #1290 from opencost/spom/cncf-slack-links 3 年之前
Dockerfile c7706a4fb2 Renamed Kubecost Github reference to OpenCost 3 年之前
LICENSE e21bf66dc1 Add LICENSE 7 年之前
MAINTAINERS.md 37ad19c943 Added Thomas Evans to Maintainers. 3 年之前
PROMETHEUS.md 0c81c7a798 read and use gpu count 5 年之前
README.md b25ea22bbb Fixing typo 3 年之前
ROADMAP.md ccabcc2439 Add the concept of conformance tests to roadmap 4 年之前
allocation-dashboard.png 4f9b246c1e Add files via upload 7 年之前
allocation-drilldown.gif 87d607a9c6 Add files via upload 5 年之前
deploying-as-a-pod.md c7706a4fb2 Renamed Kubecost Github reference to OpenCost 3 年之前
go.mod cb96d62cf3 updated prom client to 1.12.2 3 年之前
go.sum cb96d62cf3 updated prom client to 1.12.2 3 年之前
kubecost-exporter.md 4dfe2cf90e Added CORS headers to cmd/costmodel/main.go. 5 年之前
opencost-header.png c9a4dff062 opencost readme 4 年之前

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.