Installation

On this page you will install the Stackable ZooKeeper Operator.

Stackable Operators

There are 2 ways to run Stackable Operators

  1. Using stackablectl (recommended)

  2. Using Helm

stackablectl

stackablectl is the command line tool to interact with Stackable operators and our recommended way to install Operators. Follow the installation steps for your platform.

After you have installed stackablectl, use it to install the ZooKeeper Operator and its dependencies:

stackablectl operator install \
  commons=0.0.0-dev \
  secret=0.0.0-dev \
  listener=0.0.0-dev \
  zookeeper=0.0.0-dev

The tool will show

[INFO ] Installing commons operator in version 0.0.0-dev
[INFO ] Installing secret operator in version 0.0.0-dev
[INFO ] Installing listener operator in version 0.0.0-dev
[INFO ] Installing zookeeper operator in version 0.0.0-dev
Consult the Quickstart to learn more about how to use stackablectl. For example, you can use the --cluster kind flag to create a Kubernetes cluster with kind.

Helm

You can also use Helm to install the Operators. Add the Stackable Helm repository:

helm repo add stackable-dev https://repo.stackable.tech/repository/helm-dev/

Then install the Stackable Operators:

helm install --wait commons-operator stackable-dev/commons-operator --version 0.0.0-dev
helm install --wait secret-operator stackable-dev/secret-operator --version 0.0.0-dev
helm install --wait listener-operator stackable-dev/listener-operator --version 0.0.0-dev
helm install --wait zookeeper-operator stackable-dev/zookeeper-operator --version 0.0.0-dev

Helm will deploy the Operators in a Kubernetes Deployment and apply the CRDs for the ZooKeeper cluster. You are now ready to deploy Apache ZooKeeper in Kubernetes.