How sherifemad20/azure-aks-python-microservices-devops works
This repository is primarily a deployment blueprint for Azure-hosted Python microservices, rather than a complete application source tree. Its documented workflow provisions a self-hosted GitHub runner, provisions the application platform, then uses GitHub Actions to build and deploy the service; ingress, certificates, and monitoring provide supporting capabilities. The application package imported by run.py is absent from the supplied tree, so its internals cannot be mapped. Relationships below follow the README; unsampled Terraform and Kubernetes implementation details are not inferred.
Main entry points: Terraform/main.tf Platform provisioning · pipeline.yaml Build and deploy · aks/main.tf AKS cluster · k8s.yaml Runner StatefulSet
Components 18
Self-hosted runner
- Runner provisioning
github-runner/Terraform/main.tf - Runner VM
github-runner/Terraform/modules/virtual_machine/main.tf - Runner StatefulSet
github-runner/k8s.yaml - Runner startup
github-runner/start.sh
Azure application platform
- Platform provisioning
Terraform/main.tf - Container registry
Terraform/modules/acr/main.tf - AKS cluster
Terraform/modules/aks/main.tf - Helm platform charts
Terraform/modules/helm_charts/main.tf
Application delivery
- Build and deploy
.github/workflows/pipeline.yaml - Python service image
Dockerfile - Kubernetes deployment
Deployment_k8s/Deployment.yaml
Traffic and observability
- NGINX ingress
Terraform/modules/helm_charts/main.tf - Certificate issuers
Deployment_k8s/ClusterIssuers/cluster-issuer-prod.yaml - Prometheus monitoring
Terraform/modules/helm_charts/main.tf - Grafana dashboards
Terraform/modules/helm_charts/main.tf
Other components
- Operator
- GitHub Actions
- Azure services
Connections 19
- Operator → Runner provisioning: applies first
README.md - Runner provisioning → Azure services: provisions runner
README.md - Operator → Runner StatefulSet: deploys StatefulSet
README.md - Runner VM → Runner StatefulSet: hosts on k3s
README.md - Runner StatefulSet → Runner startup: starts runner
- Operator → Platform provisioning: applies second
README.md - Platform provisioning → Azure services: provisions platform
README.md - Platform provisioning → Container registry: creates registry
- Platform provisioning → AKS cluster: creates cluster
- Platform provisioning → Helm platform charts: installs charts
- GitHub Actions → Build and deploy: triggers workflow
README.md - Build and deploy → Python service image: builds image
README.md - Build and deploy → Container registry: pushes image
README.md - Build and deploy → Kubernetes deployment: deploys application
README.md - Kubernetes deployment → AKS cluster: runs on cluster
README.md - Operator → Certificate issuers: applies issuers
README.md - AKS cluster → NGINX ingress: routes through
README.md - AKS cluster → Prometheus monitoring: hosts monitoring
README.md - Prometheus monitoring → Grafana dashboards: visualizes metrics
README.md