Skip to content

[feature] Allow users to select the base image #521

@jesuino

Description

@jesuino

Feature Area

What feature would you like to see?

We should allow users to select the base image to execute the pipeline either from a pre-filled list of runtime images or allow the user to enter the runtime image directly from the Kale Left Pane.

This RFE could be split on two separated issues:

  • Backend: Allow users to compile the pipeline and set a base image. Currently it seems that the base image is hard coded in the template that generates the Python DSL;
  • Frontend: A list of images could be used and a dropbox could allow the user to select the base image for a specifc pipeline step and the Left Pane should have a dropbox to allow the user to set a default image for all the steps. This could be done in two separated issues: First: notebook level base image and later we can add in context edit to select the base image per step.
Image

What is the use case or pain point?

Currently users have to manually modify the generated DSL to include a base Image, which is tedious and error prone.

Is there a workaround currently?

Generate the Python KFP DSL and manually modify it:

@kfp_dsl.component(
    base_image='python:3.10',
    packages_to_install=['kfp>=2.0.0',
                         'kubeflow-kale==1.0.0.dev13', 'random2'],
    pip_index_urls=['https://test.pypi.org/simple', 'https://pypi.org/simple'],
)
---

<!-- Don't delete message below to encourage users to support your feature request! -->
Love this idea? Give it a 👍. 

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions