-
Notifications
You must be signed in to change notification settings - Fork 1.4k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
PVC's are restored in lost state on NFS storage with CoreOS Tectonic K8s #355
Comments
kubectl get pvc -n test |
@sands6 could you please |
This is the status of the pv before ark restore
Once I do ark restore for NS test:
|
@sands6 are you trying to restore into the same cluster, and nothing (e.g. PVs) has been deleted? |
@ncdc yes, for the test purposes. I am trying to restore to the same cluster. I have not taken a snapshot of a PV so i want to make sure PV does not get deleted if I delete pvc. |
Ok, 2 things here:
|
@ncdc do you support Netapp Trident storage orchestrator. Trident exposes NFS volumes as backends via storage classes. Do you have any plan regarding support for Trident? If I carry my backend nfs and attach to a new cluster and restore NS from Ark, will my test work? |
We currently directly support AWS EBS, GCE PD, and Azure Managed Disks in Ark itself. If something has an API for doing backups/snapshots/restores of data mounted as a Kubernetes PersistentVolume, it would be possible to write a plugin for Ark for it. We don't have any current plans for Netapp Trident. Do you know if it has snapshot/restore APIs? I would expect you to be able to restore into a new cluster and have NFS attach ok. Please try it out and let us know! |
@ncdc I have tested with NFS on a new cluster and Ark restore is successful. Thanks for the help. Netapp Trident right now does not support snapshot/restore via API, but will soon in future. |
@sands6 do u have a procedure how to do Ark restore with NFS (I am using Trident for my PVs)? |
@halhelal if you need to back up PVs and your storage provider doesn't have a Velero plugin, you can use restic (https://velero.io/docs/v1.0.0/restic/) to back up the data. You'll need an object store (typically for on-prem this is some S3-compatible system) to store all of the backup data, both YAML and PV data. |
when i tried (velero restore) with AWS EBS i see the status of the PVC as Lost |
When I try to restore entire namespace with a test busybox pod with a PV, all resources come back except the PVC would return as in lost state and pod is stuck in container creating status
The text was updated successfully, but these errors were encountered: