feat: dodaj Kubernetes manifeste za FastAPI + Postgres

This commit is contained in:
Petrraa
2026-05-19 10:56:40 +02:00
parent 78190fe41c
commit 043693c72a
9 changed files with 175 additions and 0 deletions

View File

@@ -0,0 +1,12 @@
apiVersion: v1
kind: Service
metadata:
name: postgres-service
namespace: student-petrraa
spec:
selector:
app: postgres
ports:
- port: 5432
targetPort: 5432
type: ClusterIP # dostupno samo unutar clustera