create postgresql deployment

This commit is contained in:
2023-01-02 16:16:29 -05:00
parent 4dc0961cc8
commit db9512c7ad
7 changed files with 128 additions and 0 deletions

View File

@@ -0,0 +1,17 @@
---
# persistent volume
apiVersion: v1
kind: PersistentVolume
metadata:
name: postgres-pv-local
labels:
type: local
spec:
storageClassName: manual
capacity:
storage: 100Gi
accessModes:
- ReadWriteOnce
hostPath:
path: "/opt/data/db/postgres-15.1"