Skip to content
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

Add LocalVolume to supported volume types #1019

Open
p53 opened this issue Apr 4, 2024 · 6 comments
Open

Add LocalVolume to supported volume types #1019

p53 opened this issue Apr 4, 2024 · 6 comments

Comments

@p53
Copy link

p53 commented Apr 4, 2024

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.

@flaviuvadan
Copy link
Collaborator

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?

@p53
Copy link
Author

p53 commented Apr 4, 2024

@flaviuvadan hi, i mean https://kubernetes.io/docs/concepts/storage/volumes/#local

@jeongukjae
Copy link
Collaborator

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.

@p53
Copy link
Author

p53 commented Oct 18, 2024

@jeongukjae
Copy link
Collaborator

jeongukjae commented Oct 18, 2024

@p53 Yep, those are different thing.
You can use either ways with PV.

Otherwise, can I get your detailed scenarios that should be solved?

@p53
Copy link
Author

p53 commented Oct 18, 2024

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

@flaviuvadan flaviuvadan reopened this Oct 18, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants