On this page you will install the Stackable Operator for Trino as well as the commons and secret operator which are required by all Stackable Operators.
There are two ways to install Stackable Operators:
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=23.4.0 \ secret=23.4.0 \ trino=23.4.0
The tool will show
[INFO ] Installing commons operator in version 23.4.0 [INFO ] Installing secret operator in version 23.4.0 [INFO ] Installing trino operator in version 23.4.0
|Consult the Quickstart to learn more about how to use stackablectl.|
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 commons-operator stackable-stable/commons-operator --version 23.4.0 helm install --wait secret-operator stackable-stable/secret-operator --version 23.4.0 helm install --wait trino-operator stackable-stable/trino-operator --version 23.4.0
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
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
a Stackable Secret Operator for certificates when deploying for TLS
a Stackable Commons Operator for certificates when deploying for TLS authentication
(for authorization): a Stackable OPA Operator[OPA-Operator]
the Trino CLI to test SQL queries
Please refer to the Hive Operator docs.
Both Hive and Trino need the same S3 authentication.
Please refer to the OPA Operator docs.
Set up a Trino cluster and its dependencies.