Install StreamNative Operator with the Operator Lifecycle Manager
Prerequisites
To use StreamNative Private Cloud, the following are required:
- Install kubectl.
- Prepare a Kubernetes cluster within the supported versions.
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 OLM
Run the following command to install OLM.
Install StreamNative Operator
OLM can deploy StreamNative Operator via the Subscription object.
Run the command below to deploy the StreamNative Private Cloud Operators in the operator 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