Installation
On this page you will install the Stackable Druid Operator and Operators for its dependencies - ZooKeeper and HDFS - as well as the commons, secret and listener operator which are required by all Stackable Operators.
Stackable Operators
There are 2 ways to run Stackable Operators
-
Using stackablectl
-
Using Helm
stackablectl
stackablectl is the command line tool to interact with Stackable operators and our 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=0.0.0-dev \
secret=0.0.0-dev \
listener=0.0.0-dev \
zookeeper=0.0.0-dev \
hdfs=0.0.0-dev \
druid=0.0.0-dev
The tool will show
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 hdfs=0.0.0-dev operator
Installed druid=0.0.0-dev operator
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.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 hdfs-operator stackable-dev/hdfs-operator --version 0.0.0-dev
helm install --wait druid-operator stackable-dev/druid-operator --version 0.0.0-dev
Helm will deploy the Operators in a Kubernetes Deployment and apply the CRDs for the Apache Druid service (as well as the CRDs for the required operators). You are now ready to deploy Apache Druid in Kubernetes.
What’s next
Set up a Druid cluster and its dependencies and ingest example data and query the data.