Installation
Install the Stackable HBase operator and its dependencies, the ZooKeeper and HDFS operators, as well as the commons, secret and listener operators which are required by all Stackable operators.
There are multiple ways to install the Stackable Operator for Apache Zookeeper. 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 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 the HBase cluster:
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 \
hbase=0.0.0-dev
The tool shows
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 hbase=0.0.0-dev operator
Consult the Quickstart to learn more about how to use stackablectl .
For example, you can use the --cluster kind flag to create a Kubernetes cluster with kind.
|
Add the Stackable Helm repository:
helm repo add stackable-dev https://repo.stackable.tech/repository/helm-dev/
Install the Stackable operators:
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 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 hbase-operator stackable-dev/hbase-operator --version 0.0.0-dev &
wait
Helm deploys the operators in a Kubernetes Deployment and apply the CRDs for the HBase cluster (as well as the CRDs for the required operators).
What’s next
Set up an HBase cluster and its dependencies and verify that it works.