init: FastAPI + k8s manifesti (monorepo)

This commit is contained in:
vinko004
2026-06-09 08:03:09 +02:00
commit 4078d1f625
7 changed files with 86 additions and 0 deletions

29
k8s/deployment.yaml Normal file
View File

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