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