Recently for my home, I’ve migrated from docker to k3s cluster. However, in the beginning, it was a standalone master with an agent connected to it. Later on I wanted to migrate to HA, however for now it’s not possible to do so natively with k3s.
And here comes in play Velero .
With Velero, you can back up and restore your cluster on s3 compatible storage (I am using scaleway) which permits you to replicate or migrate your kubernetes provider without any major issues.
Download and install velero executable on your machine
Create your s3 bucket and credentials, once that’s done, create configuration file
Install Velero on your cluster
Once that’s done, you can make a backup of your cluster with