Interview Prep/Azure/AKS and ACR Errors

Pods are `OOMKilled` repeatedly (`Last State: Terminated, Reason: OOMKilled, Exit Code: 137`).

BeginnerTroubleshootingAKS and ACR Errors
Answer

Likely causes → Memory limit too low, memory leak, or JVM/.NET heap not container-aware.

Diagnose →

kubectl describe pod <pod> -n shop | grep -A3 "Last State"
kubectl top pod -n shop

Container Insights memory working set charts over time.

Fix → Raise limits to observed peak plus headroom, set runtime heap flags (-XX:MaxRAMPercentage=75), fix leaks.

Prevent → Alerts on OOMKilled events; VPA recommendations.

Azure All Azure questions Roadmap: AKS & Azure DevOps

More on AKS and ACR Errors