Kubecost

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! 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 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

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.

http://localhost:9090

With this new found visibility, teams oftentimes start with 1) looking for cost allocation trends and 2) search for quick wins in terms cost savings or reliability improvements. View our docs for more information on getting started.

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


arrow_right Updating Kubecost

arrow_right Deleting Kubecost