Disaster recovery of an on-prem cluster to GKE - failed to provision volume with StorageClass "pd-velero": claim Selector is not supported #7552
-
Hi all, I have an on-prem K8S cluster with rook-ceph storage, and am successfully using velero as the backup solution. My backup target location is an on-prem Minio service. Snapshots are moved using Kopia to the same minio bucket. I would like to use GKE as a DR solution. I already successfully did the following steps:
But the restore of snapshots fail with this error message: The On-Prem velero deployment was performed using the following instructions:
The GKE velero deployment was performed using the following instructions:
On restore it stucks on "WaitingForPluginOperations"
The PVCs are pending:
The PVs are not created, and in GKE I see the following log entry:
Versions of K8S and Velero are as follows: On GKE:
On-Site:
I've not versed into the technicals of velero, I'm just a user. But I have the impression this is due to a limitation of GKE which does not accept the selector for linking PVC and PV. Am I right or wrong, and is there a workaround ? Thanks for your help, Olivier. |
Beta Was this translation helpful? Give feedback.
Replies: 2 comments 1 reply
-
I see that you are installing gcp plug-in1.6.0. What version of Velero are you installing there? My guess is that it is 1.12 because other wise, snapshot data mover backups are not supported. In that case, you need 1.8 version of GCP plug-in. More over, I don't see "--use-node-agent" option. In general, make sure that Velero version matches plug-inversions on both source and target. Finally, you should use storage class mapping to map source PVC storage class to what is available in GCP (you may already be doing this).
|
Beta Was this translation helpful? Give feedback.
-
Great. Glad to be of help. |
Beta Was this translation helpful? Give feedback.
I see that you are installing gcp plug-in1.6.0. What version of Velero are you installing there? My guess is that it is 1.12 because other wise, snapshot data mover backups are not supported. In that case, you need 1.8 version of GCP plug-in. More over, I don't see "--use-node-agent" option. In general, make sure that Velero version matches plug-inversions on both source and target.
Finally, you should use storage class mapping to map source PVC storage class to what is available in GCP (you may already be doing this).