Kubecost is an open core tool that provides visibility into 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! This guide will walk you through installing Kubecost into your Kubernetes cluster. The Kubecost helm chart inludes all product 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. Helm client (version 2.14+) installed open_in_new
2. When using helm 2 on clusters with RBAC enabled, run the following commands to grant Tiller permissions. Learn more
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

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.

helm 2
helm 3
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 deployed 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 often start with 1) looking at cost allocation trends and 2) searching for quick cost savings or reliability improvements. View our Getting Started guide for more information on product configuration and common initial actions.

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

arrow_right Updating Kubecost

arrow_right Deleting Kubecost