Kubecost provides real-time cost visibility and insights for teams using Kubernetes.
We uncover patterns that create overspending on infrastructure and help teams prioritize where to focus optimization efforts. By identifying root causes for negative patterns, customers using Kubecost save 30-50% or more of their Kubernetes cloud infrastructure costs. Today, Kubecost empowers more than 2,000 teams across companies of all sizes to monitor and reduce costs, while balancing cost, performance, and reliability.
Kubecost is tightly integrated with the open-source cloud-native ecosystem and built for engineers and developers first, making it easy to drive adoption within your organization. Our DigitalOcean Marketplace integration makes it a breeze to see and understand your cloud costs in a single pane of glass with actionable insights.
· Unified Cost Monitoring: External costs can be shared and then attributed to any Kubernetes concept for a comprehensive view of spend.
· Optimization Insights: Receive dynamic recommendations for reducing spend without sacrificing performance
· Alerts & Governance: Quickly catch cost overruns and infrastructure outage risks before they become a problem with real-time notifications
· Cost Allocation: Breakdown costs by any Kubernetes concepts, including deployment, service, namespace label, and more. View costs across multiple clusters in a single view or via a single API endpoint
· Right Size Your Environment: Avoid under or over-provisioning resources to your environment. This will ensure your Kubernetes deployment is cost-effective and meets the requirements for your application to run and scale as needed.
· Know What to Expect: With continuous monitoring, Kubecost can notify you when anomalies are detected, giving you the ability to take action and not have any surprise bills.
Click the Deploy to DigitalOcean button to install a Kubernetes 1-Click Application. If you aren’t logged in, this link will prompt you to log in with your DigitalOcean account.
In addition to creating Kubecost using the control panel, you can also use the DigitalOcean API. As an example, to create a 3 node DigitalOcean Kubernetes cluster made up of Basic Droplets in the SFO2 region, you can use the following
doctl command. You need to authenticate with
doctl with your API access token) and replace the
$CLUSTER_NAME variable with the chosen name for your cluster in the command below.
doctl kubernetes clusters create --size s-4vcpu-8gb $CLUSTER_NAME --1-clicks kubecost
In order to deploy the Kubecost helm chart, ensure the following is completed:
• Helm client (version 3.10+) installed open_in_new
Running the following commands will also install Prometheus, Grafana, and kube-state-metrics 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 \ --set kubecostToken="bGluaCtpbnRlcm5hbHRlc3RAa3ViZWNvc3QuY29txm343yadf98"
Step 2: Enable port-forward
kubectl port-forward --namespace kubecost deployment/kubecost-cost-analyzer 9090
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.