Run and View Kubeflow Pipeline
To run the Kubeflow Pipeline you must call the .py file from the command line. Test your code before deploying as a Kubeflow Pipeline to make sure Kale tags were added properly.
Please follow along in your own copy of our notebook as we complete the steps below.
1. Open a new terminal
Select Terminal from the launcher to open a new terminal
#
3. Deploy Code as Kubeflow Pipeline
Execute the following to deploy the code as a Kubeflow Pipeline. The use of --kfp
cdeploys the code as a KubeflowcPipeline.
python3 -m kale kale_sdk.py --kfp
You will see a response as shown below:
4. Review Pipeline Execution
Navigate to the Kubeflow UI and open the Runs UI
5. Access the pipeline run
Select the binary-classification run to see the Kubeflow Pipeline.
The green checkmarks indicate that the Kubeflow Pipeline was deployed and executed successfully. We recommend testing your code locally, as you did in this course, before deploying to minimize troubleshooting complexity.
If you would like to download the most up-to-date code you can do so by clicking here.