Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Update Trino and chart version #242

Merged
merged 3 commits into from
Oct 4, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@ You can then run `helm search repo trino` to see the charts.
Then you can install chart using:

```console
helm install my-trino trino/trino --version 0.30.0
helm install my-trino trino/trino --version 0.31.0
```

Also, you can check the manifests using:
Expand All @@ -49,7 +49,7 @@ ct install

To run tests with specific values:
```console
ct install --helm-extra-set-args "--set image.tag=459"
ct install --helm-extra-set-args "--set image.tag=460"
```

Use the `test.sh` script to run a suite of tests, with different chart values.
Expand Down
4 changes: 2 additions & 2 deletions charts/trino/Chart.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -15,13 +15,13 @@ type: application
# This is the chart version. This version number should be incremented each time you make changes
# to the chart and its templates, including the app version.
# Versions are expected to follow Semantic Versioning (https://semver.org/)
version: 0.30.0
version: 0.31.0

# This is the version number of the application being deployed. This version number should be
# incremented each time you make changes to the application. Versions are not expected to
# follow Semantic Versioning. They should reflect the version the application is using.
# Same value as in values.yml#image.tag
appVersion: "459"
appVersion: "460"

icon: https://trino.io/assets/trino.png

Expand Down
26 changes: 12 additions & 14 deletions charts/trino/README.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
# trino

