Thank You for Your Interest in Kubecost
This guide will walk you through installing Kubecost into your Kubernetes cluster. The Kubecost Helm chart includes all dependencies to get up and running and takes only a few minutes to install.
Before you begin
In order to deploy the Kubecost Helm chart, ensure the following is completed:Step 1: Install Kubecost
Running the following command will also install Prometheus and Grafana in the namespace supplied. View install configuration options here.
helm install kubecost cost-analyzer \
--repo https://kubecost.github.io/cost-analyzer/ \
--namespace kubecost --create-namespace
Step 2: Enable port-forward
kubectl port-forward --namespace kubecost deployment/kubecost-cost-analyzer 9090
Having installation issues? View our Troubleshoot Install guide.
Step 3: See the data!
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 newfound 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 our support portal and Slack (invite).
Updating Kubecost
After installing Kubecost, you will be able to update your version with the following command:
helm repo add kubecost https://kubecost.github.io/cost-analyzer/ && \
helm repo update && \
helm upgrade kubecost kubecost/cost-analyzer -n kubecost
Deleting Kubecost
To uninstall Kubecost and its dependencies, run the following command:
helm uninstall kubecost -n kubecost