Files
taskarr-mgr/deploy/overlays/production/deployment.yaml
Milas Holsting cba49b734c
Some checks failed
Build and Push Container Image / build-and-push (push) Failing after 3m14s
add vault secrets and fix still poiting to election
2026-05-13 11:03:19 +02:00

27 lines
703 B
YAML

apiVersion: apps/v1
kind: Deployment
metadata:
name: taskarr # Must match the name in base/
spec:
replicas: 2 # Scale up for production
template:
spec:
containers:
- name: main # This name must match base EXACTLY
ports: # Adding this back into the patch solves the diff
- containerPort: 3000
name: taskarr
# Production-specific resource limits
resources:
limits:
cpu: "1"
memory: "1Gi"
requests:
cpu: "500m"
memory: "512Mi"
# Adding a production-only environment variable
env:
- name: NODE_ENV
value: "production"