الفلاتر
طريقة البحث
  • الكلمات العادية تجد الأسماء والنصوص والأمثلة.
  • "كلمتان" تجد العبارة بالضبط.
  • --name أو -x تجد خيارًا.
  • #كلمة تبحث داخل الأوامر فقط.
  • @grep تجد الدروس والمعامل التي تستخدم grep.
  • الفلاتر: cat:network · in:labs · level:rhcsa · ch:8 · root:yes. ضع ! قبل كلمة لاستبعادها. OR بين الكلمات تعني إحداها.
  • ↑ ↓ للتنقل · Enter للفتح · Esc للإغلاق · / للبحث

الفصل 2الاسم في الدورة: The MLOps lifecycle

Follow the ML lifecycle

An ML system goes in a circle: data → training → evaluation → deployment → monitoring → back to data. MLOps automates each step and connects them, so a model can be retrained and shipped safely, again and again.

  • 4 الدروس
  • 1 الأوامر

هذا الجزء لم يُترجم بعد. أنت ترى النص الإنجليزي.

$ مستخدم عادي# بصلاحية root (أو مع sudo)

2.1

See the lifecycle

Each step has its own tools and checks.

StepWorkTypical tools
DataCollect, clean, version, validateDVC, Great Expectations, data lakes
FeaturesCompute inputs the same way in training and servingFeature stores (Feast)
TrainingRun experiments, track resultsNotebooks, MLflow, Weights & Biases
EvaluationCompare with the current model, check fairnessMLflow, custom tests
RegistryStore approved model versionsMLflow Model Registry
DeploymentServe the model as an API or batch jobFastAPI, KServe, Seldon, BentoML
MonitoringWatch quality, drift, latency, costEvidently, Prometheus, Grafana

2.2

Know the maturity levels

Teams grow from manual work to full automation.

LevelWhat it looks like
0 — manualNotebook → model file → someone copies it to a server
1 — pipelineTraining is an automated pipeline; models are retrained on new data
2 — CI/CD for pipelinesPipeline code is tested and deployed by CI/CD; models promoted by rules

2.3

Version everything

Reproducible = you can say exactly which code, data, parameters and environment made a model.

git tag model-fraud-v12
dvc add data/transactions.parquet
git add data/transactions.parquet.dvc .gitignore
dvc push
pip freeze > requirements.lock
WhatHow
CodeGit
DataDVC, lakeFS, or dated snapshots in object storage
Parameters and metricsExperiment tracking (MLflow)
EnvironmentContainer image with pinned packages
ModelModel registry with version and stage

الأوامر في هذا الدرس

2.4

Add DevSecOps to ML

Models and data are assets — and new attack surfaces.

  • Scan training and serving images like any image (container security).
  • Protect training data (PII): access control, encryption, data minimisation.
  • Pickled model files can run code when loaded — load only trusted, signed artifacts; prefer safe formats (ONNX, safetensors).
  • Limit and log access to model APIs (rate limits, auth) — models can leak data through their answers.

كل الأوامر في هذا الفصل