Open harshad16 opened 4 months ago
This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions.
not stale ... i'm working on it
It looks like there is a PR to add this important feature in https://github.com/kubeflow/pipelines/pull/10913, but I am not sure about its status.
Can one of @gregsheremeta @hbelmiro @droctothorpe @rimolive confirm what we need to do to get that merged?
If you are wondering why this is important, it's because PyTorch expects there to be a tempfs mounted at /dev/shm
, and the only way to ensure this in a Kubernetes Pod is to mount an emptyDir
with medium="Memory"
to it.
confirm what we need to do to get that merged?
We need one of the Google maintainers to review it. Chen is out until July 22. It doesn't appear that Connor works on this project anymore.
Feature Area
/area sdk
What feature would you like to see?
In
kfp-kubernetes
SDK can we includeadd_volume
function. as in the kfp dsl, we had the option in kfp v1 https://github.com/kubeflow/pipelines/blob/f80bfd4e07565f0a95ccebcf5abd8e9a7ae2627f/sdk/python/kfp/deprecated/dsl/_container_op.py#L934 Use case is to have an option to volumes to the workflow tasks.What is the use case or pain point?
In (kfp v2) kfp-kubernetes only provides the
add_pvc
andmount_pvc
options. As currently , there is no option to mount ,emptyDir
secretes and configmaps can be mounted separately.https://github.com/kubeflow/pipelines/blob/master/kubernetes_platform/python/kfp/kubernetes/volume.py
Is there a workaround currently?
No. use older deprecated version.
Love this idea? Give it a 👍.