![Version: 0.30.0](https://img.shields.io/badge/Version-0.30.0-informational?style=flat-square) ![Type: application](https://img.shields.io/badge/Type-application-informational?style=flat-square) ![AppVersion: 459](https://img.shields.io/badge/AppVersion-459-informational?style=flat-square)
![Version: 0.31.0](https://img.shields.io/badge/Version-0.31.0-informational?style=flat-square) ![Type: application](https://img.shields.io/badge/Type-application-informational?style=flat-square) ![AppVersion: 460](https://img.shields.io/badge/AppVersion-460-informational?style=flat-square)

Fast distributed SQL query engine for big data analytics that helps you explore your data universe

Expand Down Expand Up @@ -62,17 +62,14 @@ Fast distributed SQL query engine for big data analytics that helps you explore
* `server.config.query.maxMemory` - string, default: `"4GB"`
* `server.exchangeManager` - object, default: `{}`

Mandatory [exchange manager configuration](https://trino.io/docs/current/admin/fault-tolerant-execution.html#id1).
Used to set the name and location(s) of the spooling storage destination.
* To enable fault-tolerant execution, you must set the `retry-policy` property in `additionalConfigProperties`.
* Additional exchange manager configurations can be added to `additionalExchangeManagerProperties`.
Mandatory [exchange manager configuration](https://trino.io/docs/current/admin/fault-tolerant-execution.html#id1). Used to set the name and location(s) of the spooling storage destination. To enable fault-tolerant execution, set the `retry-policy` property in `additionalConfigProperties`. Additional exchange manager configurations can be added to `additionalExchangeManagerProperties`.
Example:
```yaml
server:
exchangeManager:
name: "filesystem"
baseDir: "/tmp/trino-local-file-system-exchange-manager"
additionalConfigProperties:
server:
exchangeManager:
name: "filesystem"
baseDir: "/tmp/trino-local-file-system-exchange-manager"
additionalConfigProperties:
- retry-policy=TASK
additionalExchangeManagerProperties:
- exchange.sink-buffer-pool-min-size=10
Expand Down Expand Up @@ -306,7 +303,7 @@ Fast distributed SQL query engine for big data analytics that helps you explore
```
* `envFrom` - list, default: `[]`

additional environment variables added to every pod, specified as a list of either ConfigMap or Secret references
additional environment variables added to every pod, specified as a list of either `ConfigMap` or `Secret` references
Example:
```yaml
- secretRef:
Expand Down Expand Up @@ -354,15 +351,15 @@ Fast distributed SQL query engine for big data analytics that helps you explore
Control whether a process can gain more privileges than its parent process.
* `containerSecurityContext.capabilities.drop` - list, default: `["ALL"]`

A list of the Linux kernel capabilities that are dropped from every container. Valid values are listed at https://man7.org/linux/man-pages/man7/capabilities.7.html Ensure to remove the "CAP_" prefix which the kernel attaches to the names of permissions.
A list of the Linux kernel capabilities that are dropped from every container. Valid values are listed in [the capabilities manual page](https://man7.org/linux/man-pages/man7/capabilities.7.html). Ensure # to remove the "CAP_" prefix which the kernel attaches to the names of permissions.
* `shareProcessNamespace.coordinator` - bool, default: `false`
* `shareProcessNamespace.worker` - bool, default: `false`
* `service.annotations` - object, default: `{}`
* `service.type` - string, default: `"ClusterIP"`
* `service.port` - int, default: `8080`
* `service.nodePort` - string, default: `""`

The port the service listens on the host, for NodePort type. If not set, Kubernetes will [allocate a port automatically](https://kubernetes.io/docs/concepts/services-networking/service/#nodeport-custom-port).
The port the service listens on the host, for the `NodePort` type. If not set, Kubernetes will [allocate a port automatically](https://kubernetes.io/docs/concepts/services-networking/service/#nodeport-custom-port).
* `auth` - object, default: `{}`

Available authentication methods.
Expand Down Expand Up @@ -683,7 +680,7 @@ Fast distributed SQL query engine for big data analytics that helps you explore
* `jmx.exporter.port` - int, default: `5556`
* `jmx.exporter.configProperties` - string, default: `""`

The string value is templated using `tpl`. JMX Config Properties is mounted to /etc/jmx-exporter/jmx-exporter-config.yaml
The string value is templated using `tpl`. The JMX config properties file is mounted to `/etc/jmx-exporter/jmx-exporter-config.yaml`.
Example:
```yaml
configProperties: |-
Expand All @@ -706,6 +703,7 @@ Fast distributed SQL query engine for big data analytics that helps you explore
value: '$2'
help: 'ThreadCount (java.lang<type=Threading><>ThreadCount)'
type: UNTYPED
```
* `jmx.exporter.securityContext` - object, default: `{}`
* `jmx.exporter.resources` - object, default: `{}`

Expand Down
51 changes: 30 additions & 21 deletions charts/trino/values.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -62,17 +62,17 @@ server:
exchangeManager: {}
# server.exchangeManager -- Mandatory [exchange manager
# configuration](https://trino.io/docs/current/admin/fault-tolerant-execution.html#id1).
# Used to set the name and location(s) of the spooling storage destination. To enable fault-tolerant execution,
# set the `retry-policy` property in `additionalConfigProperties`. Additional exchange manager configurations can be
# added to `additionalExchangeManagerProperties`.
# @raw
# Used to set the name and location(s) of the spooling storage destination.
# * To enable fault-tolerant execution, you must set the `retry-policy` property in `additionalConfigProperties`.
# * Additional exchange manager configurations can be added to `additionalExchangeManagerProperties`.
# Example:
# ```yaml
# server:
# exchangeManager:
# name: "filesystem"
# baseDir: "/tmp/trino-local-file-system-exchange-manager"
# additionalConfigProperties:
# server:
# exchangeManager:
# name: "filesystem"
# baseDir: "/tmp/trino-local-file-system-exchange-manager"
# additionalConfigProperties:
# - retry-policy=TASK
# additionalExchangeManagerProperties:
# - exchange.sink-buffer-pool-min-size=10
Expand All @@ -85,9 +85,11 @@ server:
autoscaling:
enabled: false
maxReplicas: 5
# -- Target average CPU utilization, represented as a percentage of requested CPU. To disable scaling based on CPU, set to an empty string.
# -- Target average CPU utilization, represented as a percentage of requested CPU. To disable scaling based on CPU,
# set to an empty string.
targetCPUUtilizationPercentage: 50
# -- Target average memory utilization, represented as a percentage of requested memory. To disable scaling based on memory, set to an empty string.
# -- Target average memory utilization, represented as a percentage of requested memory. To disable scaling
# based on memory, set to an empty string.
targetMemoryUtilizationPercentage: 80
behavior: {}
# server.autoscaling.behavior -- Configuration for scaling up and down.
Expand Down Expand Up @@ -334,7 +336,8 @@ env: []
# ```

envFrom: []
# envFrom -- additional environment variables added to every pod, specified as a list of either ConfigMap or Secret references
# envFrom -- additional environment variables added to every pod, specified as a list of either `ConfigMap`
# or `Secret` references
# @raw
# Example:
# ```yaml
Expand Down Expand Up @@ -390,7 +393,9 @@ containerSecurityContext:
# -- Control whether a process can gain more privileges than its parent process.
allowPrivilegeEscalation: false
capabilities:
# -- A list of the Linux kernel capabilities that are dropped from every container. Valid values are listed at https://man7.org/linux/man-pages/man7/capabilities.7.html Ensure to remove the "CAP_" prefix which the kernel attaches to the names of permissions.
# -- A list of the Linux kernel capabilities that are dropped from every container. Valid values are listed in
# [the capabilities manual page](https://man7.org/linux/man-pages/man7/capabilities.7.html). Ensure # to remove
# the "CAP_" prefix which the kernel attaches to the names of permissions.
drop:
- ALL

Expand All @@ -402,7 +407,9 @@ service:
annotations: {}
type: ClusterIP
port: 8080
# service.nodePort -- The port the service listens on the host, for NodePort type. If not set, Kubernetes will [allocate a port automatically](https://kubernetes.io/docs/concepts/services-networking/service/#nodeport-custom-port).
# service.nodePort -- The port the service listens on the host, for the `NodePort` type. If not set, Kubernetes will
# [allocate a port
# automatically](https://kubernetes.io/docs/concepts/services-networking/service/#nodeport-custom-port).
nodePort: ""

auth: {}
Expand Down Expand Up @@ -684,12 +691,11 @@ worker:
enabled: false
gracePeriodSeconds: 120
# worker.gracefulShutdown -- Configure [graceful
# shutdown](https://trino.io/docs/current/admin/graceful-shutdown.html)
# in order to ensure that workers terminate without affecting running queries,
# given a sufficient grace period.
# When enabled, the value of `worker.terminationGracePeriodSeconds` must be at least two times greater than the configured `gracePeriodSeconds`.
# Enabling `worker.gracefulShutdown` conflicts with `worker.lifecycle`. When a custom
# `worker.lifecycle` configuration needs to be used, graceful shutdown must be configured manually.
# shutdown](https://trino.io/docs/current/admin/graceful-shutdown.html) in order to ensure that workers terminate
# without affecting running queries, given a sufficient grace period. When enabled, the value of
# `worker.terminationGracePeriodSeconds` must be at least two times greater than the configured `gracePeriodSeconds`.
# Enabling `worker.gracefulShutdown` conflicts with `worker.lifecycle`. When a custom `worker.lifecycle` configuration
# needs to be used, graceful shutdown must be configured manually.
#
# @raw
# Example:
Expand Down Expand Up @@ -815,7 +821,8 @@ jmx:
pullPolicy: Always
port: 5556
configProperties: ""
# jmx.exporter.configProperties -- The string value is templated using `tpl`. JMX Config Properties is mounted to /etc/jmx-exporter/jmx-exporter-config.yaml
# jmx.exporter.configProperties -- The string value is templated using `tpl`. The JMX config properties file
# is mounted to `/etc/jmx-exporter/jmx-exporter-config.yaml`.
# @raw
# Example:
# ```yaml
Expand All @@ -839,6 +846,7 @@ jmx:
# value: '$2'
# help: 'ThreadCount (java.lang<type=Threading><>ThreadCount)'
# type: UNTYPED
# ```
securityContext: {}
resources: {}
# jmx.exporter.resources -- It is recommended not to specify default resources
Expand Down Expand Up @@ -882,7 +890,8 @@ jmx:
# ```

serviceMonitor:
# serviceMonitor.enabled -- Set to true to create resources for the [prometheus-operator](https://github.com/prometheus-operator/prometheus-operator).
# serviceMonitor.enabled -- Set to true to create resources for the
# [prometheus-operator](https://github.com/prometheus-operator/prometheus-operator).
enabled: false
# serviceMonitor.labels -- Labels for serviceMonitor, so that Prometheus can select it
labels:
Expand Down