actions / actions/actions-runner-controller

Add option to have runner PVCs created with workflow name in the PVC name

Open
#3,827 1 comment 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

community enhancement needs triage
Dominant language
Go
Stars
6.5k
Forks
1.5k
Avg merge
2d 2h
Merged PRs (30d)
27

Description

What would you like added?

A clear and concise description of what you want to happen.

Note: Feature requests to integrate vendor specific cloud tools (e.g. awscli, gcloud-sdk, azure-cli) will likely be rejected as the Runner image aims to be vendor agnostic.

An option to add a PVC to runners with the workflow id in the name. This would allow a volume to be created that could be shared accross multiple jobs. This would have to be set as ReadWriteMany in the case of parallel jobs.

Why is this needed?

A clear and concise description of any alternative solutions or features you've considered.

This could solve a bunch of issues in regard to dependency caching and shared workspaces accross jobs.

Additional context

Add any other context or screenshots about the feature request here.

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Start by tracing how runner PVCs are currently created in the controller and how workflow identifiers reach that path. Review the Kubernetes PVC settings needed for shared volumes, then define the option's naming and access-mode behavior. Done means an opt-in PVC named with the workflow identifier can be shared by parallel jobs.

Written by the indexing model from the issue text.

Assessment

Tech stack
github-actions, go, kubernetes
Domain
ci-cd, devops, infrastructure
Issue type
Feature
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.