Provide a CI/CD flow that builds Docker images, pushes to ACR, and deploys to AKS for a dev environment sized for ~10 users.
Include Kubernetes manifests and Prometheus scrape annotations so the service can be run and monitored in AKS.
Document provisioning and monitoring steps (Azure Managed Prometheus/Grafana) so operators can reproduce the dev setup.
Description
Replace the previous pipeline steps in azure-pipelines.yml with a two-stage Azure DevOps pipeline that builds and pushes a Docker image using the Docker@2 task and then applies Kubernetes manifests to AKS using Kubernetes@1 tasks, with variables for dockerRegistryServiceConnection, kubernetesServiceConnection, imageRepository, containerRegistry, dockerfilePath, tag, and namespace.
Add Kubernetes manifests in k8s/ including namespace.yaml, deployment.yaml, service.yaml, and ingress.yaml; the deployment sets replicas: 2, resource requests/limits, readiness and liveness probes, and Prometheus scrape annotations.
Add docs/aks-cicd.md documenting AKS/ACR provisioning commands, suggested sizing (2x Standard_B2s nodes), enabling Azure Managed Prometheus/Grafana, and setup of the Azure DevOps service connections used by the pipeline.
Keep the ingress host and ACR/AKS connection names configurable so the pipeline and manifests can be adapted to different environments.
Testing
No automated tests were run against these changes (documentation and manifest updates only).
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Motivation
Description
Testing
Codex Task