try chatgpt provided chart for redis/keyDB
This commit is contained in:
24
redis/templates/configmap.yaml
Normal file
24
redis/templates/configmap.yaml
Normal file
@@ -0,0 +1,24 @@
|
||||
# -----------------------------------------------------------------------------
|
||||
# templates/configmap.yaml
|
||||
# -----------------------------------------------------------------------------
|
||||
{{""}}
|
||||
apiVersion: v1
|
||||
kind: ConfigMap
|
||||
metadata:
|
||||
name: '{{ include "keydb-custom.fullname" . }}-conf'
|
||||
labels:
|
||||
app: {{ include "keydb-custom.name" . }}
|
||||
data:
|
||||
keydb.conf: |
|
||||
# Minimal keydb.conf generated from values
|
||||
server-threads {{ .Values.keydb.serverThreads }}
|
||||
maxmemory {{ .Values.keydb.maxmemory }}
|
||||
maxmemory-policy {{ .Values.keydb.maxmemoryPolicy }}
|
||||
appendonly {{ .Values.keydb.appendonly }}
|
||||
protected-mode no
|
||||
bind 0.0.0.0
|
||||
port {{ .Values.service.port }}
|
||||
active-replica yes
|
||||
scratch-file-path /tmp/
|
||||
jemalloc-bg-thread no # doesn't work with rpi5 16ko page size instead of classic 4ko size
|
||||
# requirepass is handled via env (not in file)
|
||||
Reference in New Issue
Block a user