Install StreamNative Operator with the Helm Chart
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
-
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
-
Add the StreamNative chart repository.
-
Deploy the StreamNative Operator using the
sn-operator
Helm chart in the created Kubernetes namespace. -
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.
Run the command below to deploy your Pulsar cluster in pulsar
namespace