Skip to content

the Run link here doesn't work when using hosts like istio-ingressgateway.istio-system.svc.cluster.local #4297

@shawnzhu

Description

@shawnzhu

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    area/sdkkind/buglifecycle/staleThe issue / pull request is stale, any activities remove this label.

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions