Skip to content

Use Consul Replication to Create New Cluster with PVC #156

Description

@ShaiHalfon96

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:

  1. 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)
  2. Is it possible to break the replication and then delete the source consul?

Thank in advance,
Shai Halfon.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions