Skip to content

Migrating Existing PVCs From a Failed cluster to a fresh cluster without losing data #4400

Answered by Madhu-1
gerethd asked this question in Q&A
Discussion options

You must be logged in to vote

@gerethd it should be possible to do it in 3 different ways

  • If you already have kubernetes objects backup (velero or some tools can do it) , just reapply those objects as its an external ceph cluster you don't need to worry about data as PVC's are not deleted
  • 2nd As @nixpanic mentioned you can use static PVC method (but resize/clone/snapshot) etc wont be supported on this volumes, Once you move the data to new PVC (dynamic provisioned) you will get resize/clone/snapshot features.
  • 3rd this is lengthy one where you need to inspect the rados omap objects and reconstruct everything to have the PV object and volume details in the PV VolumeAttributes, with this you will get resize/clone/snapsh…

Replies: 2 comments 1 reply

Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
1 reply
@gerethd
Comment options

Answer selected by gerethd
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
3 participants
Converted from issue

This discussion was converted from issue #4390 on January 30, 2024 12:44.