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 test: Add tests with self-hosted label for #953 (#1030) 2022-01-07 08:50:26 +09:00
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 Make webhook-based scale race-free (#1477) 2022-06-27 18:31:48 +09:00
horizontal_runner_autoscaler_webhook_worker_test.go Make webhook-based scale race-free (#1477) 2022-06-27 18:31:48 +09:00
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 Fix confusing logs from pv and pvc controllers (#1487) 2022-05-26 18:21:23 +09:00
persistent_volume_controller.go Enhance RunnerSet to optionally retain PVs accross restarts (#1340) 2022-05-16 09:26:48 +09:00
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 fix: force restartPolicy "Never" to prevent runner pods from stucking in Terminating when the container disappeared (#1395) 2022-05-14 09:07:17 +01:00
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 Clean up import list (#645) 2021-06-22 17:55:06 +09:00
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 Experimental support for ScheduledOverrides (#515) 2021-05-03 23:31:17 +09:00
schedule_test.go test: add fuzzing to the test suite (#1463) 2022-05-19 13:34:23 +01:00
suite_test.go Clean up import list (#645) 2021-06-22 17:55:06 +09:00
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 feat: EKS IAM Roles for Service Accounts for Runner Pods (#226) 2020-12-08 17:56:06 +09:00
utils_test.go `containerMode` option to allow running jobs in k8's instead of docker (#1546) 2022-06-28 14:12:40 +09:00