now?
All checks were successful
Check Kubernetes YAMLs / scan (push) Successful in 17s

This commit is contained in:
Lee
2024-09-24 07:36:02 +01:00
parent df3a8eac72
commit 0bf065ffc9
4 changed files with 2 additions and 18 deletions

View File

@ -0,0 +1,12 @@
---
apiVersion: v1
kind: PersistentVolumeClaim
metadata:
name: searxng-redis-pvc
namespace: public-services
spec:
accessModes:
- ReadWriteOnce
resources:
requests:
storage: 1Gi

View File

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

View File

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