diff --git a/deploy/helm/trino-lb/Chart.lock b/deploy/helm/trino-lb/Chart.lock index e581d84..0d33df2 100644 --- a/deploy/helm/trino-lb/Chart.lock +++ b/deploy/helm/trino-lb/Chart.lock @@ -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" diff --git a/deploy/helm/trino-lb/charts/kube-prometheus-stack-55.11.0.tgz b/deploy/helm/trino-lb/charts/kube-prometheus-stack-55.11.0.tgz new file mode 100644 index 0000000..ca55c86 Binary files /dev/null and b/deploy/helm/trino-lb/charts/kube-prometheus-stack-55.11.0.tgz differ diff --git a/deploy/helm/trino-lb/charts/kube-prometheus-stack-55.5.0.tgz b/deploy/helm/trino-lb/charts/kube-prometheus-stack-55.5.0.tgz deleted file mode 100644 index a9644f0..0000000 Binary files a/deploy/helm/trino-lb/charts/kube-prometheus-stack-55.5.0.tgz and /dev/null differ diff --git a/deploy/helm/trino-lb/charts/redis-cluster-10.2.3.tgz b/deploy/helm/trino-lb/charts/redis-cluster-10.2.3.tgz new file mode 100644 index 0000000..c6c2978 Binary files /dev/null and b/deploy/helm/trino-lb/charts/redis-cluster-10.2.3.tgz differ diff --git a/deploy/helm/trino-lb/charts/redis-cluster-9.1.3.tgz b/deploy/helm/trino-lb/charts/redis-cluster-9.1.3.tgz deleted file mode 100644 index b6d0ac6..0000000 Binary files a/deploy/helm/trino-lb/charts/redis-cluster-9.1.3.tgz and /dev/null differ diff --git a/deploy/helm/trino-lb/configs/trino-lb-config.yaml b/deploy/helm/trino-lb/configs/trino-lb-config.yaml index fb5b92e..ca60e4a 100644 --- a/deploy/helm/trino-lb/configs/trino-lb-config.yaml +++ b/deploy/helm/trino-lb/configs/trino-lb-config.yaml @@ -9,7 +9,7 @@ trinoLb: clusterMode: true endpoint: redis://:redis@trino-lb-redis-cluster.trino-lb.svc.cluster.local:6379/ # postgres: - # # 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 diff --git a/deploy/helm/trino-lb/templates/trinos.yaml b/deploy/helm/trino-lb/templates/trinos.yaml index f4391e0..6282a28 100644 --- a/deploy/helm/trino-lb/templates/trinos.yaml +++ b/deploy/helm/trino-lb/templates/trinos.yaml @@ -13,10 +13,11 @@ spec: catalogLabelSelector: matchLabels: trino: trino - listenerClass: external-stable authentication: - authenticationClass: trino-users coordinators: + roleConfig: + listenerClass: external-stable configOverrides: &configOverrides config.properties: tracing.enabled: "true" @@ -45,10 +46,11 @@ spec: catalogLabelSelector: matchLabels: trino: trino - listenerClass: external-stable authentication: - authenticationClass: trino-users coordinators: + roleConfig: + listenerClass: external-stable configOverrides: &configOverrides config.properties: tracing.enabled: "true" diff --git a/deploy/helm/trino-lb/values.yaml b/deploy/helm/trino-lb/values.yaml index c23f160..a888f98 100644 --- a/deploy/helm/trino-lb/values.yaml +++ b/deploy/helm/trino-lb/values.yaml @@ -14,6 +14,12 @@ resources: 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 @@ -41,6 +47,14 @@ redis-cluster: 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: diff --git a/docs/persistence/postgres.md b/docs/persistence/postgres.md index b124aa7..72da812 100644 --- a/docs/persistence/postgres.md +++ b/docs/persistence/postgres.md @@ -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` diff --git a/example-configs/ha-redis-autoscaling-stackable.yaml b/example-configs/ha-redis-autoscaling-stackable.yaml index ac0f056..bee6837 100644 --- a/example-configs/ha-redis-autoscaling-stackable.yaml +++ b/example-configs/ha-redis-autoscaling-stackable.yaml @@ -9,7 +9,7 @@ trinoLb: clusterMode: true endpoint: redis://:redis@trino-lb-redis-cluster.trino-lb.svc.cluster.local:6379/ # postgres: - # # 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