27 lines
512 B
YAML
27 lines
512 B
YAML
|
apiVersion: v1
|
||
|
kind: PersistentVolume
|
||
|
metadata:
|
||
|
name: minio-pv
|
||
|
namespace: database
|
||
|
spec:
|
||
|
storageClassName: hostpath
|
||
|
persistentVolumeReclaimPolicy: Retain
|
||
|
capacity:
|
||
|
storage: 100Gi
|
||
|
accessModes:
|
||
|
- ReadWriteOnce
|
||
|
hostPath:
|
||
|
path: "/mnt/MainPool/Kubernetes/databases/minio"
|
||
|
---
|
||
|
apiVersion: v1
|
||
|
kind: PersistentVolumeClaim
|
||
|
metadata:
|
||
|
name: minio-pv-claim
|
||
|
namespace: database
|
||
|
spec:
|
||
|
storageClassName: hostpath
|
||
|
accessModes:
|
||
|
- ReadWriteOnce
|
||
|
resources:
|
||
|
requests:
|
||
|
storage: 100Gi
|