split db and app into two deployments

This commit is contained in:
2025-12-10 03:39:44 +05:30
parent fb8f41165e
commit 808bfb8b2f
3 changed files with 66 additions and 31 deletions

View File

@@ -15,3 +15,16 @@ spec:
- port: 3001
targetPort: 3000
protocol: TCP
---
apiVersion: v1
kind: Service
metadata:
name: jellystat-db-service
namespace: monitoring
spec:
selector:
app: jellystat-db
ports:
- port: 5432
targetPort: 5432