fix(clikhouse): minimal cpu/mem for clickhouse

Signed-off-by: rjshrjndrn <rjshrjndrn@gmail.com>
This commit is contained in:
rjshrjndrn 2025-01-30 16:48:21 +01:00
parent 12472cf84c
commit e72d492e66
2 changed files with 3 additions and 3 deletions

View file

@ -118,8 +118,8 @@ spec:
resources:
limits: {}
requests:
cpu: 1
memory: 4Gi
cpu: 100m
memory: 250Mi
volumeClaimTemplates:
- metadata:
name: default-chi-openreplay-clickhouse-replicated-0-0-0

View file

@ -372,7 +372,7 @@ function version_specific_checks() {
version=$(sem_to_int "$1")
# check version specific instructions
if [ "$version" -le 1220 ]; then
log info "Version less than 1.22.0"
log info "Version less than ${version}"
log info "Checking clickhouse"
if [ -z "$(kubectl get pods -n db -l app.kubernetes.io/name=clickhouse --no-headers 2>/dev/null)" ]; then
log info "Installing clickhouse"