Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Appearance settings
Discussion options

We are using summerwind implementation of ARC and we would like to migrate to new autoscaling runner scale sets mode.

We are using PersistentVolumes to implement docker layer cache like described here. The docker image layer caching works almost fine on the summerwind controller on our GKE cluster.

Problems:
In new ARC (autoscaling runner scale sets mode) we faced several problems to implement similar solution:

  1. Minor: Helm chart does not support extra volumeMounts for dind sidecar in AutoscalingRunnerSet.
  2. Major: New ARC leave the PersistentVolume in Released state (instead of Available). So the volume with cache could not be picked up by following runner replicas. One of summerwind's controllers deletes claimRef from the PVs to make them Available (source code).

It is possible to clean claimRef in the Released PVs by creating a cronjob, or create some standalone pod with a loop checking or write some mutating webhook to try to deal with it. However this is not nice and in case of cronjob or a pod, it will have larger latency.

Questions:

  1. Is similar solution (deal with claimRefs) planned in autoscaling runner scale sets mode?
  2. Are there any better alternatives to cache the docker layers/images? I don't believe this is rare case so community definitely knows good alternatives.
You must be logged in to vote

Replies: 1 comment

Comment options

Up

You must be logged in to vote
0 replies
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
2 participants
Morty Proxy This is a proxified and sanitized view of the page, visit original site.