The sbs-migration tool migrates your Kubernetes PersistentVolumes from Instance
to the new Block Storage product. There is no downtime during the migration.
Your Snapshots will also be migrated.
You must run this tool during the v0.{1,2}.X to v0.3.X upgrade of the Scaleway CSI.
[!CAUTION]
This tool is intended to be used by customers who manage their own Kubernetes cluster.
DO NOT USE THIS TOOL IF YOUR CLUSTER IS MANAGED BY SCALEWAY (e.g. Kapsule / Kosmos).
Requirements
The kubeconfig of a Kubernetes cluster that you manage, with the Scaleway CSI installed (version v0.1.X or v0.2.X).
Run the sbs-migration tool with dry-run enabled: $ go run cmd/sbs-migration/main.go -kubeconfig=<path to your kubeconfig> -dry-run.
If you are happy with the dry-run result, run the sbs-migration with dry-run disabled
to effectively migrate your volumes and snapshots: $ go run cmd/sbs-migration/main.go -kubeconfig=<path to your kubeconfig>.