GKE to Azure Migration using Velero #8142
Replies: 3 comments 1 reply
-
IMO, the first approach should work. |
Beta Was this translation helpful? Give feedback.
-
@blackpiglet thank you so much for your suggestions. The problem started with pvc being pending status. Further debugging found that storage class and provisioner do not match - > GCP -> standard kubernetes.io/gce-pd Delete Immediate true 9h Azure -> Workaround 1 - created a configmap in AKS - ns velero - it maps the standard: managed, but not the provisioner .
Workaround 2 - kubectl edit the pvc on target and removed - below annotations. unfortunately it did not helped. pvc still remains in pending state.
Could you please suggest any other workarounds? |
Beta Was this translation helpful? Give feedback.
-
I suggest using the restore modifier feature to make it straight. |
Beta Was this translation helpful? Give feedback.
-
Hello All,
I m migrating from GKE to AKS using Velero. Velero version V1.12.0
I have GKE Cluster with a pod and a PVC. I configured velero using
Velero backup command.
velero backup get
- Gives me the successful backup and the storage bucket has the backup folder with files.Now, I m trying to restore the backups to AKS. I have AKS env with a node. Install and configured Verelo on the target .
I tried to restore the back up using few approaches and nothing seems to be working.
Approach 1 -
Found a command to add gcp plugin in AKS.
velero add --plugins velero/velero-plugin-for-gcp:v1.5.2
- and tried to reconfigure velero install on AKS by passing GCP bucket flag and GCP credentials file.Unforunately did not help.
Approach 2 -
Tried to get the velero backups in the same PowerShell cmd line (switching between GKE and AKS config) and restored on the target. did not help.
Tried few other approaches, unfortunately it did not helped me. Not sure but in one scenario it did worked for, just the successful migration of application pod but not the PVC POD due to storage class mismatch between GKE and AKS.(I couldn't reproduce it later to debug)
Further research, I found that
restic flag
in velero will solve the problem. but the latest velero has--use-node-agent
arg that will take snapshot based on the restic.I have ton of other approaches unfortunately, couldn't proceed further.
Is there anyone who tried this solution? Or thoughts to guide me on next successful lift and shift?
(I was able to achieve it using cloudcasa, but since the app is very small, unfortunately I couldn't proceed with its licensing terms)
Thanks in advance,
Beta Was this translation helpful? Give feedback.
All reactions