From 5eb4e0a4933252acd0b8b00e976c7190e217d116 Mon Sep 17 00:00:00 2001 From: ycz008 Date: Wed, 16 Aug 2023 14:30:48 +0800 Subject: [PATCH] update: redis-stack --- dev-upgrade/redis/redis-stack-dev.yaml | 28 +++++--------------------- 1 file changed, 5 insertions(+), 23 deletions(-) diff --git a/dev-upgrade/redis/redis-stack-dev.yaml b/dev-upgrade/redis/redis-stack-dev.yaml index c3a86a7..1608ae4 100644 --- a/dev-upgrade/redis/redis-stack-dev.yaml +++ b/dev-upgrade/redis/redis-stack-dev.yaml @@ -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