no maxmemory by default
This commit is contained in:
@@ -21,8 +21,10 @@ spec:
|
||||
containers:
|
||||
- name: dragonfly
|
||||
image: cr.yandex/crpnn6fi85p3dauha6nc/dragonflydb:1.15.1
|
||||
{{- if .Values.dragonfly.maxmemory }}
|
||||
args:
|
||||
- --maxmemory={{ .Values.dragonfly.maxmemory | default "256M" }}
|
||||
- --maxmemory={{ .Values.dragonfly.maxmemory }}
|
||||
{{- end }}
|
||||
ports:
|
||||
- name: dragonfly
|
||||
containerPort: 6379
|
||||
|
||||
+2
-1
@@ -451,4 +451,5 @@ dragonfly:
|
||||
# Включает или отключает развёртывание Dragonfly (Redis).
|
||||
# Установите в true, чтобы активировать, или в false, чтобы отключить.
|
||||
enabled: true
|
||||
maxmemory: "256M"
|
||||
# По умолчанию параметр не используется. По необходимости, раскомментируйте и установите требуемое значение maxmemory
|
||||
# maxmemory: "256M"
|
||||
Reference in New Issue
Block a user