Trino component installs trino, the Open Source project of Starburst Presto. Trino is a distributed SQL Analytical database that can integrate with multiple data sources.
There is one main folder in the Trino component trino
which contains the kustomize manifests.
To install Trino, add the following to the kfctl
file:
- kustomizeConfig:
parameters:
- name: s3_endpoint_url
value: s3.odh.com
- name: s3_credentials_secret
value: s3-credentials
repoRef:
name: manifests
path: trino
name: trino
Trino component comes with 1 overlay.
Customizes Trino to use a specific StorageClass
for PVCs, see storage_class
parameter.
There are 15 parameters exposed via KFDef.
Name of the storage class to be used for PVCs created by Trino component. This requires storage-class
overlay to be enabled as well to work.
HTTP endpoint exposed by your S3 object storage solution which will be made available to Trino as the default S3 filesystem location. This parameter is required.
Along with s3_endpoint_url
this parameter configures the Trino's access to S3 object storage. Setting this parameter to any name of local Openshift/Kubernetes Secret resource name would allow Thift Server to consume S3 credentials from it. The secret of choice must contain AWS_ACCESS_KEY_ID
and AWS_SECRET_ACCESS_KEY
keys. If not set, credentials from aws-secret
will be used instead.
This is a parameter to specify the node.environment
property from node.properties
file, which specifies to all trino nodes the name of the environment. For more information, see the Trino documentation
This parameter will configure the Trino database name. All Hive Metastore information is stored in this database. If not set, trino
will be used instead.
Along with trino_db_database_name
this parameter configures the Hive Metastore database. Setting this parameter to any name of local Openshift/Kubernetes Secret resource name would allow Thift Server to consume S3 credentials from it. The secret of choice must contain database-user
and database-password
keys. If not set, credentials from trino-db-secret
will be used instead.
This parameter will configure the CPU request for Hive Metastore. If not set, the default value 1
will be used instead.
This parameter will configure the CPU limit for Hive Metastore. If not set, the default value 1
will be used instead.
This parameter will configure the Memory request for Hive Metastore. If not set, the default value 4Gi
will be used instead.
This parameter will configure the Memory limit for Hive Metastore. If not set, the default value 4Gi
will be used instead.
This parameter will configure the CPU request for all Trino nodes (coordinator and workers). If not set, the default value 1
will be used instead.
This parameter will configure the CPU limit for all Trino nodes (coordinator and workers). If not set, the default value 1
will be used instead.
This parameter will configure the Memory request for all Trino nodes (coordinator and workers). If not set, the default value 4Gi
will be used instead.
This parameter will configure the Memory limit for all Trino nodes (coordinator and workers). If not set, the default value 4Gi
will be used instead.