Skip to content

Instantly share code, notes, and snippets.

@velotiotech
Created June 29, 2020 08:51
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
Star You must be signed in to star a gist
Embed
What would you like to do?
apiVersion: v1
kind: PersistentVolumeClaim
metadata:
name: fs-pvc-restore
spec:
storageClassName: csi-hostpath-sc
dataSource:
name: fs-pv-snapshot
kind: VolumeSnapshot
apiGroup: snapshot.storage.k8s.io
accessModes:
- ReadWriteOnce
resources:
requests:
storage: 1Gi
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment