What does a runner pod cache across consecutive jobs? #2963
-
Hi, I have a couple of questions about the caching behavior of runners managed by a HorizontallRunnerAutoscaler:
TIA and thanks for the excellent project |
Beta Was this translation helpful? Give feedback.
Replies: 2 comments
-
This is not an FAQ. Moved to Questions. |
Beta Was this translation helpful? Give feedback.
-
I think I've figured it out on my own:
It can be used for multiple consecutive jobs. Even with
ARC doesn't implement any sort of native caching. We can do various forms of caching using volumes on the pod (to cache across jobs) and persistent volumes (to cache across pods). There's a good example here: #2726 (comment) |
Beta Was this translation helpful? Give feedback.
I think I've figured it out on my own:
It can be used for multiple consecutive jobs. Even with
ephemeral: true
, which is pretty confusing. This can be tested by: set up a runner deployment with exactly 1 runner; run a workflow with two jobs that each specify that runner; observe that the each job runs on the same runner.