Add Redis for immich

This commit is contained in:
Daniel Cosme
2026-05-05 12:23:57 -04:00
parent f6aa470049
commit 4b1d5a6f9b
13 changed files with 81 additions and 19 deletions

View File

@@ -5,4 +5,6 @@ metadata:
namespace: immich
resources:
- namespace.yaml
- redis-srv.yaml
- redis.yaml
- uploads-pvc.yaml

View File

@@ -0,0 +1,15 @@
apiVersion: v1
kind: Service
metadata:
labels:
app: redis
name: redis
namespace: immich
spec:
ports:
- port: 6379
targetPort: 0
selector:
app: redis
status:
loadBalancer: {}

View File

@@ -0,0 +1,22 @@
apiVersion: apps/v1
kind: Deployment
metadata:
labels:
app: redis
name: redis
namespace: immich
spec:
selector:
matchLabels:
app: redis
strategy: {}
template:
metadata:
labels:
app: redis
spec:
containers:
- image: docker.io/valkey/valkey:9@sha256:3b55fbaa0cd93cf0d9d961f405e4dfcc70efe325e2d84da207a0a8e6d8fde4f9
name: immich_redis
resources: {}
status: {}

View File

@@ -4,7 +4,7 @@ metadata:
name: linking
namespace: linkding
resources:
- pvc.yaml
- deployment.yaml
- namespace.yaml
- pvc.yaml
- srv.yaml