apiVersion: v1
kind: PersistentVolume
metadata:
name: ceph-pv
labels:
name: ceph-pv
spec:
capacity:
storage: 2Gi
accessModes:
- ReadWriteMany
flexVolume:
driver: ceph.rook.io/rook
fsType: ceph
options:
fsName: myfs # name of the filesystem specified in the filesystem CRD.
clusterNamespace: rook-ceph # namespace where the Rook cluster is deployed
persistentVolumeReclaimPolicy: Retain
---
apiVersion: v1
kind: PersistentVolumeClaim
metadata:
name: ceph-pvc
namespace: kubeflow
spec:
accessModes:
- ReadWriteMany
storageClassName: ""
resources:
requests:
storage: 2Gi
volumeName: ceph-pv