-
Notifications
You must be signed in to change notification settings - Fork 64
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Provide etcd to K8S backend migration script #341
Comments
I did something like that one time |
@kvaps interesting, thanks for sharing. What will happen to existing DRBD resources when you restore the Linstor resources? Will they get recognized and used like before? |
Yes, but you need to preserve all the parameters like node_ids and so on |
Just updated license from gpl-3.0 to apache2 so you can freely use this code in this repo. I successfully migrated from h2 to postgresql two years ago, and didn't use it anymore 😅 |
LINSTOR 1.24.0-rc.2 ships with an experimental DB export & import tool. With that we can work on an automatic migration for LINSTOR resources. |
Fixed by #558 |
Using the K8S backend (=etcd) option makes a lot of sense in many ways, so it should be the new default for the Operator v2. Removing the bundled etcd of Piraeus simplifies the storage setup and reduces the risk of failure.
However, a migration of existing installations is currently not possible. Removing all existing resources and recreate them is not a a viable option for production systems. So the way for migration is a migration script which copies all data in the Piraeus etcd to the K8S backend.
The text was updated successfully, but these errors were encountered: