apiVersion: apps/v1
kind: Deployment
metadata:
name: searxng-redis
namespace: public-services
spec:
replicas: 1
selector:
matchLabels:
app: searxng-redis
template:
labels:
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:
persistentVolumeClaim:
claimName: searxng-redis-pvc