feat: dodaj Kubernetes manifeste za FastAPI + Postgres

This commit is contained in:
2026-05-19 10:32:03 +02:00
parent f1957949c6
commit d5ca84bd40
9 changed files with 174 additions and 0 deletions

View File

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