-
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
Parameterize the artifact path for mlpipeline ui-metadata and metrics #998
Conversation
Hi @Tomcli. Thanks for your PR. I'm waiting for a kubeflow member to verify that this patch is reasonable to test. If it is, they should reply with Once the patch is verified, the new status will be reflected by the I understand the commands that are listed here. 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. |
Hi @Tomcli. Thanks for your PR. I'm waiting for a kubeflow member to verify that this patch is reasonable to test. If it is, they should reply with Once the patch is verified, the new status will be reflected by the I understand the commands that are listed here. 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. |
Hi @Tomcli Instead of extending the user-facing API surface (adding methods to
This is a pretty trivial change to the To preserve backwards compatibility the compiler can still add the Could you try to do it like that? |
/ok-to-test |
Hi @Ark-kun, I updated the implementation to take the artifact paths as containerOps arguments. Does it look good to you? Thank you for the reviews and suggestions. |
/retest |
Looks like Travis CI failed on getting some go packages. |
/hold @Ark-kun |
We're exposing Argo artifacts API. Argo artifacts API for container templates looks like this:
This is a mapping between the artifact names and artifact files. We're exposing this Argo artifact mapping as It is in the official Argo sample on artifact passing. https://github.com/argoproj/argo/blob/bb4520a6f65d4e8e765ce4d426befa583721c194/examples/artifact-passing.yaml#L26 We should expose this Argo functionality so that our customers can create components that produce artifacts. |
I've restarted the tests. |
I'd say that your PR is orthogonal. This PR is about specifying the list of output artifacts and their paths, while your PR is about configuring the storage (which I think we should configure more globally - per pipeline or per cluster), not per output. |
@Ark-kun @neuromage coming back to it. This one is needed for us to be use k8sapi executor from Argo - since IBM cloud no longer supports docker, and KFP and Argo use docker executor by default |
Let's merge this PR. |
+1 |
Discussed with @neuromage offline. With our current thinking of metadata design, it seems that exposing argo's artifact in ContainerOp won't cause conflicts. I will unhold the PR to unblock the hardcoded uimetadata and metrics path issue. /hold cancel |
Thanks @hongye-sun. @Ark-kun I updated the code with the latest master branch and all the tests have passed. Is this looking good to you? |
/lgtm |
@neuromage @hongye-sun - how far is the metadata effort (pipeline metadata being sent to metadata tracking server) from realization? any more concrete design docs there? |
@animeshsingh We're still working on the design. We will share more once things get more concrete. Thanks. |
…ubeflow#998) This allows a more performant implementation due to the way protobuf clearing and reuse operates in conjunction with GRPC APIs.
We have some use case where our containerOps doesn't have permission to access the root directory. Therefore, we want to parameterize the artifact path for mlpipeline ui-metadata and metrics because those artifact paths currently are hard coded in root.
Example usage:
cc: @animeshsingh
This change is