Documentation for version v1.3.2 is no longer actively maintained. The version you are currently viewing is a static snapshot. For up-to-date documentation, see the latest version.
This feature is under development. Documentation may not be up-to-date and features may not work as expected.
The following are the prerequisites for using Velero to take Container Storage Interface (CSI) snapshots:
--features EnableCSI feature flag to enable CSI logic in Velero’s core.
This section documents some of the choices made during implementation of the Velero CSI plugin:
DeletionPolicy on the volumesnapshotclass is set to
Retain. To accomplish this, during deletion of the backup the prior to deleting the volumesnapshot, volumesnapshotcontent object will be patched to set its
Delete. Thus deleting volumesnapshot object will result in cascade delete of the volumesnapshotcontent and the snapshot in the storage provider.
Velero’s support level for CSI volume snapshotting will follow upstream Kubernetes support for it, and will reach general availability sometime after volume snapshotting is GA in upstream Kubernetes. Beta support is expected to launch in Velero v1.4.