Book Image

Machine Learning on Kubernetes

By : Faisal Masood, Ross Brigoli
Book Image

Machine Learning on Kubernetes

By: Faisal Masood, Ross Brigoli

Overview of this book

MLOps is an emerging field that aims to bring repeatability, automation, and standardization of the software engineering domain to data science and machine learning engineering. By implementing MLOps with Kubernetes, data scientists, IT professionals, and data engineers can collaborate and build machine learning solutions that deliver business value for their organization. You'll begin by understanding the different components of a machine learning project. Then, you'll design and build a practical end-to-end machine learning project using open source software. As you progress, you'll understand the basics of MLOps and the value it can bring to machine learning projects. You will also gain experience in building, configuring, and using an open source, containerized machine learning platform. In later chapters, you will prepare data, build and deploy machine learning models, and automate workflow tasks using the same platform. Finally, the exercises in this book will help you get hands-on experience in Kubernetes and open source tools, such as JupyterHub, MLflow, and Airflow. By the end of this book, you'll have learned how to effectively build, train, and deploy a machine learning model using the machine learning platform you built.
Table of Contents (16 chapters)
1
Part 1: The Challenges of Adopting ML and Understanding MLOps (What and Why)
5
Part 2: The Building Blocks of an MLOps Platform and How to Build One on Kubernetes
10
Part 3: How to Use the MLOps Platform and Build a Full End-to-End Project Using the New Platform

Reviewing the complete picture of the ML platform

In the preceding chapters, you have built a complete ML platform on top of Kubernetes. You have installed, configured, and explored the different components of the platform. Before you start using the platform, let's take a step back and look at the platform you have built from the tooling perspective. Figure 8.1 shows the complete logical architecture of the platform:

Figure 8.1 – Logical platform architecture

The diagram in Figure 8.1 also shows the interaction of each platform component. The entire platform runs inside Kubernetes and is managed entirely by the Open Data Hub (ODH) operator. Although MinIO is not officially part of the ODH project, we have added it as another component operated by the ODH operator on the platform you just built. In the real world, you will have an S3 storage server already in place, and you will not need to include MinIO in your Kfdef file. It is also important...