-
Notifications
You must be signed in to change notification settings - Fork 4.9k
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
Set default location for PV mounts #3318
Comments
Thank you for filing! This should be doable by parametrizing https://github.com/kubernetes/minikube/blob/v0.30.0/pkg/storage/storage_provisioner.go#L49. |
Hi, would be interested in picking up this as my first issue. I've few clarifications:
|
Implementing the parameterization of the provisioner is very simple, but I found that the provisioner's yaml file mounts the /mnt directory into pod, and the yaml file cannot be dynamically modified. In addition, the parameterization of the provisioner should be implemented using the minikube config, which should involve the question of how the product is designed. @balopat @ms-choudhary |
Both
So it is only the mountpoints that are kept on For large data, it would even be nice to be able to add extra disks. Maybe this could be considered. e.g. keep the containers on Currently we are using
|
Issues go stale after 90d of inactivity. If this issue is safe to close now please do so with Send feedback to sig-testing, kubernetes/test-infra and/or fejta. |
Issues go stale after 90d of inactivity. If this issue is safe to close now please do so with Send feedback to sig-testing, kubernetes/test-infra and/or fejta. |
Stale issues rot after 30d of inactivity. If this issue is safe to close now please do so with Send feedback to sig-testing, kubernetes/test-infra and/or fejta. |
/remove-lifecycle rotten |
This issue still exists in minikube v1.6 AFAIK. |
Issues go stale after 90d of inactivity. If this issue is safe to close now please do so with Send feedback to sig-testing, kubernetes/test-infra and/or fejta. |
Stale issues rot after 30d of inactivity. If this issue is safe to close now please do so with Send feedback to sig-testing, kubernetes/test-infra and/or fejta. |
/lifecycle frozen |
Hi everyone, Thanks, |
I will pick this up. /assign |
/remove-lifecycle frozen |
Issues go stale after 90d of inactivity. If this issue is safe to close now please do so with Send feedback to sig-testing, kubernetes/test-infra and/or fejta. |
Stale issues rot after 30d of inactivity. If this issue is safe to close now please do so with Send feedback to sig-contributor-experience at kubernetes/community. |
Is there a way to specify the path where to create persistent volumes ? I'd like to have my persistent volumes created in |
@blueelvis haven't heard from you. still working on it ? |
this issue is available to be picked up anyone inttersted |
Is this a BUG REPORT or FEATURE REQUEST? Feature request/query
Minikube version (use
minikube version
): v0.30.0The minikube docs list a number of locations that Minikube can provision persistent volumes, as well as sample config for a PV, but there doesn't seem to be any way to configure the storage-provisioner to provision volumes anywhere but /tmp/hostpath-provisioner. Unless I'm misunderstanding the source, it looks like the path in
tmp
is fixed and unparameterised. Is there some way of providing a patched storage-provisioner to minikube with a path of the user's choice? Our use case involves persisting a lot of large data files, for which a tmpfs-based PV quickly becomes impractical.The text was updated successfully, but these errors were encountered: