Quickstart

Getting started with Kubeflow Pipelines

Use this guide if you want to get an introduction to the Kubeflow Piplines user interface (UI) and get a simple pipeline running quickly.

The goal with this quickstart guide is to shows how to use two of the samples that come with the Kubeflow Pipelines installation and are visible on the Kubeflow Pipelines UI. You can use this guide as an introduction to the Kubeflow Pipelines UI.

Deploy Kubeflow and open the Kubeflow Pipelines UI

There are several options to deploy Kubeflow Pipelines, follow the option that best suits your needs. If you are uncertain and just want to try out kubeflow pipelines it is recommended to start with the standalone deployment.

Once you have deployed Kubeflow Pipelines, make sure you can access the UI. The steps to access the UI vary based on the method you used to deploy Kubeflow Pipelines.

Run a basic pipeline

Kubeflow Pipelines offers a few samples that you can use to try out Kubeflow Pipelines quickly. The steps below show you how to run a basic sample that includes some Python operations, but doesn’t include a machine learning (ML) workload:

  1. Click the name of the sample, [Tutorial] Data passing in python components, on the pipelines UI: Pipelines UI

  2. Click Create experiment: Creating an experiment on the pipelines UI

  3. Follow the prompts to create an experiment and then create a run. The sample supplies default values for all the parameters you need. The following screenshot assumes you’ve already created an experiment named My experiment and are now creating a run named My first run: Creating a run on the pipelines UI

  4. Click Start to run the pipeline.

  5. Click the name of the run on the experiments dashboard: Experiments dashboard on the pipelines UI

  6. Explore the graph and other aspects of your run by clicking on the components of the graph and the other UI elements: Run results on the pipelines UI

You can find the source code for the Data passing in python components tutorial in the Kubeflow Pipelines repo.

Run an ML pipeline

This section shows you how to run the XGBoost sample available from the pipelines UI. Unlike the basic sample described above, the XGBoost sample does include ML components.

Follow these steps to run the sample:

  1. Click the name of the sample, [Demo] XGBoost - Iterative model training, on the pipelines UI: XGBoost sample on the pipelines UI

  2. Click Create experiment.

  3. Follow the prompts to create an experiment and then create a run.

    The following screenshot shows the run details: Starting the XGBoost run on the pipelines UI

  4. Click Start to create the run.

  5. Click the name of the run on the experiments dashboard.

  6. Explore the graph and other aspects of your run by clicking on the components of the graph and the other UI elements. The following screenshot shows part of the graph when the pipeline has finished running: XGBoost results on the pipelines UI

You can find the source code for the XGBoost - Iterative model training demo in the Kubeflow Pipelines repo.

Next steps

  • Learn more about the important concepts in Kubeflow Pipelines.
  • This page showed you how to run some of the examples supplied in the Kubeflow Pipelines UI. Next, you may want to run a pipeline from a notebook, or compile and run a sample from the code. See the guide to experimenting with the Kubeflow Pipelines samples.
  • Build your own machine-learning pipelines with the Kubeflow Pipelines SDK.