38 lines
866 B
YAML
38 lines
866 B
YAML
# Job queue broker for immich-server. No PVC: queue state is disposable - a
|
|||
|
|
# lost queue on restart just re-triggers the affected background jobs
|
||
|
|
# (thumbnail generation, ML jobs, etc.), no photo data loss since originals
|
||
|
|
# live on immich-media.
|
||
|
|
apiVersion: apps/v1
|
||
|
|
kind: Deployment
|
||
|
|
metadata:
|
||
|
|
name: immich-redis
|
||
|
|
spec:
|
||
|
|
replicas: 1
|
||
|
|
selector:
|
||
|
|
matchLabels:
|
||
|
|
app: immich-redis
|
||
|
|
template:
|
||
|
|
metadata:
|
||
|
|
labels:
|
||
|
|
app: immich-redis
|
||
|
|
spec:
|
||
|
|
containers:
|
||
|
|
- name: redis
|
||
|
|
image: redis:7-alpine
|
||
|
|
ports:
|
||
|
|
- containerPort: 6379
|
||
|
|
resources:
|
||
|
|
requests: { cpu: "50m", memory: "64Mi" }
|
||
|
|
limits: { cpu: "250m", memory: "256Mi" }
|
||
|
|
---
|
||
|
|
apiVersion: v1
|
||
|
|
kind: Service
|
||
|
|
metadata:
|
||
|
|
name: immich-redis
|
||
|
|
spec:
|
||
|
|
selector:
|
||
|
|
app: immich-redis
|
||
|
|
ports:
|
||
|
|
- port: 6379
|
||
|
|
targetPort: 6379
|