AMportfolio@v3.0.0
๐Ÿ‘‹ Ask me anything!
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