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
+12
View File
@@ -0,0 +1,12 @@
apiVersion: v1
kind: Service
metadata:
name: postgres
labels:
app: postgres
spec:
type: NodePort
ports:
- port: 5432
selector:
app: postgres