no maxmemory by default
This commit is contained in:
@@ -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
@@ -451,4 +451,5 @@ dragonfly:
|
|||||||
# Включает или отключает развёртывание Dragonfly (Redis).
|
# Включает или отключает развёртывание Dragonfly (Redis).
|
||||||
# Установите в true, чтобы активировать, или в false, чтобы отключить.
|
# Установите в true, чтобы активировать, или в false, чтобы отключить.
|
||||||
enabled: true
|
enabled: true
|
||||||
maxmemory: "256M"
|
# По умолчанию параметр не используется. По необходимости, раскомментируйте и установите требуемое значение maxmemory
|
||||||
|
# maxmemory: "256M"
|
||||||
Reference in New Issue
Block a user