Installation
On this page you will install the Stackable Operator for Apache Kafka and operators for its dependencies - ZooKeeper - as well as the commons and secret operator which are required by all Stackable Operators.
Stackable Operators
There are 2 ways to install Stackable Operators:
-
Using stackablectl
-
Using Helm
stackablectl
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.5.0-nightly \
secret=0.6.0-nightly \
zookeeper=0.13.0-nightly \
kafka=0.9.0-nightly
The tool will show
[INFO ] Installing commons operator in version 0.5.0-nightly
[INFO ] Installing secret operator in version 0.6.0-nightly
[INFO ] Installing zookeeper operator in version 0.13.0-nightly
[INFO ] Installing kafka operator in version 0.9.0-nightly
Consult the Quickstart to learn more about how to use stackablectl. |
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.5.0-nightly
helm install --wait secret-operator stackable-dev/secret-operator --version 0.6.0-nightly
helm install --wait zookeeper-operator stackable-dev/zookeeper-operator --version 0.13.0-nightly
helm install --wait kafka-operator stackable-dev/kafka-operator --version 0.9.0-nightly
Helm will deploy the operators in a Kubernetes Deployment and apply the CRDs for the Apache Kafka service (as well as the CRDs for the required operators). You are now ready to deploy Apache Kafka in Kubernetes.
What’s next
Set up a Kafka cluster and its dependencies.