Interview Prep/Azure/AKS and Containers

You need to expose three services from AKS on one public IP with TLS. What do you use?

BeginnerScenarioAKS and Containers
Answer

Situation read → An ingress controller with host or path routing.

What I'd do →

  1. Enable the app routing add-on: az aks approuting enable -g rg -n aks
  2. Create Ingress resources with ingressClassName: webapprouting.kubernetes.azure.com and host rules
  3. Store certs in Key Vault, integrate with az aks approuting update --enable-kv --attach-kv <kvId>, reference via annotation kubernetes.azure.com/tls-cert-keyvault-uri
  4. DNS A records pointing at the ingress public IP (or Azure DNS integration via az aks approuting zone add)

Why → One LB frontend, managed controller lifecycle, certificates rotated from Key Vault.

Interview tip → Mention Gateway API as the forward-looking choice.

Azure All Azure questions Roadmap: AKS & Azure DevOps

More on AKS and Containers