apiVersion: v1
kind: PersistentVolume
metadata:
  labels:
    type: local
  name: hazelcast-pv-volume
spec:
  accessModes:
  - ReadWriteOnce
  capacity:
    storage: 2Gi
  claimRef:
    apiVersion: v1
    kind: PersistentVolumeClaim
    name: hazelcast-pv-claim
    namespace: default
  hostPath:
    path: /data/custom
  persistentVolumeReclaimPolicy: Retain
  storageClassName: manual
  volumeMode: Filesystem
