Vault raft to raft migration of 3 nodes cluster from VMs to K8s

Hello,

Can someone advise for reliable way of doing it ?

Thank you in Advance !

BR,
Mladen

Taking a snapshot of your Vault running on VMs and restore that snapshot to Vault running K8s might be an option for you.

The most difficult part is get peers.json working so old cluster information like server hostnames, leader to be overwritten with the new ones.
Any ideas what steps should be executed in order to do this ?