Migration between two clusters that also have shared storage #8704
Unanswered
djjudas21
asked this question in
Community support Q&A
Replies: 1 comment
-
It's possible, but Velero only does that in a special case. Lines 1241 to 1247 in 804d73c This is the logic that Velero can restore the PV with the volume as it was backed up. It requires the PV's ReclaimPolicy set to Retain , and the PVs are not backed up by filesystem backup or snapshot backup.
This can be done by CLI |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
I have a bare metal Kubernetes cluster with 2 CSI storage classes - hyperconverged Ceph, and off-cluster TrueNAS. The cluster is also configured for Velero backup to S3.
I now want to migrate to a new cluster using Velero to do its thing and recreate the new volumes. But, the new cluster is also connected to the same TrueNAS. For the volumes on TrueNAS, it will be way faster to create the existing PVs on the new cluster and magically have access to the data, rather than migrate them to and from and the same NAS via S3. I've already verified with the author of the TrueNAS CSI driver that it's possible to access my TrueNAS RWX PVs from two clusters.
I've made a basic diagram to show what I'm talking about.
Is it possible to do this? Obviously I can get Velero to make backups and exclude the TrueNAS PVs, but when I come to restore the workloads I guess I will need to manually create the PVs to point at my existing TrueNAS volumes, then do the restore, which will reinstate the PVCs and allow the workloads to mount the volumes.
Beta Was this translation helpful? Give feedback.
All reactions