From cee3fcfe569e2a8cc87fb5f8046b29f47f1d4e39 Mon Sep 17 00:00:00 2001 From: ran Date: Mon, 11 Apr 2022 15:33:29 +0800 Subject: [PATCH] Bump version to `2.9.2` (#255) * Bump version to `2.9.2` * Because the latest Pulsar image is based on Java 11, some JVM param for printing GC information has been abandoned, change to use the new JVM param. refer to https://docs.oracle.com/en/java/javase/11/tools/java.html#GUID-BE93ABDC-999C-4CB5-A88B-1994AAAC74D5 and https://issues.redhat.com/browse/CLOUD-3040. original param | new param --|-- `-XX:+PrintGCDetails` | `-Xlog:gc*` `-XX:+PrintGCApplicationStoppedTime` | `-Xlog:safepoint` `-XX:+PrintHeapAtGC` | `-Xlog:gc+heap=trace` `-XX:+PrintGCTimeStamps` | `-Xlog:gc::utctime` * remove JVM param `-XX:G1LogLevel=finest` --- .ci/clusters/values-pulsar-image.yaml | 16 ++++++++-------- charts/pulsar/Chart.yaml | 4 ++-- charts/pulsar/values.yaml | 25 ++++++++++++------------- 3 files changed, 22 insertions(+), 23 deletions(-) diff --git a/.ci/clusters/values-pulsar-image.yaml b/.ci/clusters/values-pulsar-image.yaml index a8f0191..bb1bb79 100644 --- a/.ci/clusters/values-pulsar-image.yaml +++ b/.ci/clusters/values-pulsar-image.yaml @@ -48,7 +48,7 @@ bookkeeper: metadata: image: repository: apachepulsar/pulsar-all - tag: 2.6.0 + tag: 2.9.2 broker: replicaCount: 1 @@ -72,24 +72,24 @@ toolset: images: zookeeper: repository: apachepulsar/pulsar-all - tag: 2.6.0 + tag: 2.9.2 bookie: repository: apachepulsar/pulsar-all - tag: 2.6.0 + tag: 2.9.2 autorecovery: repository: apachepulsar/pulsar-all - tag: 2.6.0 + tag: 2.9.2 broker: repository: apachepulsar/pulsar-all - tag: 2.6.0 + tag: 2.9.2 functions: repository: apachepulsar/pulsar-all - tag: 2.6.0 + tag: 2.9.2 proxy: repository: apachepulsar/pulsar-all - tag: 2.6.0 + tag: 2.9.2 pulsar_metadata: image: repository: apachepulsar/pulsar-all - tag: 2.6.0 + tag: 2.9.2 diff --git a/charts/pulsar/Chart.yaml b/charts/pulsar/Chart.yaml index 35bfed4..a9ff7fa 100644 --- a/charts/pulsar/Chart.yaml +++ b/charts/pulsar/Chart.yaml @@ -18,10 +18,10 @@ # apiVersion: v2 -appVersion: "2.7.4" +appVersion: "2.9.2" description: Apache Pulsar Helm chart for Kubernetes name: pulsar -version: 2.7.13 +version: 2.9.2 home: https://pulsar.apache.org sources: - https://github.com/apache/pulsar diff --git a/charts/pulsar/values.yaml b/charts/pulsar/values.yaml index 180f79b..81cfa16 100644 --- a/charts/pulsar/values.yaml +++ b/charts/pulsar/values.yaml @@ -163,27 +163,27 @@ extra: images: zookeeper: repository: apachepulsar/pulsar-all - tag: 2.7.4 + tag: 2.9.2 pullPolicy: IfNotPresent bookie: repository: apachepulsar/pulsar-all - tag: 2.7.4 + tag: 2.9.2 pullPolicy: IfNotPresent autorecovery: repository: apachepulsar/pulsar-all - tag: 2.7.4 + tag: 2.9.2 pullPolicy: IfNotPresent broker: repository: apachepulsar/pulsar-all - tag: 2.7.4 + tag: 2.9.2 pullPolicy: IfNotPresent proxy: repository: apachepulsar/pulsar-all - tag: 2.7.4 + tag: 2.9.2 pullPolicy: IfNotPresent functions: repository: apachepulsar/pulsar-all - tag: 2.7.4 + tag: 2.9.2 prometheus: repository: prom/prometheus tag: v2.17.2 @@ -567,13 +567,12 @@ bookkeeper: -XX:-ResizePLAB -XX:+ExitOnOutOfMemoryError -XX:+PerfDisableSharedMem - -XX:+PrintGCDetails - -XX:+PrintGCTimeStamps - -XX:+PrintGCApplicationStoppedTime - -XX:+PrintHeapAtGC + -Xlog:gc* + -Xlog:gc::utctime + -Xlog:safepoint + -Xlog:gc+heap=trace -verbosegc - -Xloggc:/var/log/bookie-gc.log - -XX:G1LogLevel=finest + -Xlog:gc:/var/log/bookie-gc.log # configure the memory settings based on jvm memory settings dbStorage_writeCacheMaxSizeMb: "32" dbStorage_readAheadCacheMaxSizeMb: "32" @@ -646,7 +645,7 @@ pulsar_metadata: image: # the image used for running `pulsar-cluster-initialize` job repository: apachepulsar/pulsar-all - tag: 2.7.4 + tag: 2.9.2 pullPolicy: IfNotPresent ## set an existing configuration store # configurationStore: