Back to Charts

⚠️ Repo Archive Notice

stable/presto/README.md

latest3.9 KB
Original Source

⚠️ Repo Archive Notice

As of Nov 13, 2020, charts in this repo will no longer be updated. For more information, see the Helm Charts Deprecation and Archive Notice, and Update.

Presto Chart

Prestosql is an open source distributed SQL query engine for running interactive analytic queries against data sources of all sizes ranging from gigabytes to petabytes.

DEPRECATION NOTICE

This chart is deprecated and no longer supported.

Chart Details

This chart will do the following:

  • Install a single server which acts both as coordinator and worker
  • Install a configmap for it
  • Install a service

Installing the Chart

To install the chart with the release name my-release:

bash
$ helm install --name my-release stable/presto

Configuration

Configurable values are documented in the values.yaml:

ParameterDescriptionDefault
server.workersNumbers of prestosql worker nodes.2
server.node.environmentThe name of the environment.production
server.node.dataDirThe location (filesystem path) of the data directory./data/presto
server.note.pluginDirThe location of the plugin directory./usr/lib/presto/plugin
server.log.presto.levelThe minimum log level of named logger io.prestosql.INFO
server.config.pathThe location of customize configuration./usr/lib/presto/etc
server.config.http.portThe port number of coordinator service8080
server.config.query.maxMemoryThe maximum amount of distributed memory, that a query may use.4GB
server.config.query.maxMemoryPerNodeThe maximum amount of user memory, that a query may use on any one machine.1GB
server.jvm.maxHeapSizeThe value for JVM option -Xmx8G
server.jvm.gcMethod.typePortion of the value for JVM option -XX:UseG1GC
server.jvm.gcMethod.g1.heapRegionSizeThe value for JVM option -XX:G1HeapRegionSize=32M
image.repositoryprestosql image repository.prestosql/presto
image.tagprestosql image tag.329
image.securityContext.runAsUserThe uid of prestosql image repository.1000
image.securityContext.runAsGroupThe gid of prestosql image repository.1000

Specify each parameter using the --set key=value[,key=value] argument to helm install.

Alternatively, a YAML file that specifies the values for the parameters can be provided while installing the chart. For example,

bash
$ helm install my-release stable/presto -f values.yaml

Tip: You can use the default values.yaml