no maxmemory by default

This commit is contained in:
2026-03-26 09:58:06 +00:00
parent 05b56dbc96
commit 2e4a8b4506
2 changed files with 5 additions and 2 deletions
+3 -1
View File
@@ -21,8 +21,10 @@ spec:
containers: containers:
- name: dragonfly - name: dragonfly
image: cr.yandex/crpnn6fi85p3dauha6nc/dragonflydb:1.15.1 image: cr.yandex/crpnn6fi85p3dauha6nc/dragonflydb:1.15.1
{{- if .Values.dragonfly.maxmemory }}
args: args:
- --maxmemory={{ .Values.dragonfly.maxmemory | default "256M" }} - --maxmemory={{ .Values.dragonfly.maxmemory }}
{{- end }}
ports: ports:
- name: dragonfly - name: dragonfly
containerPort: 6379 containerPort: 6379
+2 -1
View File
@@ -451,4 +451,5 @@ dragonfly:
# Включает или отключает развёртывание Dragonfly (Redis). # Включает или отключает развёртывание Dragonfly (Redis).
# Установите в true, чтобы активировать, или в false, чтобы отключить. # Установите в true, чтобы активировать, или в false, чтобы отключить.
enabled: true enabled: true
maxmemory: "256M" # По умолчанию параметр не используется. По необходимости, раскомментируйте и установите требуемое значение maxmemory
# maxmemory: "256M"