2020-08-03 16:48:55 +00:00
|
|
|
---
|
2021-03-12 09:32:56 +00:00
|
|
|
# Snapshot API version compatibility matrix:
|
2021-07-13 19:21:56 +00:00
|
|
|
# v1beta1:
|
2021-03-12 09:32:56 +00:00
|
|
|
# v1.17 =< k8s < v1.20
|
|
|
|
# 2.x =< snapshot-controller < v4.x
|
|
|
|
# v1:
|
|
|
|
# k8s >= v1.20
|
|
|
|
# snapshot-controller >= v4.x
|
|
|
|
# We recommend to use {sidecar, controller, crds} of same version
|
|
|
|
apiVersion: snapshot.storage.k8s.io/v1
|
2020-08-03 16:48:55 +00:00
|
|
|
kind: VolumeSnapshot
|
|
|
|
metadata:
|
|
|
|
name: cephfs-pvc-snapshot
|
|
|
|
spec:
|
|
|
|
volumeSnapshotClassName: csi-cephfsplugin-snapclass
|
|
|
|
source:
|
|
|
|
persistentVolumeClaimName: csi-cephfs-pvc
|