What steps did you take:
Run below code in an in-cluster notebook in a Kubeflow deployment with KFP mult-user feature:
import kfp.dsl as dsl
import kfp
from kfp import components
import json
# Create kfp client
# Note: Add the KubeFlow Pipeline endpoint below if the client is not running on the same cluster.
#client = kfp.Client()
cookie="authservice_session=the-secretive-cookie-value"
client = kfp.Client(host=f'http://istio-ingressgateway.istio-system.svc/pipeline', cookies=cookie)
experiment = client.create_experiment(name="my_experiment", namespace="my-ns")
it will create HTML output Experiment link here but the link doesn't work.
@adrian555 found this problem, I just filed this report.
What happened:
When running kfp in an in-cluster notebook with KFP mult-user feature, it requires authentication against the istio ingressgateway, which can be a public endpoint or a local name like istio-ingressgateway.istio-system.svc.cluster.local. However, when using such a local name which can not be recognized by browser, the Run link here, link from notebook when running client.run_pipline() will not work.
What did you expect to happen:
When clicking "here" from Experiment link here, it should navigate to the very experiment from a pipelines page.
Environment:
How did you deploy Kubeflow Pipelines (KFP)?
Deployed to IBM kubernetes service from kubeflow/community-distribution#1428
KFP version: https://www.github.com/kubeflow/pipelines/commit/988f5b02e4211dfff1c02eb0b9a52cbc69793364
KFP SDK version:
kfp 1.0.0
Anything else you would like to add:
/kind bug
/area sdk
What steps did you take:
Run below code in an in-cluster notebook in a Kubeflow deployment with KFP mult-user feature:
it will create HTML output
Experiment link herebut the link doesn't work.@adrian555 found this problem, I just filed this report.
What happened:
When running kfp in an in-cluster notebook with KFP mult-user feature, it requires authentication against the istio ingressgateway, which can be a public endpoint or a local name like
istio-ingressgateway.istio-system.svc.cluster.local. However, when using such a local name which can not be recognized by browser, the Run link here, link from notebook when runningclient.run_pipline()will not work.What did you expect to happen:
When clicking "here" from
Experiment link here, it should navigate to the very experiment from a pipelines page.Environment:
How did you deploy Kubeflow Pipelines (KFP)?
Deployed to IBM kubernetes service from kubeflow/community-distribution#1428
KFP version: https://www.github.com/kubeflow/pipelines/commit/988f5b02e4211dfff1c02eb0b9a52cbc69793364
KFP SDK version:
kfp 1.0.0Anything else you would like to add:
/kind bug
/area sdk