A production-grade MLOps pipeline built from scratch with all industry-standard tools.
- Data Pipeline: Apache Airflow DAGs for ingestion, validation, feature engineering
- Experiment Tracking: MLflow with MinIO artifact storage
- Model Serving: FastAPI with A/B testing and shadow mode
- Monitoring: Prometheus + Grafana with drift detection
- Orchestration: Kubernetes with HPA auto-scaling
- CI/CD: Docker multi-stage builds
| Component | Tool |
|---|---|
| Workflow | Apache Airflow 2.9 |
| Tracking | MLflow 2.17 |
| Serving | FastAPI + uvicorn |
| Storage | MinIO (S3-compatible) |
| Containers | Docker + Kubernetes |
| Monitoring | Prometheus + Grafana |
| Drift | Scipy KS Test |
- Phase 1: Project structure, FastAPI, Docker, tests
- Phase 2: Airflow data pipeline, feature engineering
- Phase 3: MLflow training, 10-trial HP search, model registry
- Phase 4: Kubernetes deployment, Prometheus, Grafana
- Phase 5: Drift detection, auto-retraining
- Phase 6: A/B testing (90/10 split), shadow mode, champion-challenger
powershell docker compose up -d
MLflow → http://localhost:5000
Airflow→ http://localhost:8080 (admin/admin)
Grafana→ http://localhost:3000 (admin/admin)
Iris classification (150 samples, 3 classes) used as a proxy. The pipeline architecture is dataset-agnostic.