-
Notifications
You must be signed in to change notification settings - Fork 9
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
Volumesnapshots component missing? #33
Comments
Where did you find the example (I also noticed my error in the e2e test suite that calls out the wrong API version) Anyhow, it's supposed to be up to the Kubernetes distribution vendor to install the external snapshot controller. Not many distributions actually provide this. So, if you want to enable volume snapshots for the TrueNAS CSP you may follow the instructions found with the HPE CSI Driver. |
Exactly the same link from the one you posted :)
Ah, so as I suspected, I need external-snapshot-controller. Could you maybe link that info in the Readme somewhere? Thanks for the support! |
Thanks for the suggestion. I'll have a look to have this outlined on the INSTALL to ensure there are pointers to enable and use |
@datamattsson I'm playing around with this now, snapshot-controller in tow. However, I think that's not how it's supposed to work Consider this scenario Hence all snapshots are bound to a backing zvol. If that zvol were to be deleted by for example killing the underlying pv, then those snapshots are dead, providing no protection |
Would we like zvols which has snapshots created by the CSI driver to be retained on the backend? I'm not sure why PVs with snapshotcontent derived from them aren't protected. It's odd. |
Yeah, it's a quirk of how snapshots are handled by zfs, where the snapshots are bound to the originating zvol/dataset. Democratic CSI has an option to clone the zvol/dataset outright. That being said, you should know i've moved on to using nvmeof, so if you do change the handling I won't be able to test it out |
Interesting, like doing a send/recv asynchronously within the same pool? |
Add hints to INSTALL.md. |
I wanted to roll out velero for backups which seems to require volumesnapshots
However, if I try to test it out with an example volumesnapshot from the link above I get
no matches for kind "VolumeSnapshot" in version "snapshot.storage.k8s.io/v1beta1"
This is on k3s 1.23.12. I see in your e2e test you have a volumesnapshotclass, and I see democratic-csi deploys the snapshot-controller as a component for this to work. I know this is not strictly truenas-csp related, but which component am I missing for snapshots here?
The text was updated successfully, but these errors were encountered: