kubernetes/minikube

Set default location for PV mounts

Open

#3,318 opened on Nov 8, 2018

View on GitHub
 (20 comments) (10 reactions) (0 assignees)Go (31,799 stars) (5,222 forks)batch import
addon/storage-provisionerarea/mounthelp wantedkind/featurelifecycle/frozenpriority/backlogr/2019q2

Description

Is this a BUG REPORT or FEATURE REQUEST? Feature request/query

Minikube version (use minikube version): v0.30.0

  • OS: Arch Linux
  • VM Driver: None

The 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.

Contributor guide

Set default location for PV mounts · kubernetes/minikube#3318 | Good First Issue