-
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
Need feature parity between DSL and component.yaml. #1389
Comments
Hi @vicaire |
The intent of components to be portable and reusable. Some features that would make the component non-portable (e.g. volumes) are deliberately absent.
There is also the issue of separation of concerns between the component author and the pipeline author. Should component dictate its own image pull policy or RAM usage? That's probably in the pipeline author's jurisdiction. So, when building a reusable component think about what would be common between all invocations. This common part should be captured in the component definition (
The support for user artifacts is not yet complete. My current vision is that there should be no distinction between output parameters and output artifacts. All output data blobs should be stored in a permanent storage (like artifacts) and then some of them will be consumed as files/artifacts and some will be consumed as parameters. When this move occurs, you'll be able to specify the output artifacts the same way you specify the output parameters now - |
Yes. I think that makes sense. Thanks for the response and looking forward to more complete output data supports! |
@alicelee0606 |
When trying to build a reusable component, there are some attributes that are originally supported by ContainerOp or Kubernetes container v1 core but are not supported in implementation.container in component.yaml (ex: output_artifact_paths/volumes/image_pull_policy...). Wondering what is the best practice for documenting these for each component? Or building a class component is more suggested than using component.yaml in this case?
The text was updated successfully, but these errors were encountered: