Allan Sene
07/13/2022, 9:26 PMv2021.12.0
(deployed using docker-compose).
Do you have a guide for this migration? Is there a script to do this? Or can we just suppose that if we migrate all the files - including those .orchest
everything will work fine?Yannick
07/14/2022, 7:30 AM.orchest
files.
Once we have all the details we will write up a guide to do such a migration yourself and will add it to our docs here. The rough details of the guide will be:
⢠Copy over your project files
⢠Use these lines of code to create new draft jobs with the same configurations as your existing jobs.Jacopo
07/14/2022, 7:42 AM/data
and /projects
directory can be done by copying their content into the right places, then projects, pipelines, environments etc. will be picked up. However you will need to rebuild environments, reset environment variables, recreate and reconfigure jobs etc.
For example, if you plan to run k8s Orchest on minikube with the docker driver you could copy the content of the data and projects directories of pre-k8s Orchest into the host file-system paths that docker is using as volumes, e.g.:
⢠/var/lib/docker/volumes/minikube/_data/hostpath-provisioner/orchest/userdir-pvc/projects
⢠/var/lib/docker/volumes/minikube/_data/hostpath-provisioner/orchest/userdir-pvc/data
Other k8s-flavor independent solutions might include doing an rsync or scp into the orchest-webserver
pod since it has access to the projects
and data
directoriesRick Lamers
07/14/2022, 10:17 AMAllan Sene
07/14/2022, 3:29 PM