kubernetes/minikube

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

开放

#5,144 创建于 2019年8月20日

 (25 条评论) (2 个反应) (1 位负责人)Go (5,222 个派生)batch import
addon/storage-provisionerhelp wantedkind/featurelifecycle/frozenpriority/backlog

仓库指标

星标
 (31,799 个星标)
PR 合并指标
 (PR 指标待抓取)

描述

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

贡献者指南