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 →
- Cost analysis by meter for the node RG and the workspace
- Check autoscaler events and node count history; look for pods with huge requests preventing scale-down (
kubectl top, Container Insights) - Check Log Analytics usage:
Usage | where TimeGenerated > ago(30d) | summarize sum(Quantity) by DataType - Enable AKS cost analysis add-on for per-namespace allocation
- 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.
More on AKS and Containers
You're asked to build a production AKS cluster. Walk through your key decisions.IntermediateA team wants to deploy a new microservice to AKS that reads a database password. How do you wire secrets?BeginnerYou need to upgrade a production AKS cluster from 1.31 to 1.33. Plan it.AdvancedPods need to scale on Service Bus queue length, not CPU. How?AdvancedYou need to run a GPU workload on an existing AKS cluster. What do you do?IntermediateA noisy application keeps starving other workloads on shared nodes. How do you fix it?Beginner