Kubernetes Cost Reporting using Kubecost

Kubernetes Cost Reporting using Kubecost

This post explains features of Kubecost that can be used for Kubernetes cost reporting and how cloud provider integrations can provide more insights for managed Kubernetes solutions.

Over the last few years, we have seen the mass adoption of Kubernetes as a container orchestration platform. With this also comes different ways to operate Kubernetes clusters. Some enterprises prefer one cluster one tenant (Hard multi-tenancy) and some prefer one cluster n tenant (Soft multi-tenancy) model. We have seen a lot of enterprises going with the latter model as it helps them cut down a lot of operational efforts. For the soft multi-tenancy model, it becomes very important to provide visibility of cost allocation tenant wise so that teams can be charged back accordingly.


We are running a soft multi-tenant Amazon EKS cluster. Multi-tenancy is in place using Kubernetes namespaces. Now for cost reporting, AWS provides cost explorer which is very good if you want to get charges for nodes, EBS, network as a whole. But it is not possible to use it to get cost segregation for shared or pooled resources. We wanted to create reports based on tenants so that they can be tied to the budgets accordingly. There are many solutions in the market for Kubernetes cost reporting, but since we were looking for something open source, we ended up selecting Kubecost. In this blog post, I will elaborate on how we used Kubecost for our multi-tenant EKS cluster to get better visibility.


Kubecost helps you monitor and manage cost and capacity in Kubernetes environments. - Kubecost docs

kubecost cloud-native cloudnative kubernetes kubernetes-costs infracloud

Bootstrap 5 Complete Course with Examples

Bootstrap 5 Tutorial - Bootstrap 5 Crash Course for Beginners

Nest.JS Tutorial for Beginners

Hello Vue 3: A First Look at Vue 3 and the Composition API

Building a simple Applications with Vue 3

Deno Crash Course: Explore Deno and Create a full REST API with Deno

How to Build a Real-time Chat App with Deno and WebSockets

Convert HTML to Markdown Online

HTML entity encoder decoder Online

50+ Useful Kubernetes Tools for 2020 - Part 2

Our original Kubernetes tool list was so popular that we've curated another great list of tools to help you improve your functionality with the platform.

How native is React Native? | React Native vs Native App Development

Article covers: How native is react native?, React Native vs (Ionic, Cordova), Similarities and difference between React Native and Native App Development.

Kubernetes: Monitoring, Reducing, and Optimizing Your Costs

Kubernetes: Monitoring, Reducing, and Optimizing Your Costs. I will discuss the top five techniques we used to better utilize our Kubernetes clusters on the cloud and eliminate wasted resources, thus saving money. In the end, we were able to cut our monthly bill by more than 50%!

Multi-cloud Spending: 8 Tips To Lower Cost

Mismanagement of multi-cloud expense costs an arm and leg to business and its management has become a major pain point. Here we break down some crucial tips to take some of the management challenges off your plate and help you optimize your cloud spend.

Kubernetes in the Cloud: Strategies for Effective Multi Cloud Implementations

This article explains how you can leverage Kubernetes to reduce multi cloud complexities and improve stability, scalability, and velocity.