Thanks to visit codestin.com
Credit goes to github.com

Skip to content

kubecost/kubecost

Repository files navigation

Kubecost Helm chart

This repository contains the Helm chart templates for the development of Kubecost, an enterprise-grade application to monitor and manage Kubernetes spend. Please see the website for more details on what Kubecost can do for you and the official documentation IBM Docs, or contact [email protected] for assistance.

Version Support

Kubecost strives to support as many versions of Kubernetes as possible. Below is the version support matrix which has been tested. Versions outside of the stated range may still work but are untested.

Chart Version Kubernetes Min Kubernetes Max
2.8 1.22 1.34
3.0 1.29 1.34

Installation

To install the latest version of Kubecost via Helm, run the following command:

helm install kubecost \
  --repo https://kubecost.github.io/kubecost kubecost \
  --namespace kubecost --create-namespace \
  --set global.clusterId=someclustername

Alternatively, add the Helm repository first and scan for updates:

helm repo add kubecost https://kubecost.github.io/kubecost/
helm repo update
helm install kubecost kubecost/kubecost -n kubecost --create-namespace

The default branch of this repository is the develop branch. This branch is not stable and is subject to change. Please use the following command to show values available for the chart you are using:

helm show values kubecost/kubecost --version 3.0.0

Beta/Release Candidates and Nightly Builds

To install the beta/release candidates pass the --devel flag:

helm install kubecost \
  --repo https://kubecost.github.io/kubecost kubecost \
  --namespace kubecost --create-namespace \
  --devel

To install the nightly build, use the nightly-helm-chart repository:

helm install nightly \
  --repo https://kubecost.github.io/nightly-helm-chart kubecost \
  --namespace kubecost-nightly --create-namespace

Uninstall

Uninstall the chart:

helm uninstall kubecost -n kubecost

Note that when uninstalling, the persistent volume for the Kubecost metrics are not deleted. You can delete them manually by deleting the namespace:

kubectl delete namespace kubecost