Skip to main content
StreamNative Operator supports seamless upgrades to newer versions while maintaining the existing Pulsar cluster state and configuration. This guide upgrades to StreamNative Operator Helm chart 0.21.2, which deploys Operator v0.21.17. The chart version and Operator version differ. Use the CRDs and Helm chart from the same release.
If you previously installed pulsar-operator/zookeeper-operator/bookkeeper-operator, please refer to upgrade-from-pulsar-operators to upgrade.

Before you begin

Check that a valid license Secret exists in the Operator’s namespace. The default namespace is sn-system for Helm and operators for Operator Lifecycle Manager (OLM). If you installed the Operator in another namespace, use that namespace instead. Set the namespace for the commands in this guide:
If you need to import a license, replace the license token and apply this Secret:
If you do not have any valid license, you can contact StreamNative to apply for a free trial.
To upgrade a Helm installation, follow these steps.
  1. Plan a maintenance window. This Operator version can change generated pod templates and roll the affected StatefulSets.
  2. Apply the StreamNative Operator CRDs from chart version 0.21.2 for Operator v0.21.17.
  3. Update the Helm repository index and install the StreamNative Operator chart:
  4. After the Operator is running, upgrade your sn-platform or sn-platform-slim chart if needed. These charts can render fields that older CRDs reject, so apply the CRDs and upgrade the Operator first.

Post-Upgrade Verification

After completing the upgrade, perform the following verification steps:

1. Check Operator Status