Skip to content

infrable-io/k8s-opencost

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

16 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

K8s OpenCost

MIT License Maintained by Infrable GitHub Actions - Helm

k8s-opencost installs OpenCost, a vendor-neutral open source project for measuring and allocating infrastructure and container costs in Kubernetes environments. OpenCost provides the cost allocation engine used by Kubecost, a commerical product.

This Helm chart captures the OpenCost installation steps documented here in code.

Installation

From Source

$ git clone git@github.com:infrable-io/k8s-opencost.git
$ cd k8s-opencost
$ kubectl create namespace opencost
$ helm install opencost . --namespace opencost

Testing

To test the Helm chart, run the following:

$ helm test opencost --namespace opencost

Helm chart dependencies

Helm charts store their dependencies in charts/. For chart developers, it is often easier to manage dependencies in Chart.yaml, which declares all dependencies.

The dependency commands (build, list, update) operate on that file, making it easy to synchronize between the desired dependencies and the actual dependencies stored in the charts/ directory.

For example, this Chart.yaml declares a single dependency:

  • prometheus
dependencies:
  - name: prometheus
    version: "15.14.0"
    repository: https://prometheus-community.github.io/helm-charts
    condition: prometheus.enabled

About

A Helm chart for OpenCost, a vendor-neutral open source project for measuring and allocating infrastructure and container costs in Kubernetes environments

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages