Installation

On this page you will install the Stackable operator for Apache NiFi and operators for its dependencies - ZooKeeper - as well as the commons, secret and listener operator which are required by all Stackable operators.

Stackable operators

There are two ways to install Stackable operators:

  • stackablectl

  • Helm

The stackablectl command line tool is the recommended way to interact with operators and dependencies. Follow the installation steps for your platform if you choose to work with stackablectl.

After you have installed stackablectl and have a Kubernetes cluster up and running, run the following command to install all operators necessary for NiFi:

stackablectl operator install \
  commons=24.7.0 \
  secret=24.7.0 \
  listener=24.7.0 \
  zookeeper=24.7.0 \
  nifi=24.7.0

The output should contain the following lines

Installed commons=24.7.0 operator
Installed secret=24.7.0 operator
Installed listener=24.7.0 operator
Installed zookeeper=24.7.0 operator
Installed nifi=24.7.0 operator
Consult the Quickstart to learn more about how to use stackablectl.

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

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

Then install the Stackable operators:

helm install --wait commons-operator stackable-stable/commons-operator --version 24.7.0
helm install --wait secret-operator stackable-stable/secret-operator --version 24.7.0
helm install --wait listener-operator stackable-stable/listener-operator --version 24.7.0
helm install --wait zookeeper-operator stackable-stable/zookeeper-operator --version 24.7.0
helm install --wait nifi-operator stackable-stable/nifi-operator --version 24.7.0

Helm will deploy the operators in a Kubernetes Deployment and apply the CRDs for the Apache NiFi service (as well as the CRDs for the required operators). You are now ready to deploy Apache NiFi in Kubernetes.

What’s next

Setting up a NiFi cluster and its dependencies.