This is an automated email from the ASF dual-hosted git repository.
lhotari pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/pulsar-helm-chart.git
The following commit(s) were added to refs/heads/master by this push:
new 85d45fa Upgrade to Pulsar 4.0.9 (#648)
85d45fa is described below
commit 85d45fa26335bef0739597785b80195c26dcfc3c
Author: Lari Hotari <[email protected]>
AuthorDate: Thu Feb 19 23:45:05 2026 +0200
Upgrade to Pulsar 4.0.9 (#648)
- set appVersion to 4.0.9
- fix broken CI with a workaround
- Pulsar regression, which will be fixed by
https://github.com/apache/pulsar/pull/25254
---
.ci/clusters/values-pulsar-previous-lts.yaml | 2 +-
.ci/helm.sh | 14 +++++++++-----
charts/pulsar/Chart.yaml | 2 +-
3 files changed, 11 insertions(+), 7 deletions(-)
diff --git a/.ci/clusters/values-pulsar-previous-lts.yaml
b/.ci/clusters/values-pulsar-previous-lts.yaml
index 5183dcb..3a22f2d 100644
--- a/.ci/clusters/values-pulsar-previous-lts.yaml
+++ b/.ci/clusters/values-pulsar-previous-lts.yaml
@@ -17,7 +17,7 @@
# under the License.
#
-defaultPulsarImageTag: 3.0.15
+defaultPulsarImageTag: 3.0.16
# Pulsar 3.0.x runs on JDK 17, which doesn't support -XX:+ZGeneration,
therefore it's necessary to
# override the PULSAR_GC options to use ZGC.
diff --git a/.ci/helm.sh b/.ci/helm.sh
index 7d5bc0b..c5186ca 100755
--- a/.ci/helm.sh
+++ b/.ci/helm.sh
@@ -311,7 +311,9 @@ function ci::test_pulsar_producer_consumer() {
}
function ci::wait_function_running() {
- num_running=$(${KUBECTL} exec -n ${NAMESPACE} ${CLUSTER}-toolset-0 -- bash
-c 'bin/pulsar-admin functions status --tenant pulsar-ci --namespace test
--name test-function' | jq .numRunning)
+ local function_status=$(${KUBECTL} exec -n ${NAMESPACE}
${CLUSTER}-toolset-0 -- bash -c 'bin/pulsar-admin functions status --tenant
pulsar-ci --namespace test --name test-function | grep -v INFO')
+ echo "Function status: $function_status"
+ num_running=$(echo $function_status | jq .numRunning || echo 0)
counter=1
while [[ ${num_running} -lt 1 ]]; do
((counter++))
@@ -330,12 +332,14 @@ function ci::wait_function_running() {
echo "Function pod logs"
${KUBECTL} logs -n ${NAMESPACE} $podname
fi
- num_running=$(${KUBECTL} exec -n ${NAMESPACE} ${CLUSTER}-toolset-0 --
bash -c 'bin/pulsar-admin functions status --tenant pulsar-ci --namespace test
--name test-function' | jq .numRunning)
+ function_status=$(${KUBECTL} exec -n ${NAMESPACE} ${CLUSTER}-toolset-0
-- bash -c 'bin/pulsar-admin functions status --tenant pulsar-ci --namespace
test --name test-function | grep -v INFO')
+ echo "Function status: $function_status"
+ num_running=$(echo $function_status | jq .numRunning || echo 0)
done
}
function ci::wait_message_processed() {
- num_processed=$(${KUBECTL} exec -n ${NAMESPACE} ${CLUSTER}-toolset-0 --
bash -c 'bin/pulsar-admin functions stats --tenant pulsar-ci --namespace test
--name test-function' | jq .processedSuccessfullyTotal)
+ num_processed=$(${KUBECTL} exec -n ${NAMESPACE} ${CLUSTER}-toolset-0 --
bash -c 'bin/pulsar-admin functions stats --tenant pulsar-ci --namespace test
--name test-function | grep -v INFO' | jq .processedSuccessfullyTotal)
podname=$(${KUBECTL} get pods -l component=function -n ${NAMESPACE}
--no-headers -o custom-columns=":metadata.name")
counter=1
while [[ ${num_processed} -lt 1 ]]; do
@@ -350,8 +354,8 @@ function ci::wait_message_processed() {
${KUBECTL} describe pod -n ${NAMESPACE} $podname
echo "Function pod logs"
${KUBECTL} logs -n ${NAMESPACE} $podname
- ${KUBECTL} exec -n ${NAMESPACE} ${CLUSTER}-toolset-0 -- bin/pulsar-admin
functions stats --tenant pulsar-ci --namespace test --name test-function
- num_processed=$(${KUBECTL} exec -n ${NAMESPACE} ${CLUSTER}-toolset-0 --
bash -c 'bin/pulsar-admin functions stats --tenant pulsar-ci --namespace test
--name test-function' | jq .processedSuccessfullyTotal)
+ ${KUBECTL} exec -n ${NAMESPACE} ${CLUSTER}-toolset-0 -- bin/pulsar-admin
functions stats --tenant pulsar-ci --namespace test --name test-function | grep
-v INFO
+ num_processed=$(${KUBECTL} exec -n ${NAMESPACE} ${CLUSTER}-toolset-0 --
bash -c 'bin/pulsar-admin functions stats --tenant pulsar-ci --namespace test
--name test-function | grep -v INFO' | jq .processedSuccessfullyTotal)
done
}
diff --git a/charts/pulsar/Chart.yaml b/charts/pulsar/Chart.yaml
index 6cbd0c8..ebc2cf9 100644
--- a/charts/pulsar/Chart.yaml
+++ b/charts/pulsar/Chart.yaml
@@ -18,7 +18,7 @@
#
apiVersion: v2
-appVersion: "4.0.8"
+appVersion: "4.0.9"
description: Apache Pulsar Helm chart for Kubernetes
name: pulsar
version: 4.4.0