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

This commit is contained in:
tony773
2026-05-26 10:30:55 +02:00
commit c26e2a0054
7 changed files with 89 additions and 0 deletions

27
k8s/deployment.yaml Normal file
View File

@@ -0,0 +1,27 @@
apiVersion: apps/v1
kind: Deployment
metadata:
name: priprema-za-kolokvij
namespace: student-tony773
spec:
replicas: 1
selector:
matchLabels:
app: priprema-za-kolokvij
template:
metadata:
labels:
app: priprema-za-kolokvij
spec:
containers:
- name: priprema-za-kolokvij
image: git.fpmoz.sum.ba/tony773/priprema-za-kolokvij:1.0
ports:
- containerPort: 8000
resources:
requests:
memory: "64Mi"
cpu: "50m"
limits:
memory: "128Mi"
cpu: "200m"