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] Should be able to set _DEFAULT_LAUNCHER_IMAGE using environment variable in notebook pod #7225

Closed
typhoonzero opened this issue Jan 27, 2022 · 8 comments
Assignees

Comments

@typhoonzero
Copy link

Feature Area

What feature would you like to see?

Currently the default launcher image is set using a constant: sdk/python/kfp/compiler/v2_compat.py:_DEFAULT_LAUNCHER_IMAGE = "gcr.io/ml-pipeline/kfp-launcher:1.8.7", however, if we want to use a private registry when launching a pipeline in Kubeflow notebook, we may need to use an environment variable to set this, so that we can just configure that in the Kubeflow notebook YAML file.

Is there a workaround currently?

I can set it directly in the function call here: https://kubeflow-pipelines.readthedocs.io/en/latest/source/kfp.client.html#kfp.Client.create_run_from_pipeline_func, but I'd like to configure a default for all users.


Love this idea? Give it a 👍. We prioritize fulfilling features with the most 👍.

@chensun chensun self-assigned this Jan 28, 2022
@chensun
Copy link
Member

chensun commented Feb 3, 2022

Hi @typhoonzero, v2 compatible mode is being deprecated in the next SDK release: #6829

We would have a similar launcher/driver image for v2. And we plan to version it the same way as we version the rest KFP backend images.
That being said, I'm still interested in why would you want to use use private registry for the launcher image. Are you making custom images? Can you share some details to help us understand your use case? Thanks!

@typhoonzero
Copy link
Author

Thanks for the reply @chensun , my case is simple, I can't access gcr.io in China, so I'm hoping to host the images in a private registry.

@dbg-raghulkrishna
Copy link

any update on this?

@wang-mask
Copy link

+1

@wang-mask
Copy link

how to set the image in create_run_from_pipeline_func?

@xin053
Copy link

xin053 commented Jan 30, 2024

#10269 (comment)

@rimolive
Copy link
Member

Closing this issue as it was implemented. Feel free to reopen it if issue persists.

/close

Copy link

@rimolive: Closing this issue.

In response to this:

Closing this issue as it was implemented. Feel free to reopen it if issue persists.

/close

Instructions for interacting with me using PR comments are available here. If you have questions or suggestions related to my behavior, please file an issue against the kubernetes/test-infra repository.

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

No branches or pull requests

6 participants