Skip to content

Releases

pulsar-4.9.0-candidate-1

Pre-release

Choose a tag to compare

@lhotari lhotari released this 26 Oct 17:48
dfd8b7d

What's Changed

Full Changelog: pulsar-4.8.0...pulsar-4.9.0-candidate-1

pulsar-4.8.0

Choose a tag to compare

@lhotari lhotari released this 13 Oct 12:01
pulsar-4.8.0

What's Changed

  • Use pulsar.zookeeper.connect template in bookkeeper cluster initialize command. by @ptemarvelde in #707
  • Keep the internal CA private key across renewals with cert-manager 1.18+ by @dejanzele in #709
  • Test with k8s 1.36.1 and certmanager 1.21.0 in CI by @lhotari in #710
  • Upgrade to Oxia 0.16.10 by @lhotari in #719
  • Remove Pulsar Manager support from the chart by @lhotari in #718
  • [improve][ci] Upgrade approved actions, check the ASF allowlist and fix the cert-manager version in CI by @lhotari in #720
  • Upgrade default Apache Pulsar version to 5.0.0 by @lhotari in #723
  • Add job.podAnnotations for the pods created by the chart's Jobs by @Laurianti in #722
  • fix: don't render PodMonitor and HPA for disabled components by @mouchar in #717
  • Certificates SANs FQDN by @gulecroc in #713
  • Add nodeAffinity support to all scheduled workloads by @smbecker in #711
  • Configure certificates subject by @gulecroc in #714
  • Add configurable pod and container securityContext, including readOnlyRootFilesystem support by @mouchar in #715
  • Support externally managed TLS certificates for all components by @lhotari in #724

New Contributors

Full Changelog: pulsar-4.7.0...pulsar-4.8.0

pulsar-4.8.0-candidate-1

Pre-release

Choose a tag to compare

@lhotari lhotari released this 06 Oct 19:53

What's Changed

  • Use pulsar.zookeeper.connect template in bookkeeper cluster initialize command. by @ptemarvelde in #707
  • Keep the internal CA private key across renewals with cert-manager 1.18+ by @dejanzele in #709
  • Test with k8s 1.36.1 and certmanager 1.21.0 in CI by @lhotari in #710
  • Upgrade to Oxia 0.16.10 by @lhotari in #719
  • Remove Pulsar Manager support from the chart by @lhotari in #718
  • [improve][ci] Upgrade approved actions, check the ASF allowlist and fix the cert-manager version in CI by @lhotari in #720
  • Upgrade default Apache Pulsar version to 5.0.0 by @lhotari in #723
  • Add job.podAnnotations for the pods created by the chart's Jobs by @Laurianti in #722
  • fix: don't render PodMonitor and HPA for disabled components by @mouchar in #717
  • Certificates SANs FQDN by @gulecroc in #713
  • Add nodeAffinity support to all scheduled workloads by @smbecker in #711
  • Configure certificates subject by @gulecroc in #714
  • Add configurable pod and container securityContext, including readOnlyRootFilesystem support by @mouchar in #715
  • Support externally managed TLS certificates for all components by @lhotari in #724

New Contributors

Full Changelog: pulsar-4.7.0...pulsar-4.8.0-candidate-1

pulsar-4.7.0

Choose a tag to compare

@lhotari lhotari released this 13 Jul 12:57
pulsar-4.7.0

What's Changed

  • Fix authentication examples, by enabling JWT. by @tallosim in #695
  • Add oxia.server.walSyncData to optionally disable WAL fsync for testing by @lhotari in #696
  • Add broker FileSystemPackagesStorage support for Functions on Oxia by @lhotari in #697
  • Add CI scenario: Pulsar v5 with Oxia and Pulsar Functions by @lhotari in #699
  • Add standalone function-worker component (split the worker out of the broker) by @lhotari in #698
  • Improve CI stability: make kubeconform schema validation resilient to transient download failures by @lhotari in #705
  • Use Pulsar 4.0.12 image by default by @lhotari in #704
  • fix: always use policy/v1 for PodDisruptionBudget templates by @yusufdaud-anaplan in #703
  • fix: omit empty broker clusterIP to avoid GitOps drift by @yusufdaud-anaplan in #702

New Contributors

Full Changelog: pulsar-4.6.1...pulsar-4.7.0

