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

18 lines
494 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-2
# kind: PersistentVolumeClaim