All Case Studies
AKS ยท CI/CD ยท DevOps
AKS Deployment with Azure DevOps CI/CD
Containerized Web App โ End to End
RG: rg-aks-devopsRegion: East USAKS Cluster: aks-platformACR: acrplatformpro3.azurecr.ioNamespace: devNode OS: Linux amd64
Overview
Built a complete containerized application lifecycle on Azure โ from Docker build to ACR image storage, AKS deployment, and full production observability with Prometheus and Grafana. The Azure DevOps pipeline automates build, push, and deploy on every commit. Kubernetes Ingress handles external routing. AlertManager is configured for CPU, memory, pod crash, and replica mismatch alerts.
Pipeline Stages
1
Checkout Code
Pull latest from repo
2
Build Docker Image
ubuntu-latest agent
3
Push to ACR
Tagged BuildId + latest
4
Deploy to AKS
kubectl apply -f
5
Rollout Status
kubectl rollout status
6
Live โ
NGINX Ingress โ Internet
Architecture Flow
๐ป
Dev Team / Code Repo
โ
Azure DevOps Pipeline
Build & Push
๐ฆ
Azure Container Registry
acrplatformpro3.azurecr.io
โธ
AKS Cluster
aks-platform ยท 2 pods
๐
ClusterIP Service
๐
NGINX Ingress
โ
Internet / External Access
Real Problem Solved
Challenge Solved
Resolved exec format error (CrashLoopBackOff) caused by a Windows-built Docker image running on Linux AKS nodes โ fixed by switching the pipeline build agent to ubuntu-latest.
Key Outcomes
โ2 replicas running โ zero manual deploys
โPrometheus + Grafana โ full cluster observability
โAutomated pipeline โ commit to live in under 3 mins
Tech Stack
Azure DevOpsDockerAKSACRKubernetesPrometheusGrafanaHelmNGINX IngressYAML
Resource Details
Resource Grouprg-aks-devops
RegionEast US
AKS Clusteraks-platform
ACRacrplatformpro3.azurecr.io
Namespacedev
Node OSLinux amd64