# Installation

> Install Stackable HBase and required operators using stackablectl or Helm on Kubernetes. Follow setup and verification steps for a complete 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](https://docs.stackable.tech/management/stable/stackablectl/index.md) 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.

**Tab: stackablectl**

`stackablectl` is the command line tool to interact with Stackable operators and our recommended way to install operators. Follow the [installation steps](https://docs.stackable.tech/management/stable/stackablectl/installation/index.md) for your platform.

After you have installed stackablectl run the following command to install all operators necessary for the HBase cluster:

```bash
stackablectl operator install \
  commons=26.7.0 \
  secret=26.7.0 \
  listener=26.7.0 \
  zookeeper=26.7.0 \
  hdfs=26.7.0 \
  hbase=26.7.0
```

The tool shows

```
Installed commons=26.7.0 operator
Installed secret=26.7.0 operator
Installed listener=26.7.0 operator
Installed zookeeper=26.7.0 operator
Installed hdfs=26.7.0 operator
Installed hbase=26.7.0 operator
```

> **Tip:** Consult the [Quickstart](https://docs.stackable.tech/management/stable/stackablectl/quickstart/index.md) to learn more about how to use `stackablectl`. For example, you can use the `--cluster kind` flag to create a Kubernetes cluster with [kind](https://kind.sigs.k8s.io/).

**Tab: Helm**

> **Note:** `helm repo` subcommands are not supported for OCI registries. The operators are installed directly, without adding the Helm Chart repository first.

Install the Stackable operators:

```bash
helm install --wait zookeeper-operator oci://oci.stackable.tech/sdp-charts/zookeeper-operator --version 26.7.0 &
helm install --wait hdfs-operator oci://oci.stackable.tech/sdp-charts/hdfs-operator --version 26.7.0 &
helm install --wait commons-operator oci://oci.stackable.tech/sdp-charts/commons-operator --version 26.7.0 &
helm install --wait secret-operator oci://oci.stackable.tech/sdp-charts/secret-operator --version 26.7.0 &
helm install --wait listener-operator oci://oci.stackable.tech/sdp-charts/listener-operator --version 26.7.0 &
helm install --wait hbase-operator oci://oci.stackable.tech/sdp-charts/hbase-operator --version 26.7.0 &
wait
```

Helm deploys the operators in a Kubernetes Deployment. Each operator installs and maintains its own CRDs at startup (see [CustomResourceDefinition (CRD) maintenance](https://docs.stackable.tech/home/stable/concepts/maintenance/crds/index.md)).

## What’s next

[Set up an HBase cluster](https://docs.stackable.tech/home/stable/hbase/getting_started/first_steps/index.md) and its dependencies and [verify that it works](https://docs.stackable.tech/home/stable/hbase/getting_started/first_steps/index.md).
