Kubecost is an open core tool that provides teams visibility into their Kubernetes spend and resource allocation. It leverages this data to provide capacity management insights, avoid outages, and reduce costs.

To gain access, enter your email below:

By continuing, you're agreeing to our Terms and Conditions.

Welcome! In this guide, we’ll walk you through how to install Kubecost into your Kubernetes cluster. The Kubecost helm chart inludes all necessary dependencies and takes only a few minutes to install.

Before you begin

In order to deploy the Kubecost helm chart, ensure the following are completed:

1. Have Helm client installed open_in_new
2. For clusters with RBAC enabled, run the following commands to grant necessary permissions:
kubectl create clusterrolebinding cluster-admin-binding --clusterrole=cluster-admin --user=<your-userid>
kubectl create clusterrolebinding cluster-self-admin-binding --clusterrole=cluster-admin --serviceaccount=kube-system:default
3. Initialize Helm Tiller on your Kubernetes cluster open_in_new

Step 1: Install Kubecost

Running the following commands will also install Prometheus, Grafana, and kube-state-metrics in the namespace supplied. View install configuration options here.

Note: if you receive a message stating the installation is "forbidden" then see the instructions above on granting RBAC permissions.

Having installation issues? View our Troubleshooting Guide or contact us directly at team@kubecost.com.

Step 2: Enable port-forward

kubectl port-forward --namespace kubecost deployment/kubecost-cost-analyzer 9090

Step 3: See the data! Wahoo!

You can now view the self-managed frontend by visiting the following link. Publish :9090 as a secure endpoint on your cluster to remove the need to port forward.


With this new found visibility, teams oftentimes start with 1) looking for cost allocation trends (i.e. who is spending what) and 2) search for quick wins in terms cost savings or reliability improvements.

We're available any time for questions or concerns via email (team@kubecost.com) and Slack (invite).

Updating Kubecost

Now that your Kubcost chart is installed, you can update with the following commands:

helm repo update && helm upgrade kubecost kubecost/cost-analyzer

Removing Kubecost

To uninstall Kubecost and it's dependancies, run the following:

helm del --purge kubecost