k8s/devinfra/action-runners/README.md
We use the actions-runner-controller Helm chart to deploy K8s runners for Github.
actions-runner-controller requires cert-manager. Ensure that cert-manager is already installed. If not, follow instructions to deploy cert manager here.
helm repo add actions-runner-controller https://actions-runner-controller.github.io/actions-runner-controller
helm upgrade --install --namespace actions-runner-system --create-namespace\
--set=authSecret.create=true\
--set=authSecret.github_token="REPLACE_YOUR_TOKEN_HERE"\
--wait actions-runner-controller actions-runner-controller/actions-runner-controller
kubectl create namespace action-runners
BB_API_KEY=<BUILDBUDDY-API-KEY> envsubst < k8s/devinfra/action-runners/bb_bazelrc_secret.yaml | kubectl apply -f -
kustomize build k8s/devinfra/action-runners/runners | kubectl apply -f -