Installation

On this page you will install the Stackable HDFS operator and its dependency, the Zookeeper operator, as well as the commons and secret operators which are required by all Stackable operators.

Stackable Operators

There are 2 ways to run Stackable Operators

  1. Using stackablectl

  2. 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 the HDFS cluster:

stackablectl operator install \
  commons=23.1.0 \
  secret=23.1.0 \
  zookeeper=23.1.0 \
  hdfs=23.1.0

The tool will show

[INFO ] Installing commons operator
[INFO ] Installing secret operator
[INFO ] Installing zookeeper operator
[INFO ] Installing hdfs 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.

Helm

You can also use Helm to install the operators. Add the Stackable Helm repository:

helm repo add stackable-stable https://repo.stackable.tech/repository/helm-stable/

Then install the Stackable Operators:

helm install --wait zookeeper-operator stackable-stable/zookeeper-operator --version 23.1.0
helm install --wait hdfs-operator stackable-stable/hdfs-operator --version 23.1.0
helm install --wait commons-operator stackable-stable/commons-operator --version 23.1.0
helm install --wait secret-operator stackable-stable/secret-operator --version 23.1.0

Helm will deploy the operators in a Kubernetes Deployment and apply the CRDs for the HDFS cluster (as well as the CRDs for the required operators). You are now ready to deploy HDFS in Kubernetes.

What’s next

Set up an HDFS cluster and its dependencies and verify that it works.