-
Notifications
You must be signed in to change notification settings - Fork 1.6k
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
Make components emissary compatible #6252
Comments
I think we could easily build a component migration tool which can be called like:
The CLI does the following:
it might be more helpful migrating a folder of components via:
However, there is no good way to identify KFP components, we should probably improve on that. |
Note that some component.yaml from the search query are only for unit testing, and not meant to be runnable, so they may use a dummy image, for example: https://github.com/kubeflow/pipelines/blob/d9c019641ef9ebd78db60cdb78ea29b0d9933008/sdk/python/kfp/v2/compiler_cli_tests/test_data/component_yaml/serving_component.yaml On the other hand, it's possible that some component yaml aren't showing up if the filename isn't suffixed with "component.yaml" (not sure if all component follows this convention). I think for the specific actions you described above, maybe a script named something like The CLI command |
Thanks for figuring them out!
this depends on pulling the image locally, it will be time consuming to migrate many components. I think migrations should be as easy as possible -- to make users easily stay with the latest versions. For a CLI tool, we can use docker API to only pull the image digests, that'll be much faster. |
Hmm, getting an image's digest does not seem to include their command and args information.
I got:
command and args are not there |
However, according to distribution/distribution#1252 (comment), this should be possible, just not documented. |
Anyway, I cannot find a container registry generic way to do so. I'll stick with |
The following 24 components do not have a command in their component yaml:
https://github.com/search?l=YAML&p=3&q=repo%3Akubeflow%2Fpipelines+filename%3Acomponent.yaml+-command&type=Code
The text was updated successfully, but these errors were encountered: