Skip to content

Commit

Permalink
[CI] Adjust memory limits and requests
Browse files Browse the repository at this point in the history
This patch bumps some memory limits/requests to more reasonable values.
I'm suspecting that these limits might be causing processes to get killed
prematurely, but I'm not entirely sure.
  • Loading branch information
boomanaiden154 committed Dec 17, 2024
1 parent 3e957b2 commit 8b5b823
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion premerge/linux_container_pod_template.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ spec:
# It's not used for scheduling, but can be used by k8 for OOM kill.
requests:
cpu: "100m"
memory: "25Gi"
memory: "230Gi"
limits:
cpu: 64
memory: "256Gi"
4 changes: 2 additions & 2 deletions premerge/linux_runners_values.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -48,10 +48,10 @@ template:
# OOM killed.
requests:
cpu: 55
memory: "2Gi"
memory: "8Gi"
limits:
cpu: 64
memory: "2Gi"
memory: "8Gi"
env:
- name: ACTIONS_RUNNER_CONTAINER_HOOKS
value: /home/runner/k8s/index.js
Expand Down

0 comments on commit 8b5b823

Please sign in to comment.