Installation
Install the Stackable Operator for Apache Druid and operators for its dependencies — ZooKeeper and HDFS — as well as the commons, secret and listener operator which are required by all Stackable operators.
There are multiple ways to install the operators, 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
stackablectl is the command line tool to interact with Stackable operators and the recommended way to install operators. Follow the installation steps for your platform.
After you have installed stackablectl run the following command to install all Operators necessary for Druid:
stackablectl operator install \
commons=24.11.1-rc2 \
secret=24.11.1-rc2 \
listener=24.11.1-rc2 \
zookeeper=24.11.1-rc2 \
hdfs=24.11.1-rc2 \
druid=24.11.1-rc2
The tool prints
Installed commons=24.11.1-rc2 operator
Installed secret=24.11.1-rc2 operator
Installed listener=24.11.1-rc2 operator
Installed zookeeper=24.11.1-rc2 operator
Installed hdfs=24.11.1-rc2 operator
Installed druid=24.11.1-rc2 operator
Consult the Quickstart to learn more about how to use stackablectl .
|
You can also use Helm to install the operators.
helm repo add stackable-stable https://repo.stackable.tech/repository/helm-stable/
helm install --wait commons-operator stackable-stable/commons-operator --version 24.11.1-rc2
helm install --wait secret-operator stackable-stable/secret-operator --version 24.11.1-rc2
helm install --wait listener-operator stackable-stable/listener-operator --version 24.11.1-rc2
helm install --wait zookeeper-operator stackable-stable/zookeeper-operator --version 24.11.1-rc2
helm install --wait hdfs-operator stackable-stable/hdfs-operator --version 24.11.1-rc2
helm install --wait druid-operator stackable-stable/druid-operator --version 24.11.1-rc2
Helm deploys the operators in a Kubernetes Deployment and applies the CRDs for the Apache Druid service (as well as the CRDs for the required operators).
What’s next
Set up a Druid cluster and its dependencies and ingest example data and query the data.