Closed anton-khodak closed 6 years ago
Personally I am just suspending the VM when I'm not working on REANA, and resuming the same VM when I get back to working on REANA. Alternatively, you could also mount a local laptop folder into the minikube using minikube mount
and use even hard delete/create cycle instead of the above suspend/resume cycle. Would these techniques address the original problem?
By suspending you mean minikube stop && minikube start
or...?
Yes, mounts would solve the problem, however, having a configuration to prevent analyses being erased after minikube stop
, if feasible, would be more user-friendly.
Anyway, if the question of data persistence is solved in some other way in the production environment, this can be closed.
I'm not suspending via minikube
CLI, but via Hypervisor CLI tools, for example:
$ sudo virsh suspend minikube
$ # work on something else
$ sudo virsh resume minikube
The same can be achieved in VirtualBox GUI.
We should document this; moving the milestone.
Title updated since this is now happening because the database disappears with the PostgreSQL pod. We should use persistent volume for /var/lib/postgresql/data
.
Undesired behavior if a user wants to stop cluster or a development machine for a while