Azure AKS
1. Create AKS Cluster
Section titled “1. Create AKS Cluster”az group create --name justapi-rg --location eastusaz aks create \ --resource-group justapi-rg \ --name justapi-cluster \ --node-count 3 \ --enable-managed-identity2. Get Credentials
Section titled “2. Get Credentials”az aks get-credentials --resource-group justapi-rg --name justapi-cluster3. Install NGINX Ingress Controller
Section titled “3. Install NGINX Ingress Controller”kubectl apply -f https://raw.githubusercontent.com/kubernetes/ingress-nginx/main/deploy/static/provider/cloud/deploy.yaml4. Install cert-manager
Section titled “4. Install cert-manager”kubectl apply -f https://github.com/cert-manager/cert-manager/releases/latest/download/cert-manager.yaml5. Build and Push to ACR
Section titled “5. Build and Push to ACR”az acr create --resource-group justapi-rg --name justapiacr --sku Basicaz acr build --registry justapiacr --image justapi-app:latest .6. Attach ACR to AKS
Section titled “6. Attach ACR to AKS”az aks update --resource-group justapi-rg --name justapi-cluster --attach-acr justapiacr7. Deploy with Helm
Section titled “7. Deploy with Helm”helm upgrade --install my-app justapi/justapi \ --set image.repository=justapiacr.azurecr.io/justapi-app \ --set image.tag=latest \ --set ingress.enabled=true \ --set ingress.host=api.example.comSee Also
Section titled “See Also”- Google Cloud (GKE) — Deploy on GCP
- Amazon EKS — Deploy on AWS
- Kubernetes / Helm — Helm chart reference