Allocating Costs for Containers
In this chapter, we will explore how to allocate costs for container workloads. Microservices have gained popularity, and running containers in Azure Kubernetes Service (AKS) poses challenges in allocating costs for showback and chargeback purposes. Shared AKS clusters bring another challenge. We will offer a brief overview of Azure Container Instances (ACI) and AKS from a tagging perspective. Since Azure’s native cost allocation capability for AKS is very limited, we will explore the open source tool called Kubecost. FinOps teams rely on Kubecost, and it has become an industry standard for in-cluster, external, and shared cost allocation and visibility. We will also examine the showback and chargeback mechanisms using Kubecost.
In this chapter, we will cover the following topics:
- FinOps challenges for containerized workloads
- ACI cost allocation
- Introducing Kubecost
- AKS cost allocation
- Showback and chargeback for shared...