A Windows .NET Framework app must run on AKS. What changes?
IntermediateScenarioAKS and Containers
Answer
Situation read → Windows node pool alongside Linux system pool.
What I'd do →
- Add a Windows pool:
az aks nodepool add -g rg --cluster-name aks -n win22 --os-type Windows --os-sku Windows2022 - Pool names for Windows max 6 characters
- Use
nodeSelector: kubernetes.io/os: windowson Windows workloads; ensure Linux workloads select Linux - Build images on
mcr.microsoft.com/dotnet/framework/aspnet:4.8-windowsservercore-ltsc2022matching the node OS version - Plan for larger images and slower pulls
Why → Windows containers must match the host OS version and need explicit scheduling.
Interview tip → Mention Azure CNI is required (kubenet doesn't support Windows).
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