kubernetes/minikube

Feature request: Allow customizing host path used for dynamically provisioned PersistentVolumes

Open

#5,144 opened on Aug 20, 2019

View on GitHub
 (25 comments) (2 reactions) (1 assignee)Go (31,799 stars) (5,222 forks)batch import
addon/storage-provisionerhelp wantedkind/featurelifecycle/frozenpriority/backlog

Description

Dynamic persistent volume provisioning works great, but uses paths like

/tmp/hostpath-provisioner/pvc-433c40c9-7cf1-40a8-91ab-f9210dceec50

which are not easy to remember and type. For development and testing, it would be much more convenient if the path could be customized to something along the lines of:

/data/<claim>

This would make a PVC named mysqldb resolve to an automatically generated PV that stores the data in /data/mysqldb. Much easier to remember and type! :)

Contributor guide

Feature request: Allow customizing host path used for dynamically provisioned PersistentVolumes · kubernetes/minikube#5144 | Good First Issue