trinodb / charts

Apache License 2.0
151 stars 173 forks source link

Unable to Set Resources for JMX Exporter in Trino Helm Chart #202

Closed alaturqua closed 2 months ago

alaturqua commented 3 months ago

Issue: Unable to Set Resources for JMX Exporter in Trino Helm Chart

Description

Currently, the Trino Helm chart does not allow setting resource requests and limits for the JMX exporter. This limitation causes issues on Kubernetes clusters that require resource specifications for CPU and memory as a prerequisite.

Error Message

Error creating: pods "trino-helm-etl-coordinator-8655d99488-5jlwb" is forbidden: failed quota: quota-bitrino-dev: must specify limits.cpu for: jmx-exporter; limits.memory for: jmx-exporter; requests.cpu for: jmx-exporter; requests.memory for: jmx-exporter

Impact

This restriction prevents deployment on clusters with strict resource quota policies, hindering the ability to use the Trino Helm chart in such environments.

Suggested Solution

Please provide a way to configure resource requests and limits for the JMX exporter in the Helm chart values.

### Tasks
rotem-ad commented 3 months ago

We've also hit this issue. Opened a PR to resolve this