This repository has been archived on 2024-10-29. You can view files and clone it, but cannot push or open issues or pull requests.
homelab/kubernetes/apps/disabled/searxng/redis/redis.yaml

34 lines
792 B
YAML
Raw Normal View History

2024-09-24 06:55:14 +00:00
apiVersion: apps/v1
kind: Deployment
2024-09-24 06:01:24 +00:00
metadata:
name: searxng-redis
namespace: public-services
spec:
2024-09-24 06:55:14 +00:00
replicas: 1
selector:
matchLabels:
app: searxng-redis
template:
metadata:
labels:
app: searxng-redis
spec:
containers:
- name: searxng-redis
image: docker.io/valkey/valkey:8-alpine
command:
["valkey-server", "--save", "30", "1", "--loglevel", "warning"]
ports:
- containerPort: 6379
volumeMounts:
- name: redis-data
mountPath: /data
resources:
limits:
memory: "128Mi"
cpu: "100m"
volumes:
2024-09-24 06:01:24 +00:00
- name: redis-data
2024-09-24 06:55:14 +00:00
persistentVolumeClaim:
claimName: searxng-redis-pvc