Add Redis for immich
This commit is contained in:
@@ -5,4 +5,6 @@ metadata:
|
||||
namespace: immich
|
||||
resources:
|
||||
- namespace.yaml
|
||||
- redis-srv.yaml
|
||||
- redis.yaml
|
||||
- uploads-pvc.yaml
|
||||
|
||||
15
apps/hydra/immich/redis-srv.yaml
Normal file
15
apps/hydra/immich/redis-srv.yaml
Normal 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: {}
|
||||
22
apps/hydra/immich/redis.yaml
Normal file
22
apps/hydra/immich/redis.yaml
Normal 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: {}
|
||||
Reference in New Issue
Block a user