homelab/kubernetes/apps/production/searxng/redis/redis.yaml

23 lines
514 B
YAML
Raw Normal View History

2024-09-24 06:01:24 +00:00
---
apiVersion: v1
kind: Pod
metadata:
name: searxng-redis
namespace: public-services
spec:
containers:
2024-09-24 06:32:28 +00:00
- name: searxng-redis
2024-09-24 06:01:24 +00:00
image: docker.io/valkey/valkey:8-alpine
command: ["valkey-server", "--save", "30", "1", "--loglevel", "warning"]
volumeMounts:
- name: redis-data
mountPath: /data
resources:
limits:
2024-09-24 06:38:13 +00:00
memory: "96Mi"
cpu: "50m"
2024-09-24 06:01:24 +00:00
volumes:
- name: redis-data
persistentVolumeClaim:
claimName: searxng-redis-pvc