#13 6 pages
MLOps — Machine Learning Operations
MLOps applies DevOps/GitOps principles to ML: version control for data and models, automated retraining pipelines, and production monitoring beyond CPU/memory.
0/0 checks
How MLOps Relates to What You Know
graph LR
subgraph Known["What you already know"]
CICD["CI/CD<br/>GitHub Actions · ArgoCD"]
K8S["Kubernetes<br/>Jobs · CronJobs · Operators"]
OBS["Observability<br/>Prometheus · Grafana"]
DOCKER["Docker<br/>container images · registries"]
end
subgraph MLOps["MLOps equivalents"]
EXP["Experiment Tracking<br/>MLflow · W&B<br/>≈ structured test logs with artifacts"]
PIPE["Training Pipelines<br/>Kubeflow · Airflow<br/>≈ CI pipeline but for data/models"]
DRIFT["Drift Detection<br/>Evidently · Whylogs<br/>≈ alerting but for data distribution"]
FEAT["Feature Stores<br/>Feast · Tecton<br/>≈ shared cache for ML features"]
end
DOCKER -->|model images| EXP
CICD -->|trigger training| PIPE
K8S -->|run training Jobs| PIPE
OBS -->|model metrics| DRIFT
In the diagram, both CI/CD and Kubernetes feed into Training Pipelines — one via "trigger training," the other via "run training Jobs." What's the actual division of labor between them?
CI/CD decides when: it's the event source, the same role it plays
triggering a deploy. Kubernetes provides where: the Jobs/CronJobs/Operators
that actually execute the training workload once triggered. Neither one replaces the
other — the pipeline needs a trigger and a place to run, same as any CI/CD workflow.
Observability maps to Drift Detection, labeled "model metrics." Why can't the existing Prometheus/Grafana stack just be pointed at a model unmodified?
Prometheus/Grafana are built to alert on infrastructure metrics — CPU, memory,
latency. A model can look perfectly healthy on all of those while quietly degrading,
because the failure mode is the production input data drifting away from what the
model was trained on. That's a statistical-distribution problem, not a resource
problem, which is why it needs a dedicated tool (Evidently/Whylogs) rather than a new
Grafana panel — this is the "production monitoring beyond CPU/memory" the intro
calls out.
Files
| File | Topics |
|---|---|
| experiment-tracking.md | MLflow runs/experiments/registry, W&B sweeps, artifact versioning, model promotion |
| training-pipelines.md | Kubeflow Pipelines components/DAGs, Airflow operators, retraining triggers, K8s Jobs |
| data-drift.md | Evidently reports, feature drift detection, retraining triggers, shadow scoring, A/B testing |
| feature-stores.md | Feast architecture, online vs offline store, point-in-time joins, training/serving skew |
| model-cicd.md | ML deployment pipeline, GitHub Actions integration, MLflow Model Registry, evaluation gates, KServe canary, rollback |
| data-versioning.md | DVC pointer files and pipelines, Delta Lake ACID + time travel, OpenLineage, feature store versioning |
The ML Lifecycle (DevOps Analogy)
| DevOps concept | MLOps equivalent |
|---|---|
git commit |
Log experiment run (params + metrics) |
| Container image tag | Model version in registry |
| Staging environment | Model in "Staging" registry stage |
| Production deploy | Promote model to "Production" stage |
| CI pipeline | Training pipeline (data → model) |
| Smoke test | Model evaluation gate (accuracy > threshold) |
| Rollback | Revert model registry to previous version |
| Dependency lock file | requirements.txt + data snapshot hash |
| Feature flag | A/B traffic split between model versions |
Per the table, what happens right after a model clears its evaluation gate, and what does that promotion step correspond to on the DevOps side?
It gets promoted to the "Production" registry stage — the direct equivalent of a
production deploy. "Staging" and "Production" here aren't different artifacts, just
different labels on the same model version in the registry, the same way an
environment tag doesn't change what's inside a container image.
Learning Path
1. experiment-tracking.md — understand how models are versioned. Start here.
2. training-pipelines.md — build automated training workflows on K8s.
3. data-drift.md — monitor production, trigger retraining.
4. feature-stores.md — advanced: shared feature layer for training/serving consistency.
5. model-cicd.md — deploy models to production: GitHub Actions, MLflow registry, KServe canary, rollback.
6. data-versioning.md — version datasets and pipelines: DVC, Delta Lake, OpenLineage, feature store versioning.
Pages in this section
Experiment Tracking & Model Registry
Experiment tracking is structured logging for ML: instead of a test report, you record the hyperparameters, metrics, and model artifacts of every training run s
Training Pipelines
A training pipeline is a CI/CD pipeline for ML: instead of build → test → deploy, it's data-prep → train → evaluate → register → deploy. Each step is a containe
Data Drift, Model Monitoring & Retraining Triggers
Monitoring a model in production requires more than Prometheus metrics. The model can degrade silently — same CPU/memory, but wrong answers — because the world
Feature Stores
A feature store solves one problem: training-serving skew — the model trains on one version of a feature and serves predictions using a different version, silen
CI/CD for ML Models
Where software CI/CD validates code correctness (tests pass/fail), ML model CI/CD validates model quality — accuracy above threshold, no performance regression
Data Versioning
Code lives in git. Data is different: it is large, binary, mutable, and its changes are just as likely to break your model as a code bug. Data versioning gives