Skip to main content

Prerequisites

  • Prepare a Kubernetes cluster (Kubernetes version >= 1.16).
  • Install kubectl (v1.16 or above), compatible with your cluster (+/- 1 minor release from your cluster).
  • Install Helm (v3.0.2 or above).

Create a namespace

  1. Create a Kubernetes namespace where the operator will be installed later.

Import license

Before installing the StreamNative Operator, you need to import a valid license. Otherwise, StreamNative Operator will stop reconciling with a “no valid license” error message:
If you do not have any license, you can contact StreamNative to apply for a free trial. When you have a license in hand, you can import it through:
metadata.labels with the cloud.streamnative.io/type: "license" is required because the sn-operator will detect secrets in its namespace with label and to import automatically.

Install the StreamNative Operator

  1. Add the StreamNative chart repository.
  2. Deploy the StreamNative Operator using the sn-operator Helm chart in the created Kubernetes namespace.
  3. Verify that Operator Pods are running.

Provision a Pulsar cluster

Create the namespaces pulsar. The pulsar namespace is used for deploying your Pulsar cluster.
To provision a Pulsar cluster through the StreamNative Operator, you need to define a YAML file for your Pulsar cluster.

Choose a metadata store

The default deployment uses ZooKeeperCluster for Pulsar metadata.