Skip to content
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
8 changes: 4 additions & 4 deletions deploy/helm/trino-lb/Chart.lock
Original file line number Diff line number Diff line change
@@ -1,9 +1,9 @@
dependencies:
- name: redis-cluster
repository: https://charts.bitnami.com/bitnami/
version: 9.1.3
version: 10.2.3
- name: kube-prometheus-stack
repository: https://prometheus-community.github.io/helm-charts
version: 55.5.0
digest: sha256:08a68b7f303ff7f589084265f971147bf185e463a1c7dae29a323372f1be0df0
generated: "2023-12-19T10:09:20.222448714+01:00"
version: 55.11.0
digest: sha256:69e1bcfbf4cda25c7d51be3e67533099f8a0922cf5825fd7e256edef444a34cb
generated: "2025-08-04T10:22:19.130269831+02:00"
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file removed deploy/helm/trino-lb/charts/redis-cluster-9.1.3.tgz
Binary file not shown.
2 changes: 1 addition & 1 deletion deploy/helm/trino-lb/configs/trino-lb-config.yaml
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
trinoLb:

Check warning on line 1 in deploy/helm/trino-lb/configs/trino-lb-config.yaml

View workflow job for this annotation

GitHub Actions / pre-commit

1:1 [document-start] missing document start "---"
externalAddress: https://5.250.179.64:8443
tls:
enabled: true
Expand All @@ -8,8 +8,8 @@
redis:
clusterMode: true
endpoint: redis://:redis@trino-lb-redis-cluster.trino-lb.svc.cluster.local:6379/
# postgres:

Check warning on line 11 in deploy/helm/trino-lb/configs/trino-lb-config.yaml

View workflow job for this annotation

GitHub Actions / pre-commit

11:5 [comments-indentation] comment not indented like content
# # helm install postgres bitnami/postgresql --version 13.2.18 --set auth.username=trino-lb,auth.password=trino-lb,auth.database=trino_lb
# # helm install postgres bitnami/postgresql --version 13.2.18 --set auth.username=trino-lb,auth.password=trino-lb,auth.database=trino_lb,image.repository=bitnamilegacy/postgresql,volumePermissions.image.repository=bitnamilegacy/os-shell,metrics.image.repository=bitnamilegacy/postgres-exporter,global.security.allowInsecureImages=true
# url: postgres://trino-lb:trino-lb@postgres-postgresql.default.svc.cluster.local/trino_lb
# maxConnections: 10
refreshQueryCounterInterval: 30s # It is low for testing purpose and to get frequent running queries metrics
Expand Down Expand Up @@ -56,7 +56,7 @@
- name: trino-m-2
endpoint: https://trino-m-2-coordinator-default.default.svc.cluster.local:8443
credentials: *common-credentials
# oidc:

Check warning on line 59 in deploy/helm/trino-lb/configs/trino-lb-config.yaml

View workflow job for this annotation

GitHub Actions / pre-commit

59:3 [comments-indentation] comment not indented like content
# maxRunningQueries: 3
# trinoClusters:
# - name: trino-oidc-1
Expand Down
6 changes: 4 additions & 2 deletions deploy/helm/trino-lb/templates/trinos.yaml
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
# 1 small cluster
{{- range untilStep 1 2 1 }}

Check failure on line 2 in deploy/helm/trino-lb/templates/trinos.yaml

View workflow job for this annotation

GitHub Actions / pre-commit

2:3 syntax error: expected the node content, but found '-' (syntax)

Check warning on line 2 in deploy/helm/trino-lb/templates/trinos.yaml

View workflow job for this annotation

GitHub Actions / pre-commit

2:1 [document-start] missing document start "---"
---
apiVersion: trino.stackable.tech/v1alpha1
kind: TrinoCluster
Expand All @@ -13,10 +13,11 @@
catalogLabelSelector:
matchLabels:
trino: trino
listenerClass: external-stable
authentication:
- authenticationClass: trino-users
coordinators:
roleConfig:
listenerClass: external-stable
configOverrides: &configOverrides
config.properties:
tracing.enabled: "true"
Expand Down Expand Up @@ -45,10 +46,11 @@
catalogLabelSelector:
matchLabels:
trino: trino
listenerClass: external-stable
authentication:
- authenticationClass: trino-users
coordinators:
roleConfig:
listenerClass: external-stable
configOverrides: &configOverrides
config.properties:
tracing.enabled: "true"
Expand Down
14 changes: 14 additions & 0 deletions deploy/helm/trino-lb/values.yaml
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
image:

Check warning on line 1 in deploy/helm/trino-lb/values.yaml

View workflow job for this annotation

GitHub Actions / pre-commit

1:1 [document-start] missing document start "---"
repository: oci.stackable.tech/stackable/trino-lb
tag: dev
pullPolicy: Always
Expand All @@ -14,11 +14,17 @@
memory: 256Mi

redis-cluster:
global:
security:
allowInsecureImages: true # needed starting with Chart version 11.2.0 if modifying images

image:
repository: bitnamilegacy/redis-cluster
password: redis
persistence:
size: 4Gi
cluster:
# In case the master crashes, one of his slaves will be promoted to master.

Check warning on line 27 in deploy/helm/trino-lb/values.yaml

View workflow job for this annotation

GitHub Actions / pre-commit

27:1 [comments-indentation] comment not indented like content
# The slots stored by the crashed master will be unavailable until the slave finish the promotion.
# If a master and all his slaves crash, the cluster will be down until one of them is up again.
# To avoid downtime, it is possible to configure the number of Redis® nodes with cluster.nodes and the number of replicas that will be assigned to each master with cluster.replicas. For example:
Expand All @@ -41,6 +47,14 @@
memory: 128Mi
service:
type: ClusterIP
volumePermissions:
image:
repository: bitnamilegacy/os-shell
metrics:
image:
repository: bitnamilegacy/redis-exporter
sysctlImage:
repository: bitnamilegacy/os-shell

kube-prometheus-stack:
prometheus:
Expand Down Expand Up @@ -75,7 +89,7 @@
trino-lb-dashboardprovider.yaml:
apiVersion: 1
providers:
- name: 'trino-lb'

Check failure on line 92 in deploy/helm/trino-lb/values.yaml

View workflow job for this annotation

GitHub Actions / pre-commit

92:9 [indentation] wrong indentation: expected 10 but found 8
orgId: 1
folder: 'trino-lb'
type: file
Expand Down
2 changes: 1 addition & 1 deletion docs/persistence/postgres.md
Original file line number Diff line number Diff line change
Expand Up @@ -17,4 +17,4 @@ trinoLb:

The above configuration works with a Postgres installed with the following command:

`helm install postgres bitnami/postgresql --version 13.2.18 --set auth.username=trino-lb,auth.password=trino-lb,auth.database=trino_lb`
`helm install postgres bitnami/postgresql --version 13.2.18 --set auth.username=trino-lb,auth.password=trino-lb,auth.database=trino_lb,image.repository=bitnamilegacy/postgresql,volumePermissions.image.repository=bitnamilegacy/os-shell,metrics.image.repository=bitnamilegacy/postgres-exporter,global.security.allowInsecureImages=true`
2 changes: 1 addition & 1 deletion example-configs/ha-redis-autoscaling-stackable.yaml
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
trinoLb:

Check warning on line 1 in example-configs/ha-redis-autoscaling-stackable.yaml

View workflow job for this annotation

GitHub Actions / pre-commit

1:1 [document-start] missing document start "---"
externalAddress: https://5.250.179.64:8443
tls:
enabled: true
Expand All @@ -8,8 +8,8 @@
redis:
clusterMode: true
endpoint: redis://:redis@trino-lb-redis-cluster.trino-lb.svc.cluster.local:6379/
# postgres:

Check warning on line 11 in example-configs/ha-redis-autoscaling-stackable.yaml

View workflow job for this annotation

GitHub Actions / pre-commit

11:5 [comments-indentation] comment not indented like content
# # helm install postgres bitnami/postgresql --version 13.2.18 --set auth.username=trino-lb,auth.password=trino-lb,auth.database=trino_lb
# # helm install postgres bitnami/postgresql --version 13.2.18 --set auth.username=trino-lb,auth.password=trino-lb,auth.database=trino_lb,image.repository=bitnamilegacy/postgresql,volumePermissions.image.repository=bitnamilegacy/os-shell,metrics.image.repository=bitnamilegacy/postgres-exporter,global.security.allowInsecureImages=true
# url: postgres://trino-lb:trino-lb@postgres-postgresql.default.svc.cluster.local/trino_lb
# maxConnections: 10
refreshQueryCounterInterval: 30s # It is low for testing purpose and to get frequent running queries metrics
Expand Down
Loading