From a49f514e0d85d4e6ec056b0823155708d984e672 Mon Sep 17 00:00:00 2001 From: Eric Shen Date: Fri, 22 Dec 2023 22:38:29 +0800 Subject: [PATCH] fix: update default zk size to avoid oom (#1141) * fix: update the default zk pod size to avoid oom Signed-off-by: ericsyh * bump pulsar image version Signed-off-by: ericsyh --------- Signed-off-by: ericsyh --- charts/sn-platform-slim/values.yaml | 26 ++++++++++++------------- charts/sn-platform/values.yaml | 30 ++++++++++++++--------------- 2 files changed, 28 insertions(+), 28 deletions(-) diff --git a/charts/sn-platform-slim/values.yaml b/charts/sn-platform-slim/values.yaml index c20604952..d1174f7b8 100644 --- a/charts/sn-platform-slim/values.yaml +++ b/charts/sn-platform-slim/values.yaml @@ -120,42 +120,42 @@ monitoring: images: zookeeper: repository: streamnative/sn-platform-slim - tag: "3.1.0.5" + tag: "3.1.1.1" pullPolicy: IfNotPresent customTools: backup: repository: "streamnative/pulsar-metadata-tool" - tag: "3.1.0.5" + tag: "3.1.1.1" restore: repository: "streamnative/pulsar-metadata-tool" - tag: "3.1.0.5" + tag: "3.1.1.1" bookie: repository: streamnative/sn-platform-slim - tag: "3.1.0.5" + tag: "3.1.1.1" pullPolicy: IfNotPresent autorecovery: repository: streamnative/sn-platform-slim - tag: "3.1.0.5" + tag: "3.1.1.1" pullPolicy: IfNotPresent broker: repository: streamnative/sn-platform-slim - tag: "3.1.0.5" + tag: "3.1.1.1" pullPolicy: IfNotPresent proxy: repository: streamnative/sn-platform-slim - tag: "3.1.0.5" + tag: "3.1.1.1" pullPolicy: IfNotPresent pulsar_detector: repository: streamnative/sn-platform-slim - tag: "3.1.0.5" + tag: "3.1.1.1" pullPolicy: IfNotPresent functions: repository: streamnative/sn-platform-slim - tag: "3.1.0.5" + tag: "3.1.1.1" pullPolicy: IfNotPresent function_worker: repository: streamnative/sn-platform-slim - tag: "3.1.0.5" + tag: "3.1.1.1" pullPolicy: IfNotPresent # NOTE: allow overriding the toolset image toolset: @@ -197,7 +197,7 @@ images: pullPolicy: "IfNotPresent" pulsar_metadata: repository: streamnative/sn-platform-slim - tag: "3.1.0.5" + tag: "3.1.1.1" pullPolicy: IfNotPresent configmapReload: repository: jimmidyson/configmap-reload @@ -618,8 +618,8 @@ zookeeper: # See https://kubernetes.io/docs/concepts/workloads/pods/init-containers/#resources resources: requests: - memory: "256Mi" - cpu: "0.1" + memory: "512Mi" + cpu: "0.2" limits: {} # memory: "1Gi" # cpu: "0.4" diff --git a/charts/sn-platform/values.yaml b/charts/sn-platform/values.yaml index e4a3fabe0..131d8f5e9 100644 --- a/charts/sn-platform/values.yaml +++ b/charts/sn-platform/values.yaml @@ -130,22 +130,22 @@ monitoring: images: zookeeper: repository: streamnative/sn-platform - tag: "3.1.0.5" + tag: "3.1.1.1" pullPolicy: IfNotPresent customTools: backup: repository: "streamnative/pulsar-metadata-tool" - tag: "3.1.0.5" + tag: "3.1.1.1" restore: repository: "streamnative/pulsar-metadata-tool" - tag: "3.1.0.5" + tag: "3.1.1.1" bookie: repository: streamnative/sn-platform - tag: "3.1.0.5" + tag: "3.1.1.1" pullPolicy: IfNotPresent presto: repository: streamnative/sn-platform - tag: "3.1.0.5" + tag: "3.1.1.1" pullPolicy: IfNotPresent exporter: repository: bitnami/jmx-exporter @@ -154,31 +154,31 @@ images: # NOTE: allow overriding the presto worker image # presto_worker: # repository: streamnative/sn-platform - # tag: 3.1.0.5 + # tag: 3.1.1.1 # pullPolicy: IfNotPresent autorecovery: repository: streamnative/sn-platform - tag: "3.1.0.5" + tag: "3.1.1.1" pullPolicy: IfNotPresent broker: repository: streamnative/sn-platform - tag: "3.1.0.5" + tag: "3.1.1.1" pullPolicy: IfNotPresent proxy: repository: streamnative/sn-platform - tag: "3.1.0.5" + tag: "3.1.1.1" pullPolicy: IfNotPresent pulsar_detector: repository: streamnative/sn-platform - tag: "3.1.0.5" + tag: "3.1.1.1" pullPolicy: IfNotPresent functions: repository: streamnative/sn-platform - tag: "3.1.0.5" + tag: "3.1.1.1" pullPolicy: IfNotPresent function_worker: repository: streamnative/sn-platform - tag: "3.1.0.5" + tag: "3.1.1.1" pullPolicy: IfNotPresent # NOTE: allow overriding the toolset image toolset: @@ -243,7 +243,7 @@ images: pullPolicy: IfNotPresent pulsar_metadata: repository: streamnative/sn-platform - tag: "3.1.0.5" + tag: "3.1.1.1" pullPolicy: IfNotPresent configmapReload: repository: jimmidyson/configmap-reload @@ -693,8 +693,8 @@ zookeeper: # See https://kubernetes.io/docs/concepts/workloads/pods/init-containers/#resources resources: requests: - memory: "256Mi" - cpu: "0.1" + memory: "512Mi" + cpu: "0.2" limits: {} # memory: "1Gi" # cpu: "0.4"