Installation

On this page you will install the Stackable Operator for Trino as well as the commons, secret and listener operator which are required by all Stackable Operators.

Stackable Operators

There are two ways to install Stackable Operators:

  1. Using stackablectl

  2. Using Helm

stackablectl

The stackablectl command line tool is the recommended way to interact with operators and dependencies. Follow the installation steps for your platform if you choose to work with stackablectl.

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

stackablectl operator install \
  commons=0.0.0-dev \
  secret=0.0.0-dev \
  listener=0.0.0-dev \
  trino=0.0.0-dev

The tool will show

[INFO ] Installing commons operator in version 0.0.0-dev
[INFO ] Installing secret operator in version 0.0.0-dev
[INFO ] Installing listener operator in version 0.0.0-dev
[INFO ] Installing trino operator in version 0.0.0-dev
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 trino-operator stackable-dev/trino-operator --version 0.0.0-dev

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

Optional installation steps

Some Trino connectors like hive or iceberg work together with the Apache Hive metastore and S3 buckets. For these components extra steps are required.

  • a Stackable Hive metastore

  • an accessible S3 bucket

    • an end-point, and access- and secret-keys

    • data in the bucket (we use the Iris dataset here)

  • the following are optional

S3 bucket

Please refer to the S3 provider.

Hive operator

Please refer to the Hive Operator docs. Both Hive and Trino need the same S3 authentication.

OPA operator

Please refer to the OPA Operator docs.

What’s next

Set up a Trino cluster and its dependencies.