I'm having vault running with consul backend on k8s environment.
I want to migrate consult to vault raft, in order to do so I need to add pvc to the exists vault stateful set.
I thought I can use the consul replication for it by createing new vault and consul (with pvc) and replicate the consul with old one.
once the clusters are synced change the svc to point to the new vault, break the replication and then handle the raft migration.
For this operation to work I want to validate 2 things:
- Can I write to the new vault without the sync to overwrite the data? (theres a short time between the svc route change and between the replication stop)
- Is it possible to break the replication and then delete the source consul?
Thank in advance,
Shai Halfon.
I'm having vault running with consul backend on k8s environment.
I want to migrate consult to vault raft, in order to do so I need to add pvc to the exists vault stateful set.
I thought I can use the consul replication for it by createing new vault and consul (with pvc) and replicate the consul with old one.
once the clusters are synced change the svc to point to the new vault, break the replication and then handle the raft migration.
For this operation to work I want to validate 2 things:
Thank in advance,
Shai Halfon.