init: FastAPI priprema-za-kolokvij + k8s manifesti (monorepo)

This commit is contained in:
GalicIvan
2026-06-25 00:10:26 +02:00
commit 502e190aba
8 changed files with 49 additions and 0 deletions

0
k8s/deployment.yaml Normal file
View File

18
k8s/ingress.yaml Normal file
View File

@@ -0,0 +1,18 @@
apiVersion: networking.k8s.io/v1
kind: Ingress
metadata:
name: priprema-ingress
namespace: student-GalicIvan
spec:
ingressClassName: traefik
rules:
- host: GalicIvan.argocd.fpmoz.sum.ba
http:
paths:
- path: /
pathType: Prefix
backend:
service:
name: priprema-svc # mora odgovarati service.yaml
port:
number: 80 # port Servicea (ne containera!)

0
k8s/service.yaml Normal file
View File