Documentation for version v0.11.0 is no longer actively maintained. The version you are currently viewing is a static snapshot. For up-to-date documentation, see the latest version.
A volume snapshot location is the location in which to store the volume snapshots created for a backup.
Velero can be configured to take snapshots of volumes from multiple providers. Velero also allows you to configure multiple possible
VolumeSnapshotLocation per provider, although you can only select one location per provider at backup time.
Each VolumeSnapshotLocation describes a provider + location. These are represented in the cluster via the
VolumeSnapshotLocation CRD. Velero must have at least one
VolumeSnapshotLocation per cloud provider.
A sample YAML
VolumeSnapshotLocation looks like the following:
apiVersion: velero.io/v1 kind: VolumeSnapshotLocation metadata: name: aws-default namespace: velero spec: provider: aws config: region: us-west-2
The configurable parameters are as follows:
||String (Velero natively supports
||Required Field||The name for whichever cloud provider will be used to actually store the volume.|
||See the corresponding AWS, GCP, and Azure-specific configs or your provider’s documentation.|
||string||Empty||Example: “us-east-1"See AWS documentation for the full list.Queried from the AWS S3 API if not provided.|
||metav1.Duration||2m0s||How long to wait for an Azure API request to complete before timeout.|
||string||Optional||The name of the resource group where volume snapshots should be stored, if different from the cluster’s resource group.|
No parameters required.