This catalog connector provides access to example pipeline components for Kubeflow Pipelines.
You can install the component examples from PyPI or source code. Note that a rebuild of JupyterLab is not required.
Prerequisites
- Install Elyra (version 3.7 and above). This connector version does not support Elyra versions below 3.7.
Install from PyPI
To install the connector from PyPI:
$ pip install elyra-examples-kfp-catalog
Install from source code
To install the connector from source:
$ git clone https://github.com/elyra-ai/examples.git
$ cd examples/component-catalog-connectors/kfp-example-components-connector/
$ make clean source-install
Run connector unit tests
To run the unit tests:
$ git clone https://github.com/elyra-ai/examples.git
$ cd examples/component-catalog-connectors/kfp-example-components-connector/
$ make test
- Launch JupyterLab.
- Open the '
Manage Components' panel. - Add a new component examples catalog ('
+' > 'New Kubeflow Pipelines example components catalog'). - Specify a catalog name, e.g. '
Example components for Kubeflow Pipelines'. - Save the catalog entry.
- Open the Visual Pipeline Editor for Kubeflow Pipelines and expand the palette. The example components are displayed.
This connector utilizes an embedded catalog as storage and is therefore a static catalog. To customize the catalog content according to your needs:
- Clone or fork the
https://github.com/elyra-ai/examplesrepository. - Navigate to the
examples/component-catalog-connectors/kfp-example-components-connector/kfp_examples_connector/resourcesdirectory. This directory contains the Kubeflow Pipelines components that this connector makes available to Elyra. - Change the content of this directory as desired.
- Install the connector from source.
- Remove all example catalog entries from the '
Manage Components' panel. - Stop JupyterLab.
- Uninstall the
elyra-examples-kfp-catalogpackage.$ pip uninstall -y elyra-examples-kfp-catalog
Q: No example components are displayed in the Visual Pipeline Editor palette.
A: Check the JupyterLab log file for error messages.