Skip to content

Latest commit

 

History

History
34 lines (29 loc) · 1.1 KB

volumesnapshotlocation.md

File metadata and controls

34 lines (29 loc) · 1.1 KB

Volume Snapshot Location

The following sample Azure VolumeSnapshotLocation YAML shows all of the configurable parameters. The items under spec.config can be provided as key-value pairs to the velero install command's --snapshot-location-config flag -- for example, apiTimeout=5m,resourceGroup=my-rg,....

apiVersion: velero.io/v1
kind: VolumeSnapshotLocation
metadata:
  name: azure-default
  namespace: velero
spec:
  # Name of the volume snapshotter plugin to use to connect to this location.
  #
  # Required.
  provider: velero.io/azure
  
  config:
    # How long to wait for an Azure API request to complete before timeout.
    #
    # Optional (defaults to 2m0s).
    apiTimeout: 5m

    # The name of the resource group where volume snapshots should be stored, if different 
    # from the cluster's resource group.
    # 
    # Optional.
    resourceGroup: my-rg

    # The ID of the subscription where volume snapshots should be stored, if different 
    # from the cluster's subscription. Requires "resourceGroup" to also be set.
    # 
    # Optional.
    subscriptionId: alt-subscription