How would you migrate from Container Apps to AKS (or the reverse) for a service?
AdvancedScenarioAKS and Containers
Answer
Situation read → Same container image; the difference is runtime config, identity, networking and scaling definitions.
What I'd do →
- Inventory: env vars, secrets (Key Vault refs), scaling rules (KEDA triggers map 1:1), ingress, Dapr components
- Translate to Kubernetes manifests or Helm: Deployment, Service, Ingress, ScaledObject, SecretProviderClass
- Recreate the managed identity federation for AKS workload identity
- Run both in parallel behind Front Door and shift traffic by weight
- Decommission after a soak period
Why → Container images are portable; platform glue isn't, so map it deliberately.
Interview tip → Mention KEDA is in both platforms, which makes scaling rules portable.
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