Hi Percona guys,
If someone has a moment, can anyone explain how “destination” and “storageName” specs work behind the scene? What are configuration possibilities in restore.yaml?
I have made a backup and this is visible via kubectl get pxc-backup -A command (on older cluster, but this is not the case in this context).
I want to restore to my local cluster. This is completely different environment. So I built PXC there as usual. It’s working well and is just empty. Used same secrets from original cluster (also not the case for this issue).
So I’m not using AWS to put it in S3 bucket for now and moved these files to PVC in this target local cluster.
md5sum.txt sst_info xtrabackup.stream
They are definitely in c62e3d10-075b-4e45-a8c6-366c5eced344
I’ve tried many variations, but error is always same:
Warning FailedScheduling 20s (x2 over 20s) default-scheduler persistentvolumeclaim “pvc-c62e3d10-075b-4e45-a8c6-366c5eced344” not found
In this new cluster, I don’t have anything via kubectl get pxc-backup -A. I want to restore xtrabackup.stream from another cluster which was uploaded to PVC.
That PVC was released.
Should I leave PVC not in Bound state then it’s unused and ready for pxc-restore?
Do I have some options as alternatives or adjustments that can help pxc-restore (for instance to upload xtrabackup.stream using ‘kubectl cp’ to restoration pod, etc?
Is it pure Kubernetes volume error and nothing to do with PXC?
Maybe I was doing something stupid so rubber duck debugging would be helpful (: