Interview Prep/Azure/AKS and Containers

Your team wants to adopt GitOps on AKS. What do you set up?

IntermediateScenarioAKS and Containers
Answer

Situation read → Flux extension or Argo CD, a repo structure per environment, CI only updates image tags.

What I'd do →

  1. Repo layout: apps/base, apps/overlays/{dev,prod}, clusters/{dev,prod} with Kustomizations
  2. Install Flux via az k8s-configuration flux create (or Argo CD via Helm)
  3. CI builds and pushes, then opens a PR bumping the image tag in the overlay (or Flux image automation)
  4. Prod changes require PR approval; Flux reconciles every few minutes and reports drift

Why → Git becomes the deployment audit log, and CI no longer needs cluster credentials.

Interview tip → Highlight that CI loses kube credentials, a security win.

Azure All Azure questions Roadmap: AKS & Azure DevOps

More on AKS and Containers