Skip to content
This repository was archived by the owner on May 19, 2026. It is now read-only.

Commit 0656810

Browse files
committed
Request at least 40GiB of free disk and limit to 90GiB
1 parent 469cedf commit 0656810

1 file changed

Lines changed: 6 additions & 2 deletions

File tree

container/k8s.py

Lines changed: 6 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -68,9 +68,13 @@ def provision_runner(jit_config, runner_name, k8s_image, k8s_pool, entity_id, en
6868
{"name": "RUNNER_JITCONFIG", "value": jit_config},
6969
],
7070
"resources": {
71-
"limits": {
71+
"requests": {
7272
"riseproject.com/runner": "1",
73-
}
73+
"ephemeral-storage": "40Gi", # Request disk usage of at least 40GiB
74+
},
75+
"limits": {
76+
"ephemeral-storage": "90Gi", # Limit disk usage to 90GiB
77+
},
7478
}
7579
},
7680
],

0 commit comments

Comments
 (0)