How to share the toolcache with hostPath
#1700
Unanswered
WoodyWoodsta
asked this question in
Questions
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
I have a bunch of ephemeral runners deployed on a bare-metal K8s cluster, and I'd like to share toolcache between them. At the moment, we do not have provisioned external storage, and so we're using the host storage via
hostPath
(we don't care about duplication/missing cache between nodes because the toolcache is supposed to be flexible that way.)However, we're finding that, for example,
actions/setup-node
makes use of symlinks within the cache folder itself, and these symlinks appear to be ignored/removed when attempting to create them in thehostPath
.The three approaches to solving this problem are:
hostPath
to preserve symlinkshostPath
Has anyone needed to do the above and come up with a way that works?
Beta Was this translation helpful? Give feedback.
All reactions