Skip to content

Commit 14bc587

Browse files
committed
limit kvrocks ram usage
1 parent f4645e0 commit 14bc587

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

chart/app-templates/kvrocks.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -106,7 +106,7 @@ spec:
106106
image: {{ redis_image }}
107107
imagePullPolicy: {{ redis_image_pull_policy }}
108108

109-
args: ["--port", "6379", "--dir", "/data", "--appendonly", "{{ 'no' if load_dump else 'yes' }}"]
109+
args: ["--port", "6379", "--dir", "/data", "--rocksdb.block_cache_size", "512", "--appendonly", "{{ 'no' if load_dump else 'yes' }}"]
110110
volumeMounts:
111111
- name: redis-data
112112
mountPath: /data

0 commit comments

Comments
 (0)