Posted in

AKS Cost Analysis β€” Works With Free-Tier AKS

πŸ”Ή Feature: AKS Cost Analysis β€” Works With Free-Tier AKS
πŸ”Ή What It Does: Microsoft’s open-source example exports AKS cost data to Azure Blob Storage as a daily CSV β€” breaking down costs by both Kubernetes

What Is It Giving You:
βœ… Cost Visibility for Free-Tier AKS: The built-in AKS cost analysis add-on requires Standard or Premium tier. This open-source export provides the same namespace-level cost breakdown for Free-tier clusters β€” ideal for dev/test, learning environments, and small workloads.
βœ… Daily CSV in Azure Blob: A results.csv file lands in your storage account every day. Plug it into Power BI, Excel, Looker, or your data lake β€” your FinOps tooling, your choice.
βœ… Two Worlds Joined in One File: Traditional Azure Cost Management data (resource group, region, meter, tags) joined with Kubernetes constructs (namespace, deployment, app/team labels, service). The joined view you’ve always wanted.
βœ… Multi-Cluster Aggregation: Configure per-cluster data paths but merge into a single result file β€” consolidate AKS clusters across subscriptions into one dashboard. Multi-tenant chargeback made simple.
βœ… Microsoft Entra Workload Identity: Securely authenticate to Azure Storage without connection strings β€” Zero Trust-friendly out of the box.
βœ… Run as a Kubernetes CronJob: Deploy natively in your cluster. Export and merge phases run as separate jobs β€” export on every cluster, merge on one. Standard Kubernetes pattern.
βœ… Self-Hostable & Forkable: Source code in the official Azure/AKS repo. Build and customize your own container image and schema β€” your cost pipeline, your rules.

🌐 https://github.com/Azure/AKS/tree/master/examples/cost-analysis-export

Microsoft Certified Trainer, Office 365, AWS, Azure and Cloud Expert-Architect. In the IT world for over than 20 years.

Apart from the main area of Microsoft Azure expert in the field of infrastructure servers Windows Server 2003-2019, Microsoft Active Directory, Hyper-V Private Cloud, IIS, System Center, SQL.

Private Cloud, System Center, Hyper-V, Open Stack Expert and all Microsoft products Expert. Linux Server administrator.

My Azure community projects:

https://mazeball.azurewebsites.net/
https://github.com/MariuszFerdyn?tab=repositories

More