Skip to content

Instantly share code, notes, and snippets.

@ams0
Created October 2, 2020 15:29
Show Gist options
  • Save ams0/5302448d098d4bdfc894208fca67994b to your computer and use it in GitHub Desktop.
Save ams0/5302448d098d4bdfc894208fca67994b to your computer and use it in GitHub Desktop.
kubectl apply -f - <<EOF
apiVersion: v1
kind: PersistentVolumeClaim
metadata:
name: winhd-clone
spec:
accessModes:
- ReadWriteOnce
storageClassName: managed-ultra-csi
resources:
requests:
storage: 100Gi
dataSource:
kind: PersistentVolumeClaim
name: winhd
EOF
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment