---
title: Charmhub | Deploy Trino Server using Charmhub - The Open Operator Collection
description: Deploy the latest version of Trino Server as a Kubernetes Operator on
  any cloud.
url: https://charmhub.io/trino-k8s/configurations
---

# Trino Server

[Business Data](https://charmhub.io/publisher/businessdata "View all packages from Business Data")

* [Business Data](https://charmhub.io/publisher/businessdata "View all packages from Business Data")

Platform:

stable 39

```
juju deploy trino-k8s
```

[Learn to deploy on juju >](https://juju.is/docs/juju/manage-applications)

* [acl-catalog-pattern](https://charmhub.io/trino-k8s/configurations#acl-catalog-pattern)
* [acl-mode-default](https://charmhub.io/trino-k8s/configurations#acl-mode-default)
* [acl-user-pattern](https://charmhub.io/trino-k8s/configurations#acl-user-pattern)
* [additional-jvm-options](https://charmhub.io/trino-k8s/configurations#additional-jvm-options)
* [catalog-config](https://charmhub.io/trino-k8s/configurations#catalog-config)
* [charm-function](https://charmhub.io/trino-k8s/configurations#charm-function)
* [coordinator-connect-timeout](https://charmhub.io/trino-k8s/configurations#coordinator-connect-timeout)
* [coordinator-request-timeout](https://charmhub.io/trino-k8s/configurations#coordinator-request-timeout)
* [discovery-uri](https://charmhub.io/trino-k8s/configurations#discovery-uri)
* [external-hostname](https://charmhub.io/trino-k8s/configurations#external-hostname)
* [google-client-id](https://charmhub.io/trino-k8s/configurations#google-client-id)
* [google-client-secret](https://charmhub.io/trino-k8s/configurations#google-client-secret)
* [int-comms-secret](https://charmhub.io/trino-k8s/configurations#int-comms-secret)
* [log-level](https://charmhub.io/trino-k8s/configurations#log-level)
* [max-concurrent-queries](https://charmhub.io/trino-k8s/configurations#max-concurrent-queries)
* [oauth-user-mapping](https://charmhub.io/trino-k8s/configurations#oauth-user-mapping)
* [ranger-service-name](https://charmhub.io/trino-k8s/configurations#ranger-service-name)
* [tls-secret-name](https://charmhub.io/trino-k8s/configurations#tls-secret-name)
* [user-secret-id](https://charmhub.io/trino-k8s/configurations#user-secret-id)
* [web-proxy](https://charmhub.io/trino-k8s/configurations#web-proxy)
* [worker-request-timeout](https://charmhub.io/trino-k8s/configurations#worker-request-timeout)
* [workload-cpu-limits](https://charmhub.io/trino-k8s/configurations#workload-cpu-limits)
* [workload-cpu-requests](https://charmhub.io/trino-k8s/configurations#workload-cpu-requests)
* [workload-memory-limits](https://charmhub.io/trino-k8s/configurations#workload-memory-limits)
* [workload-memory-requests](https://charmhub.io/trino-k8s/configurations#workload-memory-requests)

[Learn about configurations >](https://juju.is/docs/juju/configuration#heading--application-configuration)

* acl-catalog-pattern | string

  Default: .\*

  The pattern to match catalog names, for which the policy should be applied.
  The default value `.*` applies to all catalogs.
* acl-mode-default | string

  Default: all

  The default ACLs for all Trino catalogs, one of `all` or `none`.
  `all`: Allow all users access to all catalogs.
  `none`: Deny all users access to all catalogs.
  A Ranger relation will supersede this default.
* acl-user-pattern | string

  Default: .\*

  The pattern to match users, for which the policy should be applied.
  The default value `.*` applies to all users.
* additional-jvm-options | string

  Space-separated string of JVM options to be added to the config file.
  By default the following options are included.
  The value of the option can be overwritten by providing the option
  with the updated value via this config parameter.
  "-Xmx2G"
  "-XX:InitialRAMPercentage=80"
  "-XX:+ExplicitGCInvokesConcurrent"
  "-XX:-OmitStackTraceInFastThrow"
  "-Djdk.attach.allowAttachSelf=true"
  "-Dfile.encoding=UTF-8"
  "-XX:+ExitOnOutOfMemoryError"
  "-XX:+HeapDumpOnOutOfMemoryError"
* catalog-config | string

  Catalogs for which Trino should be connected.
* charm-function | string

  Default: coordinator

  One of `coordinator`, `worker` or `all` to determine the function of the application.
  `all` will result in a single node deployment, not recommended for production.
* coordinator-connect-timeout | string

  Default: 30s

  Specifies the maximum amount of time the client will wait for a connection
  to be established with the coordinator. If the connection cannot be made within
  this period, the client will give up and raise an error.
* coordinator-request-timeout | string

  Default: 10m

  Specifies the maximum amount of time the client will wait for a response from
  the coordinator once a connection has been established. This timeout ensures
  that client requests do not stall indefinitely if the coordinator is slow to
  respond.
* discovery-uri | string

  Default: http://trino-k8s:8080

  When using a coordinator and worker this is the host and port of the
  coordinator service that the workers announce themselves to.
* external-hostname | string

  Default: trino-k8s

  The DNS listing used for external connections.
  Will default to the name of the deployed application.
* google-client-id | string

  Client id from Google Oauth setup
* google-client-secret | string

  Client password from Google Oauth setup
* int-comms-secret | string

  The secret Trino uses to communicate between nodes.
* log-level | string

  Default: info

  Trino server logging level.
  Valid values: info, debug, warn, error.
* max-concurrent-queries | int

  Default: 5

  The maximum number of queries that Trino is allowed to run concurrently.
  Any additional queries beyond this limit will be queued until a running query
  finishes.
* oauth-user-mapping | string

  Optional regex pattern with capture group to determine the username from oauth email.
  ie. (.*)@.*
* ranger-service-name | string

  The service name for Trino in Apache Ranger when related. Defaults to relation id.
* tls-secret-name | string

  Default: trino-tls

  Name of the k8s secret which contains the TLS certificate to be used by ingress.
* user-secret-id | string

  The Juju secret id for the Trino user credentials.
* web-proxy | string

  The address of the web proxy. To be used in combination
  with google-client-id and google-client-secret values.
* worker-request-timeout | string

  Default: 30s

  Specifies the maximum amount of time the coordinator will wait for a response
  from a worker node after the connection is established. This setting helps
  manage scenarios where worker nodes are slow to respond, ensuring that
  the coordinator does not wait indefinitely.
* workload-cpu-limits | string

  Kubernetes cpu resource request for the trino workload container.
  This should be equal to or greater than your requests.
  eg. 1
* workload-cpu-requests | string

  Kubernetes cpu resource request for the trino workload container.
  eg. 1
* workload-memory-limits | string

  Kubernetes memory resource request for the trino workload container.
  This should be equal to or greater than your requests.
  eg. "1Gi"
* workload-memory-requests | string

  Kubernetes memory resource request for the trino workload container.
  eg. "1Gi"
