-
Notifications
You must be signed in to change notification settings - Fork 1.7k
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
remove duplicate volumes #558
remove duplicate volumes #558
Conversation
/cc IronPan |
This is not a fully correct solution. Fully correct solution would be to dedup based on the volume itself, not the name. Then, if we have name conflicts, we should rename the volume+volumeMount (we have to do that when processing a task (ContainerOp), because later we won't know which volume is used by which volumeMount). One solution to this is to have a method like |
Maybe addvolume should be pipeline level thing because it gets converted to workflow level volumes in argo yaml. |
It's complicated because in Kubernetes volumes are specified at the Pod level. Argo has many properties that can be set both at workflow and at template levels. Maybe some day I find it convenient to be able to specify resource requirements for the tasks at the time of creation without splitting that between two places. |
There is no pod level volumes, is there. AFAIK, there is pod level volume mount. |
volumes are Pod-level See https://kubernetes.io/docs/tasks/configure-pod-container/configure-volume-storage/
|
Discussed offline. |
/lgtm |
/lgtm |
/test kubeflow-pipeline-build-image |
/test kubeflow-pipeline-e2e-test |
/approve |
[APPROVALNOTIFIER] This PR is APPROVED This pull-request has been approved by: gaoning777 The full list of commands accepted by this bot can be found here. The pull request process is described here
Needs approval from an approver in each of these files:
Approvers can indicate their approval by writing |
/test kubeflow-pipeline-build-image |
This change is