feat: Add PostgreSQL deployment, service, configmap, persistent volume, and persistent volume claim

This commit is contained in:
2024-08-08 14:20:01 +08:00
parent fd36ee6bf8
commit 535bde66a8
10 changed files with 232 additions and 0 deletions
+14
View File
@@ -0,0 +1,14 @@
apiVersion: v1
kind: PersistentVolume
metadata:
name: postgresql-pv
labels:
type: local
spec:
storageClassName: manual
capacity:
storage: 2Gi
accessModes:
- ReadWriteOnce
hostPath:
path: "/mnt/data"