How mohammed-005/devops-capstone-app works
This repository is a DevOps capstone: its product is a Flask service delivered through CI and pull-based GitOps, then operated on Kubernetes with autoscaling and observability. The graph preserves that documented workflow and its major stages. Application, workflow, and manifest contents were not sampled, so relationships are based on README statements; the graph does not infer wiring from filenames alone.
Main entry points: ci.yaml CI workflow · app.py Flask service · argocd-app.yaml ArgoCD application · hpa.yaml Horizontal autoscaler
Components 16
Application
- Flask service
app.py - Prometheus exporter
requirements.txt
CI and Artifact
- CI workflow
.github/workflows/ci.yaml - Image build
Dockerfile - Trivy scan
- AWS ECR
GitOps Deployment
- ArgoCD application
argocd-app.yaml - Helm chart
helm/capstone-chart/values.yaml - Kubernetes templates
helm/capstone-chart/templates - Kubernetes cluster
- App deployment
k8s/app-deploy.yaml
Operations and Monitoring
- Horizontal autoscaler
helm/capstone-chart/templates/hpa.yaml - Metrics Server
- Prometheus and Grafana
- Service monitoring config
helm/capstone-chart/templates/servicemonitor.yaml
Other components
- Main-branch push
Connections 16
- Main-branch push → CI workflow: triggers
README.md - CI workflow → Image build: builds
README.md - CI workflow → Trivy scan: scans image
README.md - CI workflow → AWS ECR: pushes verified image
README.md - ArgoCD application → Helm chart: monitors
README.md - ArgoCD application → Kubernetes cluster: syncs state
README.md - Helm chart → Kubernetes templates: renders
README.md - Kubernetes templates → Kubernetes cluster: configures
README.md - Kubernetes cluster → AWS ECR: pulls image
README.md - Kubernetes cluster → App deployment: runs deployment
README.md - Kubernetes cluster → Flask service: runs service
README.md - Horizontal autoscaler → Metrics Server: reads CPU metrics
README.md - Horizontal autoscaler → Kubernetes cluster: scales replicas
README.md - Service monitoring config → Prometheus and Grafana: configures scraping
README.md - Prometheus and Grafana → Flask service: scrapes health metrics
README.md - Flask service → Prometheus exporter: uses dependency
README.md