Interview Prep/Azure/AKS and Containers

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 →

  1. Inventory: env vars, secrets (Key Vault refs), scaling rules (KEDA triggers map 1:1), ingress, Dapr components
  2. Translate to Kubernetes manifests or Helm: Deployment, Service, Ingress, ScaledObject, SecretProviderClass
  3. Recreate the managed identity federation for AKS workload identity
  4. Run both in parallel behind Front Door and shift traffic by weight
  5. 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.

Azure All Azure questions Roadmap: AKS & Azure DevOps

More on AKS and Containers