Skip to content

Commit eb81671

Browse files
authored
[CI] Increase resource allocation for operational metrics cronjob (#524)
The cronjob for scraping llvm-project commit data consistently fails due to running out of memory. `git clone https://github.com/llvm/llvm-project.git` consistently uses around 1.5 GiB of RAM, which is well above both the request and limit currently set for the cronjob. Thus, the job is repeatedly killed more memory than is allocated. Increasing the resource allocation should get this cronjob running as intended.
1 parent be28b89 commit eb81671

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

premerge/operational_metrics_cronjob.yaml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -38,8 +38,8 @@ spec:
3838
resources:
3939
requests:
4040
cpu: "250m"
41-
memory: "256Mi"
41+
memory: "1.75Gi"
4242
limits:
43-
cpu: "1"
44-
memory: "512Mi"
43+
cpu: "2"
44+
memory: "2Gi"
4545
restartPolicy: OnFailure

0 commit comments

Comments
 (0)