This section provides a comprehensive set of steps for migrating a K3s cluster from one virtual machine to another. Migration is a critical operation that enables hardware upgrades, disaster recovery, infrastructure changes, and geographical relocation while preserving all application data and configurations.
Elasticsearch backup captures all indices and their data, excluding system indices.
Consul backup creates a snapshot of the entire Consul state using the Consul HTTP API.
Consistency: Take all three backups in quick succession to ensure temporal consistency. Ideally, perform backups during a maintenance window with minimal activity.