Installation
Install the Stackable Operator for Apache Kafka and operators for its dependencies — ZooKeeper — as well as the commons, secret and listener operator which are required by all Stackable Operators.
There are multiple ways to install the Stackable Operator for Apache Kafka. stackablectl is the preferred way, but Helm is also supported. OpenShift users may prefer installing the operator from the RedHat Certified Operator catalog using the OpenShift web console.
-
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
, run the following command to install all operators necessary for Kafka:
stackablectl operator install \
commons=0.0.0-dev \
secret=0.0.0-dev \
listener=0.0.0-dev \
zookeeper=0.0.0-dev \
kafka=0.0.0-dev
The tool prints
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 kafka=0.0.0-dev operator
Consult the Quickstart to learn more about how to use stackablectl .
|
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 kafka-operator stackable-dev/kafka-operator --version 0.0.0-dev
Helm deploys the operators in a Kubernetes Deployment and apply the CRDs for the Apache Kafka service (as well as the CRDs for the required operators).
What’s next
Set up a Kafka cluster and its dependencies.