Open p53 opened 7 months ago
Hey @p53! Thanks for the submission. When you say local do you mean your local machine disk mounted to a pod running in minikube on your local machine as well?
@flaviuvadan hi, i mean https://kubernetes.io/docs/concepts/storage/volumes/#local
I think it is already possible if you create PersistentVolume that is mounted to host path, bind it with PersistentVolumeClaim, and use that PVC's name in the workflow. i.e.Workflow(..., volumes=[m.Volume(... persistent_volume_claim={"claim_name": "{PVC NAME}"})], ...)
Following examples may help.
@jeongukjae local volume and hostPath are not same thing see https://stackoverflow.com/a/63492933, https://vocon-it.com/2018/12/20/kubernetes-local-persistent-volumes/
@p53 Yep, those are different thing. You can use either ways with PV.
Otherwise, can I get your detailed scenarios that should be solved?
but then i need to create PV/PVC externally and then mount it with VolumeMount right? We want to use local volumes created on instance store on AWS instances for GPU jobs
Is your feature request related to a problem? Please describe. we would like to use local volumes
Describe the solution you'd like mount local instance storage
Describe alternatives you've considered alternative can be hostPath altough it is not safe alternative and has also some other drawbacks
Additional context Add any other context or screenshots about the feature request here.