pulsar-4.7.0-candidate-1

Pre-release

Choose a tag to compare

@lhotari lhotari released this 07 Jul 11:05

What's Changed

  • Fix authentication examples, by enabling JWT. by @tallosim in #695
  • Add oxia.server.walSyncData to optionally disable WAL fsync for testing by @lhotari in #696
  • Add broker FileSystemPackagesStorage support for Functions on Oxia by @lhotari in #697
  • Add CI scenario: Pulsar v5 with Oxia and Pulsar Functions by @lhotari in #699
  • Add standalone function-worker component (split the worker out of the broker) by @lhotari in #698
  • Improve CI stability: make kubeconform schema validation resilient to transient download failures by @lhotari in #705
  • Use Pulsar 4.0.12 image by default by @lhotari in #704
  • fix: always use policy/v1 for PodDisruptionBudget templates by @yusufdaud-anaplan in #703
  • fix: omit empty broker clusterIP to avoid GitOps drift by @yusufdaud-anaplan in #702

New Contributors

Full Changelog: pulsar-4.6.1...pulsar-4.7.0-candidate-1

pulsar-4.6.1

Choose a tag to compare

@lhotari lhotari released this 18 Jun 21:33

What's Changed

  • Set FQDN to cluster domain instead of hard coded cluster.local by @samkes in #680
  • Fix nodeSelector and tolerations handling in dekaf-deployment.yaml by @jvellaft in #682
  • Fix nodeSelector and tolerations handling in pulsar-manager-cluster-initialize.yaml by @jvellaft in #683
  • Add CI step to validate helm template renders with all features enabled by @lhotari in #684
  • Add support for priorityClassName by @lhotari in #685
  • feat: added global labelselector feature for podmonitors by @kovaxur in #402
  • [INFRA] Set up default rulesets for default and release branches by @asf-gitbox-commits in #687
  • Fix fully-qualified dns name by @smbecker in #686
  • Add support for extra init command to Broker STS upgrade for Istio sidecar support by @kellyfj in #688
  • Upgrade Oxia to 0.16.4 by @lhotari in #690
  • Upgrade Oxia to 0.16.6 by @lhotari in #691
  • Upgrade to Oxia 0.16.7 by @lhotari in #693
  • Upgrade appVersion to 4.0.11 to use Pulsar 4.0.11 image by default by @lhotari in #692

New Contributors

Full Changelog: pulsar-4.6.0...pulsar-4.6.1

pulsar-4.6.1-candidate-1

Pre-release

Choose a tag to compare

@lhotari lhotari released this 09 Jun 07:18

What's Changed

  • Set FQDN to cluster domain instead of hard coded cluster.local by @samkes in #680
  • Fix nodeSelector and tolerations handling in dekaf-deployment.yaml by @jvellaft in #682
  • Fix nodeSelector and tolerations handling in pulsar-manager-cluster-initialize.yaml by @jvellaft in #683
  • Add CI step to validate helm template renders with all features enabled by @lhotari in #684
  • Add support for priorityClassName by @lhotari in #685
  • feat: added global labelselector feature for podmonitors by @kovaxur in #402
  • [INFRA] Set up default rulesets for default and release branches by @asf-gitbox-commits in #687
  • Fix fully-qualified dns name by @smbecker in #686
  • Add support for extra init command to Broker STS upgrade for Istio sidecar support by @kellyfj in #688
  • Upgrade Oxia to 0.16.4 by @lhotari in #690
  • Upgrade Oxia to 0.16.6 by @lhotari in #691
  • Upgrade to Oxia 0.16.7 by @lhotari in #693
  • Upgrade appVersion to 4.0.11 to use Pulsar 4.0.11 image by default by @lhotari in #692

New Contributors

Full Changelog: pulsar-4.6.0...pulsar-4.6.1-candidate-1

pulsar-4.6.0

Choose a tag to compare

@lhotari lhotari released this 30 Apr 18:49

Upgrading to Helm chart version 4.6.0

ZooKeeper and Broker Services split into ClusterIP + headless

Note: Upgrading existing installs may cause a brief service disruption. The StatefulSet's serviceName is immutable, so the ZooKeeper and Broker StatefulSets are re-created during the upgrade (see Upgrading: pre-upgrade cleanup Job below).

