prometheus-community/helm-charts

[kube-prometheus-stack] Ability to set resource limits/request for kube-state-metrics and prometheus-node-exporter

t0a5tbr0t opened this issue · 2 comments

Is your feature request related to a problem ?

No, this request is not related to a problem - its more about a wish for enhancement:
I would like to set the resources limits and requests for kube-state-metrics and prometheus-node-exporter.
Unfortunately there are no values available within the kube-prometheus-stack chart, even though the dependency charts kube-state-metrics and prometheus-node-exporter both support setting up these values.

It would be highly appreciated to have this option also directly within the kube-prometheus-stack chart.
Thank you!

Describe the solution you'd like.

Additional values to define resources limits and requests for kube-state-metrics and prometheus-node-exporter within values.yaml for kube-prometheus-stack:

kube-state-metrics:
      ## Resource limits & requests
      ##
      resources: {}

prometheus-node-exporter:
      ## Resource limits & requests
      ##
      resources: {}

Describe alternatives you've considered.

NONE

Additional context.

No response

t0a5tbr0t you can pass these as you've mentioned above, they just dont appear explictly in the "parent" chart kube-prometheus-stack.

@DrFaust92 thank you very much for the tip! I wasn't aware this is even possible, but it works just fine