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.
More on AKS and ACR Errors
Pods show `ImagePullBackOff` with `failed to authorize: failed to fetch anonymous token: unexpected status from GET request to https://acrshop.azurecr.io/oauth2/token?...: 401 Unauthorized`.Beginner`Failed to pull image "acrshop.azurecr.io/shop/web:v3": ... manifest unknown` or `not found`.Beginner`ImagePullBackOff` with `dial tcp: lookup acrshop.azurecr.io on 168.63.129.16:53: no such host` or connection timeouts to the registry.Advanced`exec /usr/local/bin/python: exec format error` in pod logs right after deploying a new image.BeginnerPods are `Pending`: `0/3 nodes are available: 3 Insufficient cpu. preemption: 0/3 nodes are available: 3 No preemption victims found for incoming pod.`BeginnerCluster autoscaler events show `pod didn't trigger scale-up: 1 max node group size reached` or `NotTriggerScaleUp`.Intermediate