GPU-Live/template/stg-server/ddn/ddn-install-running/exa-csi-driver-2.3.5/examples/snapshot-from-dynamic.yaml

17 lines
458 B
YAML

# Take a new snapshot
#
# !!! Make sure to run exa-dynamic-nginx-2.yaml before running this example
# !!! Make sure to run snapshot-class.yaml before running this example
#
# $ kubectl apply -f examples/snapshot-from-dynamic.yaml
#
apiVersion: snapshot.storage.k8s.io/v1
kind: VolumeSnapshot
metadata:
name: snapshot-test
spec:
volumeSnapshotClassName: exascaler-csi-snapshot-class
source:
persistentVolumeClaimName: exascaler-csi-file-driver-pvc