Skip to content

Commit

Permalink
Limit prometheus resource consumption
Browse files Browse the repository at this point in the history
It's on the same nodes as the core pods, and if left to its
own devices it can take up all the resources on the nodes.

Ref #90
  • Loading branch information
yuvipanda committed Dec 3, 2020
1 parent 75534c8 commit 482becf
Showing 1 changed file with 8 additions and 0 deletions.
8 changes: 8 additions & 0 deletions support/values.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -22,6 +22,14 @@ prometheus:
rbac:
create: true
server:
resources:
# Without this, prometheus can easily starve users
requests:
cpu: 0.2
memory: 768Mi
limits:
cpu: 1
memory: 2Gi
labels:
# For HTTP access to the hub, to scrape metrics
hub.jupyter.org/network-access-hub: 'true'
Expand Down

0 comments on commit 482becf

Please sign in to comment.