Skip to content
This repository has been archived by the owner on Jul 23, 2024. It is now read-only.

Commit

Permalink
Set resource limits for prometheus & thanos
Browse files Browse the repository at this point in the history
  • Loading branch information
garryod committed Sep 14, 2023
1 parent 17ba5d3 commit bb1310e
Showing 1 changed file with 35 additions and 0 deletions.
35 changes: 35 additions & 0 deletions charts/xchemlab/values.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -136,8 +136,23 @@ prometheus:
nginx.ingress.kubernetes.io/auth-signin: https://xchemlab-alertmanager.diamond.ac.uk/oauth2/start?rd=$escaped_request_uri
extraArgs:
web.external-url: https://xchemlab-alertmanager.diamond.ac.uk
resources:
limits:
cpu: 250m
memory: 2Gi
configmapReload:
enabled: true
resources:
limits:
cpu: 50m
memory: 400Mi

configmapReload:
prometheus:
resources:
limits:
cpu: 50m
memory: 400Mi

server:
remoteWrite:
Expand Down Expand Up @@ -300,6 +315,10 @@ thanos:
enabled: true
ingress:
enabled: false
resources:
limits:
cpu: 250m
memory: 2Gi

queryFrontend:
ingress:
Expand All @@ -311,11 +330,19 @@ thanos:
nginx.ingress.kuberentes.io/use-regex: "true"
nginx.ingress.kubernetes.io/auth-url: https://xchemlab-thanos.diamond.ac.uk/oauth2/auth
nginx.ingress.kubernetes.io/auth-signin: https://xchemlab-thanos.diamond.ac.uk/oauth2/start?rd=$escaped_request_uri
resources:
limits:
cpu: 250m
memory: 2Gi

storegateway:
enabled: true
persistence:
enabled: false
resources:
limits:
cpu: 250m
memory: 2Gi

receive:
enabled: true
Expand All @@ -326,6 +353,10 @@ thanos:
type: LoadBalancer
ingress:
enabled: false
resources:
limits:
cpu: 250m
memory: 2Gi

compactor:
enabled: true
Expand All @@ -335,6 +366,10 @@ thanos:
consistencyDelay: 30m
persistence:
enabled: false
resources:
limits:
cpu: 250m
memory: 2Gi

rabbitmq:
enabled: true
Expand Down

0 comments on commit bb1310e

Please sign in to comment.