PRs #649 and #650 replace the single Service that fronted each of the ZooKeeper and Broker StatefulSets with two:

  • a regular ClusterIP Service (<release>-zookeeper, <release>-broker) — used by clients; only routes to ready pods. The default for the main Broker service has changed from headless to ClusterIP.
  • a headless Service (*-headless, clusterIP: None, publishNotReadyAddresses: true) — used as the StatefulSet serviceName for stable per-pod DNS.

Why

ZooKeeper. The previous Service had publishNotReadyAddresses: true, so brokers and bookies could be routed to ZK pods that were still starting or unhealthy. Splitting into a ready-only ClusterIP Service for clients and a headless Service for per-pod DNS fixes that.

Brokers (issue #437). A broker registers itself in ZooKeeper using its per-pod DNS name; other brokers and clients then resolve that name to reach it. The previous headless Service did not set publishNotReadyAddresses, so the per-pod name only became resolvable after the pod's readiness probe passed (plus DNS-cache TTL). Meanwhile the load manager could already have assigned namespace bundles to the new broker, causing a brief disruption on those topics. The new headless Service sets publishNotReadyAddresses: true, so the per-pod name resolves immediately. Two further benefits:

  • Client lookups now go through a regular ClusterIP Service that returns a single IP. The previous headless Service returned one A record per broker, which can exceed the 512-byte UDP DNS limit in larger clusters. Some DNS clients cannot handle this due to lack of TCP fallback for DNS (for example Alpine <3.18).
  • StatefulSets require a headless Service for pod identity, so the headless Service can only be paired with — not replaced by — a ClusterIP Service.

Upgrading: pre-upgrade cleanup Job

Because serviceName is immutable, an in-place upgrade from a pre-4.6.0 chart would fail. The chart ships a pre-upgrade Job per component that uses kubectl (image images.kubectl, default alpine/k8s) to delete the old StatefulSet with --cascade=orphan. Pods (and ZooKeeper on-disk data) are preserved and keep running until the new StatefulSet rolls them, but a brief disruption around the cutover is possible. The Job reads the existing chart label and only acts when the prior version is < 4.6.0; disable with zookeeper.statefulsetUpgrade.enabled=false or broker.statefulsetUpgrade.enabled=false to manage the migration manually.

GitOps users (ArgoCD, Flux, Pulumi, etc.): the cleanup relies on Helm's pre-upgrade hook lifecycle, which isn't always honored by GitOps tooling that renders the chart and applies the manifests directly. Verify that your tool runs helm.sh/hook: pre-upgrade Jobs before the rest of the release — or disable the hook flags above and handle the StatefulSet deletion (with --cascade=orphan) as part of your migration — before upgrading to 4.6.0.

TLS

The hostnames of the broker and ZooKeeper pods have changed, and certificates now include the new *-headless DNS names as SANs. After cert-manager reissues them, do a rolling restart of ZooKeeper and brokers so the running pods pick up matching certificates.

In-chart JWT secret generation

PR #672 removes the need to run prepare_helm_release.sh — or any out-of-band script — to seed JWT secrets before installing.

Opt in with auth.authentication.jwt.generateSecrets.enabled: true. A pre-install/pre-upgrade Job mints the signing key (symmetric or RSA) and one token per auth.superUsers entry, storing them as the same <release>-token-* secrets the rest of the chart already consumes. The Job is idempotent — skipped if the signing key secret exists, and existing token secrets are never overwritten — and supports annotations on generated secrets for tooling like reflector. Default is false, so existing installs are unaffected.

A fully-authenticated cluster can now be deployed with a single helm install.

Standalone deployment mode

PR #674 adds a top-level standalone toggle that deploys a single Pulsar standalone instance instead of separate ZooKeeper, BookKeeper, Broker, etc. workloads.

The goal is to use the same Helm chart for minimal development and test deployments on Kubernetes — local Kind/k3d/minikube, ephemeral CI, developer sandboxes — without a separate chart or installer. Existing values, image overrides, and tooling carry over.

What's Changed

  • Add separate headless service for ZooKeeper statefulset by @lhotari in #649
  • Add separate headless service for brokers with publishNotReadyAddresses by @lhotari in #650
  • Revisit configurationMetadataStoreUrl and bookkeeperMetadataServiceUri settings by @lhotari in #652
  • Fix pulsar_metadata.metadataStoreAllowReadOnlyOperations with ZooKeeper by @lhotari in #653
  • Remove statsProviderClass config for bookkeeper by @lhotari in #654
  • Enable local sessions in ZK when readonly mode is enabled by @lhotari in #655
  • fix: fix extra volumes indentation for rendering the helm chart properly by @soyji in #656
  • Fix CI failures with OpenID jobs by @lhotari in #659
  • Upgrade VictoriaMetrics to a supported version by @lhotari in #657
  • Upgrade to Oxia 0.16.0 by @lhotari in #658
  • fix: remove usage of tty to avoid introducing \r by @soyji in #661
  • Apply ShellCheck fixes to bash scripts by @frankgrimes97 in #663
  • add support for custom annotations on initialization Jobs by @lyuval-armosec in #665
  • fix: Add chart control for updateStrategy to brokers and proxies by @darinspivey in #668
  • Add support for ipAddresses in TLS certificate templates by @ankith-carver in #643
  • Enable TLS certificate file refresh for BookKeeper components by default by @lhotari in #669
  • Add support for generating JWT secrets during install by @smbecker in #672
  • Add cert annotation configuration by @smbecker in #673
  • Add support for deploying pulsar as standalone by @smbecker in #674
  • Fix oxia coordinator RoleBinding roleRef.apiGroup to prevent GitOps drift by @lhotari in #676
  • Update standalone defaults to use zookeeper by @smbecker in #675
  • fix: Improve Zookeeper initialization wait logic to support multi url configuration store by @ganeshkalyank in #671
  • Upgrade appVersion to 4.0.10 so that Pulsar 4.0.10 image is used by default by @lhotari in #677
  • Upgrade Oxia to 0.16.3 by @lhotari in #678

New Contributors

Full Changelog: pulsar-4.5.0...pulsar-4.6.0

pulsar-4.6.0-candidate-1

Pre-release

Choose a tag to compare

@lhotari lhotari released this 27 Apr 20:54

ZooKeeper and Broker Services split into ClusterIP + headless

Note: Upgrading existing installs may cause a brief service disruption. The StatefulSet's serviceName is immutable, so the ZooKeeper and Broker StatefulSets are re-created during the upgrade (see Upgrading below).

PRs #649 and #650 replace the single Service that fronted each of the ZooKeeper and Broker StatefulSets with two:

  • a regular ClusterIP Service (<release>-zookeeper, <release>-broker) — used by clients; only routes to ready pods.
  • a headless Service (*-headless, clusterIP: None, publishNotReadyAddresses: true) — used as the StatefulSet serviceName for stable per-pod DNS.

Why

ZooKeeper. The previous Service had publishNotReadyAddresses: true, so brokers and bookies could be routed to ZK pods that were still starting or unhealthy. Splitting into a ready-only ClusterIP Service for clients and a headless Service for per-pod DNS fixes that.

Brokers (issue #437). A broker registers itself in ZooKeeper using its per-pod DNS name; other brokers and clients then resolve that name to reach it. The previous headless Service did not set publishNotReadyAddresses, so the per-pod name only became resolvable after the pod's readiness probe passed (plus DNS-cache TTL). Meanwhile the load manager could already have assigned namespace bundles to the new broker, causing a brief disruption on those topics. The new headless Service sets publishNotReadyAddresses: true, so the per-pod name resolves immediately. Two further benefits:

  • Client lookups now go through a regular ClusterIP Service that returns a single IP. The previous headless Service returned one A record per broker, which can exceed the 512-byte UDP DNS limit in larger clusters. Some DNS clients cannot handle this due to lack of TCP fallback for DNS (for example Alpine <3.18).
  • StatefulSets require a headless Service for pod identity, so the headless Service can only be paired with — not replaced by — a ClusterIP Service.

Upgrading: pre-upgrade cleanup Job

Because serviceName is immutable, an in-place upgrade from a pre-4.6.0 chart would fail. The chart ships a pre-upgrade Job per component that uses kubectl (image images.kubectl, default alpine/k8s) to delete the old StatefulSet with --cascade=orphan. Pods (and ZK on-disk data) are preserved and keep running until the new StatefulSet rolls them, but a brief disruption around the cutover is possible. The Job reads the existing chart label and only acts when the prior version is < 4.6.0; disable with zookeeper.statefulsetUpgrade.enabled=false or broker.statefulsetUpgrade.enabled=false to manage the migration manually.

GitOps users (ArgoCD, Flux, Pulumi, etc.): the cleanup relies on Helm's pre-upgrade hook lifecycle, which isn't always honored by GitOps tooling that renders the chart and applies the manifests directly. Verify that your tool runs helm.sh/hook: pre-upgrade Jobs before the rest of the release — or disable the hook flags above and handle the StatefulSet deletion (with --cascade=orphan) as part of your migration — before upgrading to 4.6.0.

TLS

Certificates now include the new *-headless DNS names as SANs. After cert-manager reissues them, do a rolling restart of ZooKeeper and brokers so the running pods pick up matching certificates.

In-chart JWT secret generation

PR #672 (by @smbecker) removes the need to run prepare_helm_release.sh — or any out-of-band script — to seed JWT secrets before installing.

Opt in with auth.authentication.jwt.generateSecrets.enabled: true. A pre-install/pre-upgrade Job mints the signing key (symmetric or RSA) and one token per auth.superUsers entry, storing them as the same <release>-token-* secrets the rest of the chart already consumes. The Job is idempotent — skipped if the signing key secret exists, and existing token secrets are never overwritten — and supports annotations on generated secrets for tooling like reflector. Default is false, so existing installs are unaffected.

A fully-authenticated cluster can now be deployed with a single helm install.

Standalone deployment mode

PR #674 (by @smbecker) adds a top-level standalone toggle that deploys a single Pulsar standalone instance instead of separate ZooKeeper, BookKeeper, Broker, etc. workloads.

The goal is to use the same Helm chart for minimal development and test deployments on Kubernetes — local Kind/k3d/minikube, ephemeral CI, developer sandboxes — without a separate chart or installer. Existing values, image overrides, and tooling carry over.

What's Changed

  • Add separate headless service for ZooKeeper statefulset by @lhotari in #649
  • Add separate headless service for brokers with publishNotReadyAddresses by @lhotari in #650
  • Revisit configurationMetadataStoreUrl and bookkeeperMetadataServiceUri settings by @lhotari in #652
  • Fix pulsar_metadata.metadataStoreAllowReadOnlyOperations with ZooKeeper by @lhotari in #653
  • Remove statsProviderClass config for bookkeeper by @lhotari in #654
  • Enable local sessions in ZK when readonly mode is enabled by @lhotari in #655
  • fix: fix extra volumes indentation for rendering the helm chart properly by @soyji in #656
  • Fix CI failures with OpenID jobs by @lhotari in #659
  • Upgrade VictoriaMetrics to a supported version by @lhotari in #657
  • Upgrade to Oxia 0.16.0 by @lhotari in #658
  • fix: remove usage of tty to avoid introducing \r by @soyji in #661
  • Apply ShellCheck fixes to bash scripts by @frankgrimes97 in #663
  • add support for custom annotations on initialization Jobs by @lyuval-armosec in #665
  • fix: Add chart control for updateStrategy to brokers and proxies by @darinspivey in #668
  • Add support for ipAddresses in TLS certificate templates by @ankith-carver in #643
  • Enable TLS certificate file refresh for BookKeeper components by default by @lhotari in #669
  • Add support for generating JWT secrets during install by @smbecker in #672
  • Add cert annotation configuration by @smbecker in #673
  • Add support for deploying pulsar as standalone by @smbecker in #674
  • Fix oxia coordinator RoleBinding roleRef.apiGroup to prevent GitOps drift by @lhotari in #676
  • Update standalone defaults to use zookeeper by @smbecker in #675
  • fix: Improve Zookeeper initialization wait logic to support multi url configuration store by @ganeshkalyank in #671
  • Upgrade appVersion to 4.0.10 so that Pulsar 4.0.10 image is used by default by @lhotari in #677
  • Upgrade Oxia to 0.16.3 by @lhotari in #678

New Contributors

Full Changelog: pulsar-4.5.0...pulsar-4.6.0-candidate-1

pulsar-4.5.0

Choose a tag to compare

@lhotari lhotari released this 23 Feb 09:41

What's Changed

New Contributors

Full Changelog: pulsar-4.4.0...pulsar-4.5.0