Status: Alpha
Attention: Since volume snapshot is an alpha feature in Kubernetes currently, you need to enable a new alpha feature gate called
VolumeSnapshotDataSource
in the Kubernetes master.--feature-gates=VolumeSnapshotDataSource=true
kubectl apply -f $GOPATH/src/github.com/kubernetes-sigs/azurefile-csi-driver/deploy/example/storageclass-azurefile-csi.yaml
kubectl apply -f $GOPATH/src/github.com/kubernetes-sigs/azurefile-csi-driver/deploy/example/pvc-azurefile-csi.yaml
kubectl apply -f $GOPATH/src/github.com/kubernetes-sigs/azurefile-csi-driver/deploy/example/snapshot/volumesnapshotclass-azurefile.yaml
kubectl apply -f $GOPATH/src/github.com/kubernetes-sigs/azurefile-csi-driver/deploy/example/snapshot/volumesnapshot-azurefile.yaml
kubectl delete -f $GOPATH/src/github.com/kubernetes-sigs/azurefile-csi-driver/deploy/example/snapshot/volumesnapshot-azurefile.yaml
kubectl delete -f $GOPATH/src/github.com/kubernetes-sigs/azurefile-csi-driver/deploy/example/snapshot/volumesnapshotclass-azurefile.yaml