You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Hello. We currently using this great product in our kubernetes cluster without any problems. But, due to some hardware issues we had to reinstall OS and lost etcd data. However, we still has our data on other disks and easily recovered by vgscan and etc. tools.
So. We have our manifests in repo. We got our data on the node.
How can we redeploy our software and reattach existing volumes to kubernetes with saving possibility to manage via lvm-localpv (resize, delete)? Is it possible to somehow manually fulfill PVC with desired volume?
The text was updated successfully, but these errors were encountered:
So. it's possible to acheve by recreating PV and LVMVolume resources on kubernetes cluster. I used next pipeline:
on each node run
lvs --units b to get size for each volume
lvs to get size for each volume in Gi
blkid /dev/openebs-lvmpv/* to get fs type for each volume (openebs-lvmpv is our Volume Group)
than I create resource for each volume using template. filled some values (shared and thin provision) according to our storageclass which was in manifests repo
And after that I deployed all manifests of our apps and it worked well. Noted that we previously had configured some node labels for our services and also all our services uses different size volumes so it was easy for kubernetes to attach volume to right service using just PVC.
Hello. We currently using this great product in our kubernetes cluster without any problems. But, due to some hardware issues we had to reinstall OS and lost etcd data. However, we still has our data on other disks and easily recovered by vgscan and etc. tools.
So. We have our manifests in repo. We got our data on the node.
How can we redeploy our software and reattach existing volumes to kubernetes with saving possibility to manage via lvm-localpv (resize, delete)? Is it possible to somehow manually fulfill PVC with desired volume?
The text was updated successfully, but these errors were encountered: