Skip to content
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

Backup: Adding CSI Snapshot support #31

Closed
ricsanfre opened this issue Dec 30, 2021 · 2 comments · Fixed by #80
Closed

Backup: Adding CSI Snapshot support #31

ricsanfre opened this issue Dec 30, 2021 · 2 comments · Fixed by #80
Labels
enhancement New feature or request
Milestone

Comments

@ricsanfre
Copy link
Owner

Enhancement Request

Enabling within K3S cluster the new Kubernetes CSI feature: Volume Snapshots to be able to programmatically create backups and so orchestrate consistent backups:

   kubectl exec pod -- app_feeze_command
   kubectl apply -f volume_snapshot.yml
   # wait till snapshot finish
   kubectl exec pod -- app_unfreeze_command

Implementation details

CSI Snapshot feature is supported by Longhorn. See Longhorn documentation: CSI Snapshot Support. K3S currently does not come with a preintegrated Snapshot Controller, but external controller could be used (https://github.com/kubernetes-csi/external-snapshotter).

@ricsanfre ricsanfre added the enhancement New feature or request label Dec 30, 2021
@ricsanfre ricsanfre added this to the release 1.2 milestone Dec 31, 2021
@ricsanfre ricsanfre removed this from the release 1.2 milestone Jan 29, 2022
@ricsanfre ricsanfre added this to the backlog milestone Mar 22, 2022
@ricsanfre
Copy link
Owner Author

ricsanfre commented Oct 5, 2022

Additional feature

Congigure Velero to use CSI Snapshots. Velero CSI Snapshots documentation

See this longhorn discussion for implementation details longhorn/longhorn#3731

@ricsanfre
Copy link
Owner Author

ricsanfre commented Oct 8, 2022

Enabling Velero CSI snapshots requires to deploy velero-plugin-for-csi

Currently, velero-plugin-for-csi docker image is not supporting arm64 architecture.

There is an open issue vmware-tanzu/velero#4303 and PR which fixes it: vmware-tanzu/velero-plugin-for-csi#116

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant