Feb. 23, 2022
In my quest to find the perfect MLOps workflow to accelerate my financial ML research, I played around with Elyra. It’s a set of plugins for Jupyter Notebooks that allows you to visually drag and drop a (Python) pipeline.
To use the Kubeflow pipelines feature I needed to install Kubeflow Pipelines on my local machine. The Elyra documentation on this uses Docker Desktop for MacOS or Windows. As my machine is running Pop!_OS 21.04 and I already had Minikube installed from installing MLRun, I adapted the Elyra Kubeflow Pipelines Guide to use Minikube.
The Elyra guide states that the minimium hardware requirements are 4 CPUs and 8GB of RAM. My system has 6c/12t and 64GB of RAM, so adjust the values in the command below to match your system.
Run the code below and wait for pods and deployments to be ready.
Port foward the Kubeflow Pipelines API
Add minio-service to local hosts file
Port foward the minio service
UI Endpoint: http://localhost:31380
API Endpoint: http://localhost:31380/pipeline
Object Storage Endpoint: http://minio-service:9000
Elyra Runtime CLI Docs Finding your Kubeflow Engine The code below will add your local Kubeflow Pipelines instance to Elyra.