Skip to content

Moving kafka to a new cluster #4151

Answered by scholzj
alok87 asked this question in Q&A
Dec 24, 2020 · 1 comments · 1 reply
Discussion options

You must be logged in to vote

I guess you have two options:

  • You can move the storage. You can stop the old cluster and have the volumes unmounted. And then you can use them to create a new PVs in the cluster B. Once you have the PVs, you can create the PVCs with the right names. And then when you deploy Kafka in cluster B, it should reuse the PVCs with the PVs and the data on them. I'm not completely sure what does it take to move the PVs => partially because I don't know your setup (Are the Kube clusters in the same account? same region? Same AZs? Same VPC?). They might also need to be some changes you would need to do to the labels etc. to not get them deleted by accident later. So the safe option would be to shutd…

Replies: 1 comment 1 reply

Comment options

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

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