Skip to main content

Volume Snapshots

By default, this is disabled.

Sync VolumeSnapshot resources from the virtual cluster to the host cluster.

Until enabled, creating a VolumeSnapshot custom resource in the virtual cluster has no effect on the host cluster.

Host prerequisites

  • You should install the volume snapshots validating webhook in your host cluster and alternatively use the central admission controller feature within your vCluster.
  • Your host cluster must have all relevant snapshot CRDs installed, without which the vCluster instance fails to start when volume snapshots sync is enabled.
  • You should install a common snapshot controller on your host cluster, as well as a compatible CSI driver. Without these, vCluster cannot create the volume snapshots in the storage backend.

Sync VolumeSnapshots from the virtual to host cluster

sync:
toHost:
volumeSnapshots:
enabled: true

Config reference

volumeSnapshots required object pro

VolumeSnapshots defines if volume snapshots created within the virtual cluster should get synced to the host cluster.

enabled required boolean pro

Enabled defines if this option should be enabled.