Interview Prep/Azure/AKS and Containers

Your AKS bill doubled. Where do you look?

IntermediateScenarioAKS and Containers
Answer

Situation read → Usually nodes (autoscaler, oversized pools), Log Analytics ingestion, or networking.

What I'd do →

  1. Cost analysis by meter for the node RG and the workspace
  2. Check autoscaler events and node count history; look for pods with huge requests preventing scale-down (kubectl top, Container Insights)
  3. Check Log Analytics usage: Usage | where TimeGenerated > ago(30d) | summarize sum(Quantity) by DataType
  4. Enable AKS cost analysis add-on for per-namespace allocation
  5. Fixes: right-size requests, Spot for batch, reservations for baseline, filter or Basic-plan container logs

Why → Data drives the fix; guessing leads to cutting the wrong thing.

Interview tip → Always mention Log Analytics; it's the AKS cost surprise nobody budgets for.

Azure All Azure questions Roadmap: AKS & Azure DevOps

More on AKS and Containers