Developers want to pull images from Docker Hub in AKS, and builds keep hitting rate limits. What do you do?
BeginnerScenarioAKS and Containers
Answer
Situation read → Mirror public images into ACR.
What I'd do →
- Import needed base images:
az acr import -n acrshop --source docker.io/library/python:3.12-slim --image base/python:3.12-slim - Or set up an ACR cache rule (artifact cache) so
acrshop.azurecr.io/docker/library/pythonpulls through - Update Dockerfiles and manifests to use ACR paths
- Add Azure Policy allowing images only from
acrshop.azurecr.io
Why → No rate limits, faster pulls in-region, and one place to scan images.
Interview tip → Mention ACR Tasks base-image triggers to keep these mirrors patched.
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