actions-runner-controller/controllers
Yusuke Kuoka 9e4dbf497c
feat: RunnerSet backed by StatefulSet (#629)
* feat: RunnerSet backed by StatefulSet

Unlike a runner deployment, a runner set can manage a set of stateful runners by combining a statefulset and an admission webhook that mutates statefulset-managed pods with required envvars and registration tokens.

Resolves #613
Ref #612

* Upgrade controller-runtime to 0.9.0

* Bump Go to 1.16.x following controller-runtime 0.9.0

* Upgrade kubebuilder to 2.3.2 for updated etcd and apiserver following local setup

* Fix startup failure due to missing LeaderElectionID

* Fix the issue that any pods become unable to start once actions-runner-controller got failed after the mutating webhook has been registered

* Allow force-updating statefulset

* Fix runner container missing work and certs-client volume mounts and DOCKER_HOST and DOCKER_TLS_VERIFY envvars when dockerdWithinRunner=false

* Fix runnerset-controller not applying statefulset.spec.template.spec changes when there were no changes in runnerset spec

* Enable running acceptance tests against arbitrary kind cluster

* RunnerSet supports non-ephemeral runners only today

* fix: docker-build from root Makefile on intel mac

* fix: arch check fixes for mac and ARM

* ci: aligning test data format and patching checks

* fix: removing namespace in test data

* chore: adding more ignores

* chore: removing leading space in shebang

* Re-add metrics to org hra testdata

* Bump cert-manager to v1.1.1 and fix deploy.sh

Co-authored-by: toast-gear <15716903+toast-gear@users.noreply.github.com>
Co-authored-by: Callum James Tait <callum.tait@photobox.com>
2021-06-22 17:10:09 +09:00
..
metrics feat: RunnerSet backed by StatefulSet (#629) 2021-06-22 17:10:09 +09:00
testdata Fix panic on webhook for user-owned repository (#344) 2021-02-23 08:05:25 +09:00
autoscaling.go edge: Enable scaling from zero with PercentageRunnersBusy (#524) 2021-05-05 14:27:17 +09:00
autoscaling_test.go feat: RunnerSet backed by StatefulSet (#629) 2021-06-22 17:10:09 +09:00
horizontal_runner_autoscaler_webhook.go feat: RunnerSet backed by StatefulSet (#629) 2021-06-22 17:10:09 +09:00
horizontal_runner_autoscaler_webhook_on_check_run.go Add CheckRun.Names scale-up trigger configuration (#390) 2021-03-14 10:21:42 +09:00
horizontal_runner_autoscaler_webhook_on_pull_request.go feat: HorizontalRunnerAutoscaler Webhook server (#282) 2021-02-07 17:37:27 +09:00
horizontal_runner_autoscaler_webhook_on_push.go feat: HorizontalRunnerAutoscaler Webhook server (#282) 2021-02-07 17:37:27 +09:00
horizontal_runner_autoscaler_webhook_test.go handle GET requests in webhook hra (#378) 2021-03-09 08:46:27 +09:00
horizontalrunnerautoscaler_controller.go feat: RunnerSet backed by StatefulSet (#629) 2021-06-22 17:10:09 +09:00
horizontalrunnerautoscaler_controller_test.go Fix HRA expired cache entries not cleaned up (#357) 2021-02-26 09:54:24 +09:00
integration_test.go feat: RunnerSet backed by StatefulSet (#629) 2021-06-22 17:10:09 +09:00
pod_runner_token_injector.go feat: RunnerSet backed by StatefulSet (#629) 2021-06-22 17:10:09 +09:00
runner_controller.go feat: RunnerSet backed by StatefulSet (#629) 2021-06-22 17:10:09 +09:00
runnerdeployment_controller.go feat: RunnerSet backed by StatefulSet (#629) 2021-06-22 17:10:09 +09:00
runnerdeployment_controller_test.go feat: RunnerSet backed by StatefulSet (#629) 2021-06-22 17:10:09 +09:00
runnerreplicaset_controller.go feat: RunnerSet backed by StatefulSet (#629) 2021-06-22 17:10:09 +09:00
runnerreplicaset_controller_test.go feat: RunnerSet backed by StatefulSet (#629) 2021-06-22 17:10:09 +09:00
runnerset_controller.go feat: RunnerSet backed by StatefulSet (#629) 2021-06-22 17:10:09 +09:00
schedule.go Experimental support for ScheduledOverrides (#515) 2021-05-03 23:31:17 +09:00
schedule_test.go Experimental support for ScheduledOverrides (#515) 2021-05-03 23:31:17 +09:00
suite_test.go feat: RunnerSet backed by StatefulSet (#629) 2021-06-22 17:10:09 +09:00
utils.go feat: EKS IAM Roles for Service Accounts for Runner Pods (#226) 2020-12-08 17:56:06 +09:00
utils_test.go feat: EKS IAM Roles for Service Accounts for Runner Pods (#226) 2020-12-08 17:56:06 +09:00