Book Image

MLOps with Red Hat OpenShift

By : Ross Brigoli, Faisal Masood
Book Image

MLOps with Red Hat OpenShift

By: Ross Brigoli, Faisal Masood

Overview of this book

MLOps with OpenShift offers practical insights for implementing MLOps workflows on the dynamic OpenShift platform. As organizations worldwide seek to harness the power of machine learning operations, this book lays the foundation for your MLOps success. Starting with an exploration of key MLOps concepts, including data preparation, model training, and deployment, you’ll prepare to unleash OpenShift capabilities, kicking off with a primer on containers, pods, operators, and more. With the groundwork in place, you’ll be guided to MLOps workflows, uncovering the applications of popular machine learning frameworks for training and testing models on the platform. As you advance through the chapters, you’ll focus on the open-source data science and machine learning platform, Red Hat OpenShift Data Science, and its partner components, such as Pachyderm and Intel OpenVino, to understand their role in building and managing data pipelines, as well as deploying and monitoring machine learning models. Armed with this comprehensive knowledge, you’ll be able to implement MLOps workflows on the OpenShift platform proficiently.
Table of Contents (13 chapters)
Free Chapter
1
Part 1: Introduction
3
Part 2: Provisioning and Configuration
6
Part 3: Operating ML Workloads

Installing Redis on Red Hat OpenShift

Redis is a super-fast in-memory database. Redis provides a key-value store with different data structures, such as lists, for the applications to use. In our case, the video generates a lot of frames and our application will infer these frames and keep a count of frames/images with faces. So, we decided to use Redis to keep an atomic counter.

OpenShift will host the Redis server. You will find the complete non-production Redis setup in the chapter7/redis/redis-server.yaml file. Open the file and paste it into the OpenShift GUI while you are in the face-detection project. Hit the Create button and you will have a running Redis cluster on your platform. The following screenshot shows redis-server.yaml in the OpenShift UI.

Figure 7.11 – Installing the Redis server

Figure 7.11 – Installing the Redis server

Validate that the server is running by checking the services section of the OpenShift console within the wines project, identify the Pods, and validate...