14 lines
No EOL
303 B
YAML
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" |