surely it'll work now
Some checks failed
Check Kubernetes YAMLs / scan (push) Failing after 20s

This commit is contained in:
Lee 2024-09-24 07:55:14 +01:00
parent 6639673c00
commit 6318c34ad1

@ -1,23 +1,33 @@
apiVersion: v1
kind: Pod
apiVersion: apps/v1
kind: Deployment
metadata:
name: searxng-redis
namespace: public-services
spec:
containers:
- name: searxng-redis
image: docker.io/valkey/valkey:8-alpine
command: ["valkey-server", "--save", "30", "1", "--loglevel", "warning"]
ports:
- containerPort: 6379
volumeMounts:
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:
- name: redis-data
mountPath: /data
resources:
limits:
memory: "128Mi"
cpu: "100m"
volumes:
- name: redis-data
persistentVolumeClaim:
claimName: searxng-redis-pvc
persistentVolumeClaim:
claimName: searxng-redis-pvc