Skip to content

Commit

Permalink
[CI] Add requests/limits to metrics pod
Browse files Browse the repository at this point in the history
If we do not add these, the metrics pod will often get killed as if it
OOMed even though it is using a reasonable amount of memory.
  • Loading branch information
boomanaiden154 committed Jan 27, 2025
1 parent ef2a5c5 commit dcc0981
Showing 1 changed file with 7 additions and 0 deletions.
7 changes: 7 additions & 0 deletions premerge/metrics_deployment.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -34,3 +34,10 @@ spec:
secretKeyRef:
name: metrics-secrets
key: grafana-metrics-userid
resources:
requests:
cpu: "250m"
memory: "512Mi"
limits:
cpu: "2"
memory: "1Gi"

0 comments on commit dcc0981

Please sign in to comment.