How to save Cloud & Kubernetes cost with Kubecost

Reading Time: 3 minutes

KubeCost – Introduction

Kubecost helps you to monitor and manage the cost and also capacity in Kubernetes environments. It helps you integrate various tools with your infrastructure to help your team track, manage, and reduce the overall cost. You can monitor & have insights on your Kubernetes spends at a very granular level additionally you can have insights on other cloud resources out of the cluster.

Kubernetes & Cloud Cost Savings

Features

  • Estimated Monthly Cost Savings: Kubecost savings feature will estimate the monthly cost savings and it includes both Kubernetes & external cloud insights.
  • Cost Reducing Recommendations: Kubecost savings feature gives you cost optimization recommendations & Cost savings insights to reduce your monthly spending on Kubernetes & cloud.
  • Abandoned Workloads: It will show your workloads that are not receiving any network packets inside or outside the cluster and not sending any meaningful rate of network traffic.
  • Orphaned Resources: These are the resources that are no longer associated with your workloads or your Kubernetes and have not been used for many days.

Kubecost Cost Optimization & Recommendations

Kubecost savings feature gives you cost optimization recommendations & Cost savings insights to reduce your monthly spending on Kubernetes & cloud. Using Kubecost allocation metrics, it determines how well each container in your infrastructure is provisioned.

As shown below image you can choose the profile according to your environment for example Development, Production, HA environment or even you can create custom profiles.

On basis of profile, It calculates resource utilization of current & recommends resource limits & requests to save costs.

Over-provisioned containers provide an opportunity to lower requests and save money. Under-provisioned containers represent a risk of resources running out, causing CPU throttling or OOM errors.

Savings are then computed as the difference between current and recommended request levels, based on current node costs.

Your FinOps team can follow up with these recommendations to maximize the cost savings o Kubernetes & cloud spending.

Kubecost Savings on Abandoned Workloads

You can see your workloads that are not receiving any network packets inside or outside the cluster and not sending any meaningful rate of network traffic.

It recommends you remedies to handle such kinds of workloads and if they are no longer needed. You can save costs on them.

Kubecost Savings on Orphaned Resources

These are the resources that are no longer associated with your workloads or your Kubernetes. And have not been used for many days.

It can be your IP address that is no longer attached to any compute instance. It can be PD that is not being used by any cluster or node but still charging you for storage.

Your FinOps team can follow up with these recommendations to maximize the cost savings o Kubernetes & cloud spending.

Conclusion

Kubecost provides granular visibility on your Kubernetes cost & cloud spending. It is worth incorporating into FinOps practices. It will help your organization to get started with FinOps practices. For more details, you can check Kubecost’s Official Website.

Written by 

Rahul Miglani is Vice President at Knoldus and heads the DevOps Practice. He is a DevOps evangelist with a keen focus to build deep relationships with senior technical individuals as well as pre-sales from customers all over the globe to enable them to be DevOps and cloud advocates and help them achieve their automation journey. He also acts as a technical liaison between customers, service engineering teams, and the DevOps community as a whole. Rahul works with customers with the goal of making them solid references on the Cloud container services platforms and also participates as a thought leader in the docker, Kubernetes, container, cloud, and DevOps community. His proficiency includes rich experience in highly optimized, highly available architectural decision-making with an inclination towards logging, monitoring, security, governance, and visualization.

Discover more from Knoldus Blogs

Subscribe now to keep reading and get access to the full archive.

Continue reading