Interview Prep/Azure/AKS and Containers

You need to run a GPU workload on an existing AKS cluster. What do you do?

IntermediateScenarioAKS and Containers
Answer

Situation read → Separate GPU user node pool, tainted, scaled to zero when idle.

What I'd do →

  1. Check quota for the GPU family (az vm list-usage -l centralindia | grep -i NC)
  2. Add the pool: az aks nodepool add -g rg --cluster-name aks -n gpu --node-vm-size Standard_NC4as_T4_v3 --node-taints sku=gpu:NoSchedule --enable-cluster-autoscaler --min-count 0 --max-count 3
  3. Install the NVIDIA device plugin (or GPU Operator) if the AKS GPU image doesn't handle it
  4. Workloads request nvidia.com/gpu: 1 with a matching toleration

Why → Taints keep regular pods off expensive GPUs; min 0 stops paying when idle.

Interview tip → Mention GPU quota is often zero by default and needs a request.

Azure All Azure questions Roadmap: AKS & Azure DevOps

More on AKS and Containers