Files
argocd-apps/apps/base/artifactapi3/redis-deployment.yaml
T
unkinben 588b4a5f78 feat: add artifactapi3 application
Deploy artifactapi v3 with separate API and UI deployments, CNPG
PostgreSQL cluster with pooler, and Redis.
2026-06-23 22:52:52 +10:00

37 lines
700 B
YAML

---
apiVersion: apps/v1
kind: Deployment
metadata:
name: redis
namespace: artifactapi3
spec:
replicas: 1
selector:
matchLabels:
app: redis
template:
metadata:
labels:
app: redis
spec:
containers:
- name: redis
image: redis:7-alpine
command:
- redis-server
- --save
- "20"
- "1"
ports:
- containerPort: 6379
name: redis
protocol: TCP
resources:
limits:
cpu: 250m
memory: 256Mi
requests:
cpu: 50m
memory: 64Mi
restartPolicy: Always