Install the Pulsar Operators using the Helm chart
This document demonstrates how to install the Pulsar Operators using the Helm chart. StreamNative develops and maintains the Helm chart, which provides a flexible way to deploy Custom Resource Definitions (CRDs) and custom controllers for Pulsar resources.
If you install the Pulsar Operators using the Helm chart, you must manually upgrade related CRDs when upgrading the Pulsar Operators. If you want a more automated upgrade plan, you can use the OLM to install the Pulsar Operators.
Prerequisites
- Prepare a Kubernetes cluster ((v1.16
<=
Kubernetes version<
v1.26).. - Install
kubectl
(v1.16 or above), compatible with your cluster (+/- 1 minor release from your cluster). - Install
Helm
(v3.0.2 or above).
Install the Pulsar Operators
-
Add the StreamNative chart repository.
-
Create a Kubernetes namespace where the Pulsar Operators will be installed later.
-
Deploy the Pulsar Operators using the
pulsar-operator
Helm chart in the created Kubernetes namespace. -
Verify that the Pulsar Operators are installed successfully.
You should see the following output. The three custom controllers are running as Deployments, each having one Pod replica by default.
-
View the created CRDs. You can use these CRDs to create Custom Resources (CRs) for Pulsar.
You should see the following output:
With the Pulsar Operators installed, you can use the controllers and the CRDs to deploy a Pulsar cluster.