update: redis-stack

main
ycz008 2023-08-16 14:30:48 +08:00
parent 5eca577272
commit 5eb4e0a493
1 changed files with 5 additions and 23 deletions

View File

@ -1,25 +1,3 @@
---
apiVersion: v1
kind: ConfigMap
metadata:
name: redis-stack-config
labels:
app: redis-stack
data:
redis-stack.conf: |-
dir /srv
port 6379
bind 0.0.0.0
appendonly yes
daemonize no
requirepass beaconfire@123
pidfile /srv/redis-6379.pid
loadmodule /opt/redis-stack/lib/redisearch.so
loadmodule /opt/redis-stack/lib/redistimeseries.so
loadmodule /opt/redis-stack/lib/rejson.so
loadmodule /opt/redis-stack/lib/redisbloom.so
loadmodule /opt/redis-stack/lib/redisgears.so v8-plugin-path /opt/redis-stack/lib/libredisgears_v8_plugin.so
---
apiVersion: apps/v1
kind: Deployment
@ -48,7 +26,11 @@ spec:
- name: redis-stack
image: redis/redis-stack-server:7.2.0-v0
ports:
- containerPort: 6379
- protocol: TCP
containerPort: 8080
env:
- name: "REDIS_ARGS"
value: "--requirepass beaconfire@123"
resources:
limits:
cpu: 1