liveBook · Manning

Chapter 5: Orchestrating ML pipelines

What you will learn in chapter 5 of Machine Learning Platform Engineering

This introduction explains why MLflow and Feast need pipeline orchestration and previews an income-classification batch inference workflow built with Kubeflow Pipelines.

After this chapter you will be able to

What it builds on

Section by section

Introduction

This introduction explains why MLflow and Feast need pipeline orchestration and previews an income-classification batch inference workflow built with Kubeflow Pipelines.

Key terms: MLflow, Feast, pipeline orchestration, Kubeflow Pipelines (KFP), batch pipeline, model inference, income classification, pipeline components

5.1 Kubeflow Pipelines: Task orchestrator

This section introduces Kubeflow Pipelines as a way to assemble isolated ML tasks into repeatable workflows, using a typical inference pipeline as the example.

Key terms: inference pipeline, runtime parameters, KFP, SDK, components, Kubernetes pod, Kubeflow pipeline, Kubeflow components, repeatable, standardize steps

5.1.1 Kubeflow components

This section builds four reusable Kubeflow components for an income-classifier inference pipeline and explains how to package, connect, and design them.

Key terms: MinIO, Feast, MLflow, Kubeflow component, component.yaml, Docker image, Dataset, inputPath, outputPath, data_output_path

5.1.2 Income classifier pipeline

This section builds and runs an income classifier workflow in Kubeflow Pipelines, from connecting component tasks to inspecting a completed run.

Key terms: directed acyclic graph (DAG), task.outputs, fetch_data_task, retrieve_features_task, run_inference_task, write_data_task, load_component_from_file, @dsl.pipeline, pipeline parameters, compiler

5.2 Summary

The section summarizes how Kubeflow Pipelines orchestrates ML workflows by connecting reusable components and managing their execution.

Where this is used later

Concepts explained in this chapter

← Chapter 4: Designing reliable ML systems Chapter 6: Productionizing ML models →

These guides are generated from the text of Manning books by Manning's knowledge graph and link to the sections they draw on. The full books are available on liveBook and at manning.com.