Experimenting with various CSI drives for Docker/yarn caching on GKE #1795
Unanswered
Diontsoumas
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
-
We are experimenting around docker caching on our GCP cluster and the suggested solution with the pool of PVs is working great, but has some obvious downsides:
Other than the GCE CSI provider, we have also experimented with:
Unfortunately, none of the above solutions is working as intended, the performance is actually worse:
/var/lib/docker
, docker couldn't start (Cannot connect to the Docker daemon at unix:///var/run/docker.sock. Is the docker daemon running?
)/home/runner/.cache/
as the doc example suggests) it has no difference by default. I can see thatdocker create
runs with-v "/runner/_work":"/__w"
, so I assume that having a volume mount like the followingwill be mounted into
/__w/.cache
on the pod (we usedockerdWithinRunnerContainer: true
). This is working (tested on yarn cache), but performance is terrible, running yarn never finishes (ot at least takes >30'), while the original job takes ~2'. GCS bucket is properly populated with files, so the solution is working, albeit rather slowly.Long story short, none of our tests offered any good alternatives for cheaper storage solution when it comes to caching. In fact, most of them barely worked. Is anyone else using a different approach? Maybe we miss something?
Beta Was this translation helpful? Give feedback.
All reactions