Prerequisites
- Prepare a Kubernetes cluster (v1.24 or above)
- Install
kubectl
(v1.24 or above), compatible with your cluster (+/- 1 minor release from your cluster).
Install the Pulsar Operators
-
Install the OLM.
The script automatically creates the
olm
namespace and theoperators
namespace. -
Install the Custom Resource Definitions (CRDs) and custom controllers for Pulsar, BookKeeper, and ZooKeeper. The controllers are deployed in the
operators
namespace by default. -
Verify that the Pulsar Operators are installed successfully.
When you deploy the Pulsar Operators, the OLM first runs a Job in the
olm
namespace for each operator. You need to wait for the Jobs to finish before you can see the output.ClusterIP
service type, which means that they are reachable within the cluster.
-
View the created CRDs. These CRDs can be used to create CRs for Pulsar.
You should see the following output:
-
View the ClusterServiceVersion (CSV) of these operators.
You should see the following output:With the Pulsar Operators installed, you can use the controllers and the CRDs to deploy a Pulsar cluster.