Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[feature] Show Pod Events in KFP v2 UI #10740

Open
geier opened this issue Apr 24, 2024 · 0 comments
Open

[feature] Show Pod Events in KFP v2 UI #10740

geier opened this issue Apr 24, 2024 · 0 comments

Comments

@geier
Copy link
Contributor

geier commented Apr 24, 2024

Feature Area

/area frontend

What feature would you like to see?

Showing pod events in the KFP v2 Web UI like it did in KFP v1.

What is the use case or pain point?

When one creates a component that can never run, e.g. because one made it use a secret that doesn't exist, the web UI shows it in a "running" state forever. The web UI has no way of showing the user what the issue is, even though this information is often available from the pod's events.

Is there a workaround currently?

Look into the events "by hand", e.g. using kubectl, k9s, Lens etc. This is too technical for some users.

Example

Pipeline

needs kfp-kubernetes installed

from kfp import dsl
from kfp.client import Client
from kfp import kubernetes


@dsl.component
def hello():
    print('hello world!')

    
@dsl.pipeline
def example_pipeline():   
    task = hello()
    kubernetes.use_secret_as_env(task, "does-not-exist", {'key': 'value'})


client = Client()
run = client.create_run_from_pipeline_func(example_pipeline)

Frontend

Frontend look like it's running, but logs are not available
image

Events

Events show what the actual issue is

image

Love this idea? Give it a 👍.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant