Add redis for caching

This commit is contained in:
j 2025-07-11 00:41:13 +10:00
parent f37cffaf94
commit 019cfea0bd
2 changed files with 34 additions and 0 deletions

View file

@ -6,3 +6,4 @@ resources:
- mariadb.yaml
- replicator.yaml
- namespace.yaml
- redis.yaml

View file

@ -0,0 +1,33 @@
---
apiVersion: apps/v1
kind: Deployment
metadata:
name: redis
namespace: home-server
spec:
replicas: 1
selector:
matchLabels:
app: redis
template:
metadata:
labels:
app: redis
spec:
containers:
- name: redis
image: redis:7
ports:
- containerPort: 6379
---
apiVersion: v1
kind: Service
metadata:
name: redis
namespace: home-server
spec:
selector:
app: redis
ports:
- port: 6379