Files
argocd-apps/apps/base/artifactapi3/redis-deployment.yaml
T
unkinben fce6b73d31 feat: add artifactapi3 application
Deploy artifactapi v3 with separate API and UI deployments, CNPG
PostgreSQL cluster with pooler, and Redis. Routes traffic via
Gateway API for artifactapi.main.unkin.net and
artifactapi3.k8s.syd1.au.unkin.net.
2026-06-22 23:57:29 +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