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 →
- Check quota for the GPU family (
az vm list-usage -l centralindia | grep -i NC) - 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 - Install the NVIDIA device plugin (or GPU Operator) if the AKS GPU image doesn't handle it
- Workloads request
nvidia.com/gpu: 1with 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.
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?AdvancedA noisy application keeps starving other workloads on shared nodes. How do you fix it?BeginnerYou must move an AKS workload from one cluster to a new cluster with zero downtime.Advanced