Files
ApiCore/deploy/k8s/frontend/deployment.yaml
T
Nick SzaunigandClaude Opus 5.5 cde817845e
Backend Image / build-and-push (push) Successful in 3m9s
Frontend Image / build-and-push (push) Canceled after 2m1s
chore(k8s): drop CPU and memory requests
Requests are set to an explicit 0 instead of being removed, because
Kubernetes defaults a missing request to the limit, which would reserve
even more. Limits stay as an upper bound.

Co-Authored-By: Claude Opus 5.5 (1M context) <[email protected]>
2026-10-10 04:08:07 +02:00

38 lines
855 B
YAML

apiVersion: apps/v1
kind: Deployment
metadata:
name: apicore-frontend
labels:
app: apicore-frontend
spec:
replicas: 2
selector:
matchLabels:
app: apicore-frontend
template:
metadata:
labels:
app: apicore-frontend
spec:
containers:
- name: apicore-frontend
image: git.encry.de/nick.rosenloecher/apicore-frontend:latest
ports:
- containerPort: 3000
envFrom:
- configMapRef:
name: apicore-frontend-config
readinessProbe:
httpGet:
path: /
port: 3000
initialDelaySeconds: 5
periodSeconds: 10
resources:
requests:
cpu: "0"
memory: "0"
limits:
cpu: 500m
memory: 512Mi