kubernetes/minikube

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

Open

#5,144 opened on 2019年8月20日

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

説明

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! :)

コントリビューターガイド