Possibility to configure pvDir for storage-provisioner addon #8903
Labels
addon/storage-provisioner
Issues relating to storage provisioner addon
co/docker-driver
Issues related to kubernetes in container
kind/feature
Categorizes issue or PR as related to a new feature.
priority/awaiting-more-evidence
Lowest priority. Possibly useful, but not yet enough support to actually get it done.
I have a huge minikube cluster for local development with many stateful services(like mysql, rabbitmq, etc).
If I use docker driver in case of minikube profile recreation(for example, upgrading k8s version or changing cluster resources or something else) I will lose all of my persistent data, because in current implementation pvDir is a constant -
/tmp/hostpath-provisioner
.It would be nice to have possibility to configure pvDir option for storage-provisioner, like:
minikube addons configure storage-provisioner
, then I could set pvDir to host mounted directory, create necessary pv on cluster setup and all my persistent data would be available on profile recreation.What do you think about it?
P.S. Now, I use my own version of storage-provisoner to protect my data from losing.
The text was updated successfully, but these errors were encountered: