ports are helpful
Some checks failed
Check Kubernetes YAMLs / scan (push) Failing after 18s

This commit is contained in:
Lee 2024-09-24 07:31:10 +01:00
parent d0fcc1d6dc
commit 8878f764a3
2 changed files with 15 additions and 0 deletions

@ -9,6 +9,8 @@ spec:
- name: 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

@ -0,0 +1,13 @@
---
apiVersion: v1
kind: Service
metadata:
name: searxng-redis
namespace: public-services
spec:
type: ClusterIP
ports:
- port: 6379
targetPort: 6379
selector:
app: searxng-redis