Skip to content

Commit 41e0b44

Browse files
committed
docs: clarify KFP endpoint setup
1 parent 5346f19 commit 41e0b44

1 file changed

Lines changed: 7 additions & 1 deletion

File tree

content/en/docs/components/pipelines/getting-started.md

Lines changed: 7 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -44,7 +44,7 @@ You can submit the YAML file to a KFP-conformant backend for execution. If you h
4444
```python
4545
from kfp.client import Client
4646

47-
client = Client(host='<MY-KFP-ENDPOINT>')
47+
client = Client(host='http://localhost:3000')
4848
run = client.create_run_from_pipeline_package(
4949
'pipeline.yaml',
5050
arguments={
@@ -53,6 +53,12 @@ run = client.create_run_from_pipeline_package(
5353
)
5454
```
5555

56+
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:
57+
58+
```sh
59+
kubectl port-forward --namespace kubeflow svc/ml-pipeline-ui 3000:80
60+
```
61+
5662
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!'`.
5763

5864
## Next steps

0 commit comments

Comments
 (0)