一、文件共享类型快照:
### --- 操作步骤和块存储类型无区别,可以参考:
~~~ https://rook.io/docs/rook/v1.5/ceph-csi-snapshot.html#cephfs-snapshots
二、PVC克隆
#1、进出创建目录
[root@k8s-master01 rbd]# pwd
/root/rook/cluster/examples/kubernetes/ceph/csi/rbd
#2、修改clone的pvc文件
[root@k8s-master01 rbd]# cat pvc-clone.yaml
---
apiVersion: v1
kind: PersistentVolumeClaim
metadata:
name: rbd-pvc-clone
spec:
storageClassName: rook-ceph-block
dataSource:
name: mysql-pv-claim
kind: PersistentVolumeClaim
accessModes:
- ReadWriteOnce
resources:
requests:
storage: 30Gi
### --- 创建克隆PVC
~~~ 需要注意的是pvc-clone.y