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=0.0.0-dev \
  secret=0.0.0-dev \
  listener=0.0.0-dev \
  zookeeper=0.0.0-dev \
  nifi=0.0.0-dev

The output should contain the following lines

Installed commons=0.0.0-dev operator
Installed secret=0.0.0-dev operator
Installed listener=0.0.0-dev operator
Installed zookeeper=0.0.0-dev operator
Installed nifi=0.0.0-dev 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-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 install --wait nifi-operator stackable-dev/nifi-operator --version 0.0.0-dev

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.