This is an example of setting up Actions Runner Controller (ARC) on a Kubernetes cluster (Minikube in a Codespace).
This will create Actions runners in a GitHub organization.
- Use the
Use this template
button to create a new repository based on this repo. - Create a personal access token with
admin:org, admin:org_hook, notifications, read:public_key, read:repo_hook, repo, workflow
scope - Create a Codespace secret named
ARC_DEMO_TOKEN
with the value of the personal access token created in the previous step - Create another Codespace secret named
ARC_CONFIG_URL
with the value of the GitHub organization you want to create the runners in (e.g.,https://github.com/bxtp4p-demos
) - Create a Codespace
- Make sure that Minikube is running by running
minikube start
in the terminal
- Use
runs-on: arc-runner-set
in your workflow to target the runners created by ARC