Files
my-rook-config/cluster/examples/kubernetes/edgefs/persistent-volume.yaml
T
2018-12-05 23:05:39 -08:00

52 lines
921 B
YAML

---
kind: PersistentVolume
apiVersion: v1
metadata:
name: edgefs-data-0
namespace: rook-edgefs
labels:
type: local
spec:
storageClassName: local-storage
persistentVolumeReclaimPolicy: Retain
capacity:
storage: 100Gi
accessModes:
- ReadWriteOnce
hostPath:
path: "/mnt/edgefs"
---
kind: PersistentVolume
apiVersion: v1
metadata:
name: edgefs-data-1
namespace: rook-edgefs
labels:
type: local
spec:
storageClassName: local-storage
persistentVolumeReclaimPolicy: Retain
capacity:
storage: 100Gi
accessModes:
- ReadWriteOnce
hostPath:
path: "/mnt/edgefs"
---
kind: PersistentVolume
apiVersion: v1
metadata:
name: edgefs-data-2
namespace: rook-edgefs
labels:
type: local
spec:
storageClassName: local-storage
persistentVolumeReclaimPolicy: Retain
capacity:
storage: 100Gi
accessModes:
- ReadWriteOnce
hostPath:
path: "/mnt/edgefs"