GitHub Action Runner
Action Runner Controller
설치
helm pull oci://ghcr.io/actions/actions-runner-controller-charts/gha-runner-scale-set-controller \
--version 0.9.1
helm show values oci://ghcr.io/actions/actions-runner-controller-charts/gha-runner-scale-set-controller \
--version 0.9.1 \
> gha-runner-scale-set-controller-0.9.1.yaml
helm template gha-controller gha-runner-scale-set-controller-0.9.1.tgz \
-n github \
-f gha-runner-scale-set-controller-values.yaml \
> gha-controller.yaml
helm upgrade gha-controller gha-runner-scale-set-controller-0.9.1.tgz \
--install \
--history-max 5 \
-n github \
-f gha-runner-scale-set-controller-values.yaml
AutoscalingRunnerSet
- https://docs.github.com/en/actions/hosting-your-own-runners/managing-self-hosted-runners-with-actions-runner-controller/deploying-runner-scale-sets-with-actions-runner-controller
- https://github.com/actions/actions-runner-controller/pkgs/container/actions-runner-controller-charts%2Fgha-runner-scale-set
helm pull oci://ghcr.io/actions/actions-runner-controller-charts/gha-runner-scale-set \
--version 0.9.1
helm show values oci://ghcr.io/actions/actions-runner-controller-charts/gha-runner-scale-set \
--version 0.9.1 \
> gha-runner-scale-set-0.9.1.yaml
gha-runner-scale-set-values.yaml
githubConfigUrl: https://github.com/<repo|org|enter>
githubConfigSecret:
github_token: <token>
helm template <runnerName> gha-runner-scale-set-0.9.1.tgz \
-n github \
-f gha-runner-scale-set-values.yaml \
> gha-runner.yaml
warning
<runnerName>
은 Github Action 설정 파일의 .jobs.<jobName>.runs-on
에 사용될 값이므로 적절한 이름을 사용해야합니다.
helm upgrade <runnerName> gha-runner-scale-set-0.9.1.tgz \
--install \
--history-max 5 \
-n github \
-f gha-runner-scale-set-values.yaml