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

25 lines
551 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:
- name: redis
image: docker.io/valkey/valkey:8-alpine
command: ["valkey-server", "--save", "30", "1", "--loglevel", "warning"]
2024-09-24 06:31:10 +00:00
ports:
- containerPort: 6379
2024-09-24 06:01:24 +00:00
volumeMounts:
- name: redis-data
mountPath: /data
resources:
limits:
memory: "256Mi"
cpu: "500m"
volumes:
- name: redis-data
persistentVolumeClaim:
claimName: searxng-redis-pvc