Available in:  CE, BE, SE, SE+, EE

The module lifecycle stageGeneral Availability

The module has requirements for installation

This module enables snapshot support for compatible CSI-drivers in the Kubernetes cluster.

Deckhouse Kubernetes Platform CSI-drivers that support snapshots:

HTTP-based volume data export and import

The module also enables secure HTTP-based export and import of persistent volume contents. It creates a namespaced DataExport or DataImport resource in the target namespace, which references the volume to be exported via the targetRef field. The supported target types include PersistentVolumeClaim and VolumeSnapshot.

The data server is built on the standard Go file server and supports both filesystem and block-level volume work modes. User authentication is handled through Kubernetes RBAC, with support for partial content transfer using HTTP Range headers.

Key parameters

  • ttl: Time-to-live duration after the last data transfer. The window is an idle one and it counts both directions: it is moved forward by a download (a file being read or a directory being listed) and by an upload while its bytes keep arriving, so a transfer that takes longer than the TTL is not interrupted — only an idle server is. When the TTL expires, the server pod is automatically deleted along with the rest of the server-side infrastructure, and the resource’s Ready condition is set to false with reason Expired. For a DataExport the PVC is then released back to the original PV; a DataImport that expires before its upload has finished produces nothing, and a new DataImport has to be created to try again.

  • publish: When set to true, enables external cluster access to the exporter pod. A public URL is generated in the resource’s status.publicURL field with the format: https://api.<public-domain>/<namespace>/<kindShort>/<name>/.

For usage examples (the d8 utility, raw manifests, and the HTTP API reference), see the usage documentation.