15 lines
257 B
YAML
15 lines
257 B
YAML
kind: PersistentVolume
|
|
apiVersion: v1
|
|
metadata:
|
|
name: postgres-pv-volume
|
|
labels:
|
|
type: local
|
|
app: postgresql
|
|
spec:
|
|
storageClassName: manual
|
|
accessModes:
|
|
- ReadWriteOnce
|
|
capacity:
|
|
storage: 10Gi
|
|
hostPath:
|
|
path: "/var/postgres"
|