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.
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 |
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=someclusternameAlternatively, 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-namespaceThe 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.0To install the beta/release candidates pass the --devel flag:
helm install kubecost \
--repo https://kubecost.github.io/kubecost kubecost \
--namespace kubecost --create-namespace \
--develTo 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-namespaceUninstall the chart:
helm uninstall kubecost -n kubecostNote 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