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

Thomas Nguyen 5afddd6b81 Sets projectID and billingDataDataset to empty strings. (#2122) преди 2 години
.github d06a425406 Add the Close Stale Issues GitHub Action преди 2 години
.idea 93fbec52fb add intellij and goland gofmt settings to be consistent with vscode преди 3 години
cmd c7706a4fb2 Renamed Kubecost Github reference to OpenCost преди 3 години
config dad87d9821 broken state преди 3 години
configs 5afddd6b81 Sets projectID and billingDataDataset to empty strings. (#2122) преди 2 години
docs d4b47c5a75 change default allocation/compute aggregation to match allocation endpoint преди 2 години
kubernetes e0a310dcb0 (fix) added securityContext to the OpenCost backend container in the OpenCost deployment. Removed privileged escalation, dropped all capabilities, changed to read only access to file system and set the user to 1001 (same as Dockerfile) преди 3 години
pkg 25275a2cdd pkg/prom: fix dropped logging errors (#2124) преди 2 години
spec 637cd1c7a2 Minor formatting cleanups to make embedding in http://opencost.io/docs/specification a cleaner diff преди 2 години
test 42976a2b8b GTM-52 Fix parsing of GCP pricing and create new node diagnostic pricing API преди 2 години
tools 81eb9cfa29 feat(build): Add version and revision as labels преди 3 години
ui 768c3dab1c disabled healthz endpoint logging преди 2 години
.dockerignore 93dcd24356 Docker Ignore преди 5 години
.gitignore 519c78fa72 Run builds locally before containerizing and add multi-arch support (#1941) преди 3 години
ADOPTERS.MD d7a2cc1280 Updating to use the [definitions provided by the CNCF](https://github.com/cncf/toc/blob/main/FAQ.md#what-is-the-definition-of-an-adopter). преди 3 години
CODE_OF_CONDUCT.md 8469bd34fd Update code of conduct преди 3 години
CONTRIBUTING.md 519c78fa72 Run builds locally before containerizing and add multi-arch support (#1941) преди 3 години
Dockerfile 1421dbf485 Ensure permissions on copied files are world-readable. преди 3 години
Dockerfile.cross 519c78fa72 Run builds locally before containerizing and add multi-arch support (#1941) преди 3 години
GOVERNANCE.md bcaf863493 Clarifications and corrections преди 3 години
LICENSE e21bf66dc1 Add LICENSE преди 7 години
MAINTAINERS.md bcaf863493 Clarifications and corrections преди 3 години
Makefile 301d63cf17 feat(metrics): Migrate to using existing version.go преди 3 години
NOTICE 0cad952152 Initial commit based off of Apache recommendations. преди 3 години
PROMETHEUS.md 7a7ee4b0dd Update PROMETHEUS.md преди 3 години
README.md d86b4f043a documentation addresses corrected преди 2 години
ROADMAP.md 45dd477d34 Roadmap refresh for March 2023 преди 3 години
SECURITY.md d2b1076d31 Clarification that bug bounty not for previously disclosed publicly available CVEs преди 3 години
go.mod b82b761cfe Upgrade go-restful/v3 to v3.10 преди 3 години
go.sum 02dfe9216a Run go mod tidy преди 3 години
justfile 519c78fa72 Run builds locally before containerizing and add multi-arch support (#1941) преди 3 години
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 cluster, node, namespace, controller kind, controller, service, or pod
  • Dynamic onDemand 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 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.

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, email at opencost@kubecost.com, or attend the biweekly OpenCost Working Group community meeting from the Community Calendar.

FAQ

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