k3s-cluster/cluster/apps/database/postgresql/pgsql-pv.yaml
2023-04-12 21:34:06 -04:00

14 lines
No EOL
303 B
YAML

apiVersion: v1
kind: PersistentVolume
metadata:
name: postgresql-pv
namespace: database
spec:
storageClassName: local-path
persistentVolumeReclaimPolicy: Retain
capacity:
storage: 10Gi
accessModes:
- ReadWriteOnce
hostPath:
path: "/mnt/MainPool/Kubernetes/databases/postgresql"