kubernetes/minikube

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

Open

#5,144 建立於 2019年8月20日

在 GitHub 查看
 (25 留言) (2 反應) (1 負責人)Go (31,799 star) (5,222 fork)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! :)

貢獻者指南

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