kubernetes/minikube

Set default location for PV mounts

开放

#3,318 创建于 2018年11月8日

 (21 条评论) (10 个反应) (0 位负责人)Go (5,222 个派生)batch import
addon/storage-provisionerarea/mounthelp wantedkind/featurepriority/backlogr/2019q2

仓库指标

星标
 (31,799 个星标)
PR 合并指标
 (平均合并 12天 19小时) (30 天内合并 43 个 PR)

描述

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.

贡献者指南