kubernetes/minikube

Set default location for PV mounts

Open

#3,318 建立於 2018年11月8日

在 GitHub 查看
 (20 留言) (10 反應) (0 負責人)Go (31,799 star) (5,222 fork)batch import
addon/storage-provisionerarea/mounthelp wantedkind/featurelifecycle/frozenpriority/backlogr/2019q2

描述

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.

貢獻者指南