Skip to content
Closed
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
8 changes: 7 additions & 1 deletion content/en/docs/components/pipelines/getting-started.md
Original file line number Diff line number Diff line change
Expand Up @@ -44,7 +44,7 @@ You can submit the YAML file to a KFP-conformant backend for execution. If you h
```python
from kfp.client import Client

client = Client(host='<MY-KFP-ENDPOINT>')
client = Client(host='http://localhost:3000')
run = client.create_run_from_pipeline_package(
'pipeline.yaml',
arguments={
Expand All @@ -53,6 +53,12 @@ run = client.create_run_from_pipeline_package(
)
```

Replace `http://localhost:3000` with the endpoint for your Kubeflow Pipelines deployment. For a local standalone deployment, port-forward the `ml-pipeline-ui` service first:

```sh
kubectl port-forward --namespace kubeflow svc/ml-pipeline-ui 3000:80
```

The client will print a link to view the pipeline execution graph and logs in the UI. In this case, the pipeline has one task that prints and returns `'Hello, World!'`.

## Next steps
Expand Down