Set max memory for clickhouse
This commit is contained in:
parent
cbec91b436
commit
4b13df8a56
@ -15,7 +15,8 @@ spec:
|
||||
nodes:
|
||||
- host: chk-keeper-chk-0-0
|
||||
port: 2181
|
||||
|
||||
settings:
|
||||
max_server_memory_usage_to_ram_ratio: 0.9
|
||||
clusters:
|
||||
- name: "report"
|
||||
layout:
|
||||
@ -38,6 +39,13 @@ spec:
|
||||
mountPath: /var/lib/clickhouse
|
||||
- name: log-storage-vc-template
|
||||
mountPath: /var/log/clickhouse-server
|
||||
resources:
|
||||
limits:
|
||||
cpu: 1000m
|
||||
memory: 3Gi
|
||||
requests:
|
||||
cpu: 100m
|
||||
memory: 2Gi
|
||||
|
||||
volumeClaimTemplates:
|
||||
- name: data-storage-vc-template
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user