Skip to content
Discussion options

You must be logged in to vote

@shaikatz Hey! There seems like no single solution to your problem, so you need to figure out how yourself mostly.

But recently, awesome @TheDarkula has contributed an example config and his associated experience to set up a cache for rust builds. One of the essential learnings we have along the way was that you need to be sure which container within the runner pod you need to mount volumes, depending on whether you run dind within the runner or not, and whether you use containerized job steps or not.

I think you can extend @TheDarkula's work to /var/lib/docker for your goal.

Also note that you'd need this patch #1340 to let ARC correctly clean and reuse PVs for RunnerSet-managed pods.

Replies: 1 comment 4 replies

Comment options

You must be logged in to vote
4 replies
@TheDarkula
Comment options

@bquenin
Comment options

@TheDarkula
Comment options

@bquenin
Comment options

Answer selected by mumoshu
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
question Further information is requested RunnerSet Discussions around legacy RunnerSet Docker-in-Docker Discussions about Docker-in-Docker set ups Container Management Kubernetes Persistent Storage
4 participants