update: redis-stack
parent
5eca577272
commit
5eb4e0a493
|
@ -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
|
apiVersion: apps/v1
|
||||||
kind: Deployment
|
kind: Deployment
|
||||||
|
@ -48,7 +26,11 @@ spec:
|
||||||
- name: redis-stack
|
- name: redis-stack
|
||||||
image: redis/redis-stack-server:7.2.0-v0
|
image: redis/redis-stack-server:7.2.0-v0
|
||||||
ports:
|
ports:
|
||||||
- containerPort: 6379
|
- protocol: TCP
|
||||||
|
containerPort: 8080
|
||||||
|
env:
|
||||||
|
- name: "REDIS_ARGS"
|
||||||
|
value: "--requirepass beaconfire@123"
|
||||||
resources:
|
resources:
|
||||||
limits:
|
limits:
|
||||||
cpu: 1
|
cpu: 1
|
||||||
|
|
Loading…
Reference in New Issue