fix(clikhouse): minimal cpu/mem for clickhouse
Signed-off-by: rjshrjndrn <rjshrjndrn@gmail.com>
This commit is contained in:
parent
12472cf84c
commit
e72d492e66
2 changed files with 3 additions and 3 deletions
|
|
@ -118,8 +118,8 @@ spec:
|
||||||
resources:
|
resources:
|
||||||
limits: {}
|
limits: {}
|
||||||
requests:
|
requests:
|
||||||
cpu: 1
|
cpu: 100m
|
||||||
memory: 4Gi
|
memory: 250Mi
|
||||||
volumeClaimTemplates:
|
volumeClaimTemplates:
|
||||||
- metadata:
|
- metadata:
|
||||||
name: default-chi-openreplay-clickhouse-replicated-0-0-0
|
name: default-chi-openreplay-clickhouse-replicated-0-0-0
|
||||||
|
|
|
||||||
|
|
@ -372,7 +372,7 @@ function version_specific_checks() {
|
||||||
version=$(sem_to_int "$1")
|
version=$(sem_to_int "$1")
|
||||||
# check version specific instructions
|
# check version specific instructions
|
||||||
if [ "$version" -le 1220 ]; then
|
if [ "$version" -le 1220 ]; then
|
||||||
log info "Version less than 1.22.0"
|
log info "Version less than ${version}"
|
||||||
log info "Checking clickhouse"
|
log info "Checking clickhouse"
|
||||||
if [ -z "$(kubectl get pods -n db -l app.kubernetes.io/name=clickhouse --no-headers 2>/dev/null)" ]; then
|
if [ -z "$(kubectl get pods -n db -l app.kubernetes.io/name=clickhouse --no-headers 2>/dev/null)" ]; then
|
||||||
log info "Installing clickhouse"
|
log info "Installing clickhouse"
|
||||||
|
|
|
||||||
Loading…
Add table
Reference in a new issue