Skip to content

Commit dcc0981

Browse files
[CI] Add requests/limits to metrics pod
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.
1 parent ef2a5c5 commit dcc0981

File tree

1 file changed

+7
-0
lines changed

1 file changed

+7
-0
lines changed

premerge/metrics_deployment.yaml

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -34,3 +34,10 @@ spec:
3434
secretKeyRef:
3535
name: metrics-secrets
3636
key: grafana-metrics-userid
37+
resources:
38+
requests:
39+
cpu: "250m"
40+
memory: "512Mi"
41+
limits:
42+
cpu: "2"
43+
memory: "1Gi"

0 commit comments

Comments
 (0)