Installation
On this page you install the Stackable operator for Trino as well as the commons, secret and listener operator which are required by all Stackable operators.
Stackable operators
The stackablectl
command line tool is the recommended way to interact with operators and dependencies.
If you have not installed stackablectl
, follow the installation steps to install it.
You can also use Helm instead.
OpenShift users may prefer installing the operator from the RedHat Certified Operator catalog using the OpenShift web console.
-
stackablectl
-
Helm
Run the following command to install the Trino operator and its dependencies:
stackablectl operator install \
commons=24.11.1-rc2 \
secret=24.11.1-rc2 \
listener=24.11.1-rc2 \
trino=24.11.1-rc2
The tool prints
Installed commons=24.11.1-rc2 operator
Installed secret=24.11.1-rc2 operator
Installed listener=24.11.1-rc2 operator
Installed trino=24.11.1-rc2 operator
Consult the Quickstart to learn more about how to use stackablectl .
|
To use Helm to install the operators, first 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 24.11.1-rc2
helm install --wait secret-operator stackable-stable/secret-operator --version 24.11.1-rc2
helm install --wait listener-operator stackable-stable/listener-operator --version 24.11.1-rc2
helm install --wait trino-operator stackable-stable/trino-operator --version 24.11.1-rc2
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
-
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
-
the Trino CLI to test SQL queries
-
Hive operator
Refer to the Hive operator docs. Both Hive and Trino need the same S3 authentication.
OPA operator
Refer to the OPA operator docs.
What’s next
Set up a Trino cluster and its dependencies.