actions-runner-controller/controllers
Yusuke Kuoka 7ff5b7da8c
Handle missing runner ID more gracefully (#1855)
so that ARC respect the registration timeout, terminationGracePeriodSeconds and RUNNER_GRACEFUL_STOP_TIMEOUT(#1759) when the runner pod was terminated externally too early after its creation

While I was running E2E tests for #1759, I discovered a potential issue that ARC can terminate runner pods without waiting for the registration timeout of 10 minutes.

You won't be affected by this in normal circumstances, as this failure scenario can be triggered only when you or another K8s controller like cluster-autoscaler deleted the runner or the runner pod immediately after the runner or the runner pod has been created. But probably is it worth fixing it anyway because it's not impossible to trigger it?
2022-10-09 16:52:51 +09:00
..
metrics Add golangci-lilnt to CI (#1794) 2022-09-21 09:08:22 +09:00
testdata
autoscaling.go chore: Bump go-github and minimum GHES version to 3.6 (#1747) 2022-08-24 13:08:40 +09:00
autoscaling_test.go Enhance support for multi-tenancy (#1371) 2022-07-12 09:45:00 +09:00
constants.go Fix PercentageRunnersBusy scaling delay (#1579) 2022-06-29 20:49:21 +09:00
horizontal_runner_autoscaler_batch_scale.go Add golangci-lilnt to CI (#1794) 2022-09-21 09:08:22 +09:00
horizontal_runner_autoscaler_webhook.go Add golangci-lilnt to CI (#1794) 2022-09-21 09:08:22 +09:00
horizontal_runner_autoscaler_webhook_on_check_run.go chore: Bump go-github and minimum GHES version to 3.6 (#1747) 2022-08-24 13:08:40 +09:00
horizontal_runner_autoscaler_webhook_on_pull_request.go chore: Bump go-github and minimum GHES version to 3.6 (#1747) 2022-08-24 13:08:40 +09:00
horizontal_runner_autoscaler_webhook_on_push.go chore: Bump go-github and minimum GHES version to 3.6 (#1747) 2022-08-24 13:08:40 +09:00
horizontal_runner_autoscaler_webhook_test.go Add golangci-lilnt to CI (#1794) 2022-09-21 09:08:22 +09:00
horizontal_runner_autoscaler_webhook_worker.go
horizontal_runner_autoscaler_webhook_worker_test.go
horizontalrunnerautoscaler_controller.go Remove github-api-cache-duration flag and code (#1631) 2022-07-12 20:37:24 +09:00
integration_test.go chore: Bump go-github and minimum GHES version to 3.6 (#1747) 2022-08-24 13:08:40 +09:00
multi_githubclient.go fix(deps): update module sigs.k8s.io/controller-runtime to v0.13.0 (#1775) 2022-09-21 11:04:07 +09:00
new_runner_pod_test.go Enhance support for multi-tenancy (#1371) 2022-07-12 09:45:00 +09:00
persistent_volume_claim_controller.go
persistent_volume_controller.go
pod_runner_token_injector.go Enhance support for multi-tenancy (#1371) 2022-07-12 09:45:00 +09:00
runner_controller.go Allow `RunnerDeployment`s to configure `dnsPolicy` for runners (#1892) 2022-10-05 08:16:11 +09:00
runner_graceful_stop.go Handle missing runner ID more gracefully (#1855) 2022-10-09 16:52:51 +09:00
runner_pod.go
runner_pod_controller.go Enhance support for multi-tenancy (#1371) 2022-07-12 09:45:00 +09:00
runner_pod_owner.go Add golangci-lilnt to CI (#1794) 2022-09-21 09:08:22 +09:00
runnerdeployment_controller.go Fix excessive runnerreplicaset update issue since 0.25.0 (#1650) 2022-07-17 19:43:24 +09:00
runnerdeployment_controller_test.go
runnerreplicaset_controller.go Enhance support for multi-tenancy (#1371) 2022-07-12 09:45:00 +09:00
runnerreplicaset_controller_test.go Enhance support for multi-tenancy (#1371) 2022-07-12 09:45:00 +09:00
runnerset_controller.go Enhance support for multi-tenancy (#1371) 2022-07-12 09:45:00 +09:00
schedule.go
schedule_test.go
suite_test.go
sync_volumes.go Add TODO comment to the PVC reconciler 2022-08-27 07:14:16 +00:00
testresourcereader.go fix(deps): update module sigs.k8s.io/controller-runtime to v0.13.0 (#1775) 2022-09-21 11:04:07 +09:00
testresourcereader_test.go Enhance support for multi-tenancy (#1371) 2022-07-12 09:45:00 +09:00
utils.go
utils_test.go