Deploying a pipeline

The machine learning (ML) pipelines on AI Hub provide end-to-end workflows that you can use in your AI systems. This guide describes how to deploy a pipeline to the Kubeflow Pipelines platform.

Prerequisites

Before you deploy a pipeline, you must first set up your Kubeflow Pipelines system.

Kubeflow Pipelines is a component of Kubeflow that provides a platform for building and deploying ML workflows. Kubeflow is an open source toolkit for running ML workloads on Kubernetes. Learn more about getting started with Kubeflow.

To set up Kubeflow Pipelines on Google Kubernetes Engine (GKE), choose one of the following options:

Deploy a pipeline

Follow these steps to deploy a pipeline using the Kubeflow Pipelines web user interface (UI):

  1. To find a pipeline on AI Hub:

    1. Open your web browser and go to AI Hub.
    2. Browse or search for assets, then click Kubeflow pipeline under Category to filter the list of assets to display only pipelines.
    3. Once you find the pipeline you are interested in, click the pipeline's name. AI Hub displays a description of the pipeline and information on how to use it. For more information on how to find assets, read the guide to finding assets on AI Hub.
  2. In the right pane of the pipeline details page, click Download under Use this asset to download the pipeline as a zip file with a name like pipeline-name.zip.

  3. Open your Kubeflow environment and click Pipeline Dashboard to access the Kubeflow Pipelines UI.

  4. Click Upload pipeline to open the Upload and name your pipeline form. 'Upload and name your pipeline' form

  5. Supply the following information to the form:

    • File: Click Choose file to open the file selector. Navigate to the pipeline's zip file, select the pipeline, and click Open.
    • Pipeline name: A short description that will help you identify the pipeline in Kubeflow Pipelines.
  6. Click Upload to load the pipeline to Kubeflow Pipelines.

Before you run the pipeline, read the pipeline description in AI Hub to understand the following:

  • The pipeline's inputs and outputs.
  • The services and APIs that the pipeline depends on.
  • When deploying a pipeline that was shared with you, you need to ensure that your Kubeflow Pipelines system can access the pipeline's container images. In order for Kubeflow to access the pipeline's container images, one of the following must be true:

To learn more about running Kubeflow pipelines, read the quickstart to running a Kubeflow pipeline.

What's next