A complete DevOps pipeline for a simple Flask web application. This project demonstrates containerization, automated CI/CD, and real-time monitoring using Prometheus and Grafana.
- Docker & DockerHub
- GitHub Actions for CI/CD
- Kubernetes (Deployment + Service)
- Monitoring with Prometheus & Grafana
- Python + Flask
- Docker
- GitHub Actions
- Kubernetes
- Prometheus & Grafana
.
βββ app.py
βββ requirements.txt
βββ Dockerfile
βββ k8s-deployment.yaml
βββ .github/
βββ workflows/
βββ deploy.yml
- Build & Push Docker Image:
docker build -t your-dockerhub/flask-app .
docker push your-dockerhub/flask-app- Apply Kubernetes Resources:
kubectl apply -f k8s-deployment.yaml- Configure Prometheus to scrape metrics.
Demonstrates a real-world DevOps pipeline with full automation, deployment, and monitoring β a key requirement for production environments.