This commit is contained in:
parent
d0fcc1d6dc
commit
8878f764a3
@ -9,6 +9,8 @@ spec:
|
|||||||
- name: redis
|
- name: redis
|
||||||
image: docker.io/valkey/valkey:8-alpine
|
image: docker.io/valkey/valkey:8-alpine
|
||||||
command: ["valkey-server", "--save", "30", "1", "--loglevel", "warning"]
|
command: ["valkey-server", "--save", "30", "1", "--loglevel", "warning"]
|
||||||
|
ports:
|
||||||
|
- containerPort: 6379
|
||||||
volumeMounts:
|
volumeMounts:
|
||||||
- name: redis-data
|
- name: redis-data
|
||||||
mountPath: /data
|
mountPath: /data
|
13
kubernetes/apps/production/searxng/redis/service.yaml
Normal file
13
kubernetes/apps/production/searxng/redis/service.yaml
Normal file
@ -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
|
Reference in New Issue
Block a user