MCPcopy
hub / github.com/actions/actions-runner-controller

github.com/actions/actions-runner-controller @gha-runner-scale-set-0.14.2 sqlite

repository ↗ · DeepWiki ↗ · release gha-runner-scale-set-0.14.2 ↗
1,605 symbols 4,776 edges 155 files 521 documented · 32%
README

Actions Runner Controller (ARC)

CII Best Practices awesome-runners Artifact Hub

About

Actions Runner Controller (ARC) is a Kubernetes operator that orchestrates and scales self-hosted runners for GitHub Actions.

With ARC, you can create runner scale sets that automatically scale based on the number of workflows running in your repository, organization, or enterprise. Because controlled runners can be ephemeral and based on containers, new runner instances can scale up or down rapidly and cleanly. For more information about autoscaling, see "Autoscaling with self-hosted runners."

You can set up ARC on Kubernetes using Helm, then create and run a workflow that uses runner scale sets. For more information about runner scale sets, see "Deploying runner scale sets with Actions Runner Controller."

People

Actions Runner Controller (ARC) is an open-source project currently developed and maintained in collaboration with the GitHub Actions team, external maintainers @mumoshu and @toast-gear, various contributors, and the awesome community.

If you think the project is awesome and is adding value to your business, please consider directly sponsoring community maintainers and individual contributors via GitHub Sponsors.

If you are already the employer of one of the contributors, sponsoring via GitHub Sponsors might not be an option. Just support them by other means!

See the sponsorship dashboard for the former and the current sponsors.

Getting Started

To give ARC a try with just a handful of commands, please refer to the Quickstart guide.

For an overview of ARC, please refer to About ARC.

With the introduction of autoscaling runner scale sets, the existing autoscaling modes are now legacy. The legacy modes have certain use cases and will continue to be maintained by the community only.

For further information on what is supported by GitHub and what's managed by the community, please refer to this announcement discussion.

Documentation

ARC documentation is available on docs.github.com.

Legacy documentation

The following documentation is for the legacy autoscaling modes that continue to be maintained by the community:

Contributing

We welcome contributions from the community. For more details on contributing to the project (including requirements), please refer to "Getting Started with Contributing."

Troubleshooting

We are very happy to help you with any issues you have. Please refer to the "Troubleshooting" section for common issues.

Extension points exported contracts — how you extend this code

Recorder (Interface)
(no doc) [6 implementers]
cmd/ghalistener/metrics/metrics.go
Vault (Interface)
Vault is the interface every vault implementation needs to adhere to [1 implementers]
vault/vault.go
SecretResolver (Interface)
(no doc) [3 implementers]
controllers/actions.github.com/resourcebuilder.go
Checkpointer (Interface)
(no doc) [2 implementers]
pkg/hookdeliveryforwarder/checkpointer.go
EventHook (FuncType)
(no doc)
pkg/actionsmetrics/webhookserver.go
InstallARCOption (FuncType)
(no doc)
test/e2e/e2e_test.go
Option (FuncType)
(no doc)
github/fake/options.go
ServerExporter (Interface)
(no doc) [3 implementers]
cmd/ghalistener/metrics/metrics.go

Core symbols most depended-on inside this repo

Get
called by 306
controllers/actions.summerwind.net/multi_githubclient.go
Errorf
called by 302
testing/runtime/runtime.go
Error
called by 147
controllers/actions.github.com/error.go
DeepCopy
called by 118
controllers/actions.github.com/clientutil.go
Patch
called by 76
controllers/actions.github.com/clientutil.go
Run
called by 60
pkg/hookdeliveryforwarder/forwarder.go
run
called by 49
cmd/ghalistener/main.go
Add
called by 43
controllers/actions.summerwind.net/horizontal_runner_autoscaler_webhook_worker.go

Shape

Method 882
Function 404
Struct 283
Interface 14
TypeAlias 13
FuncType 9

Languages

Go100%

Modules by API surface

controllers/actions.github.com/mocks_test.go238 symbols
apis/actions.summerwind.net/v1alpha1/zz_generated.deepcopy.go102 symbols
cmd/ghalistener/metrics/mocks_test.go74 symbols
apis/actions.github.com/v1alpha1/zz_generated.deepcopy.go62 symbols
charts/gha-runner-scale-set/tests/template_test.go56 symbols
cmd/ghalistener/metrics/metrics.go36 symbols
controllers/actions.github.com/autoscalingrunnerset_controller.go34 symbols
test/e2e/e2e_test.go31 symbols
apis/actions.github.com/v1alpha1/autoscalingrunnerset_types.go31 symbols
controllers/actions.github.com/resourcebuilder.go30 symbols
testing/testing.go29 symbols
controllers/actions.github.com/multiclient/fake/client.go29 symbols

Dependencies from manifests, versioned

filippo.io/edwards25519v1.2.0 · 1×
github.com/Azure/azure-sdk-for-go/sdk/azcorev1.21.0 · 1×
github.com/Azure/azure-sdk-for-go/sdk/azidentityv1.13.1 · 1×
github.com/Azure/azure-sdk-for-go/sdk/internalv1.11.2 · 1×
github.com/Azure/azure-sdk-for-go/sdk/security/keyvault/azsecretsv1.4.0 · 1×
github.com/Azure/azure-sdk-for-go/sdk/security/keyvault/internalv1.2.0 · 1×
github.com/AzureAD/microsoft-authentication-library-for-gov1.7.0 · 1×
github.com/Masterminds/semver/v3v3.4.0 · 1×
github.com/ProtonMail/go-cryptov1.4.0 · 1×
github.com/actions/scalesetv0.4.0 · 1×
github.com/aws/aws-sdk-go-v2v1.41.3 · 1×

For agents

$ claude mcp add actions-runner-controller \
  -- python -m otcore.mcp_server <graph>

⬇ download graph artifact