actions-runner-controller/config
Yusuke Kuoka 3f23501b8e
Reduce "No runner matching the specified labels was found" errors while runner replacement (#392)
We occasionally encountered those errors while the underlying RunnerReplicaSet is being recreated/replaced on RunnerDeployment.Spec.Template update. It turned out to be due to that the RunnerDeployment controller was waiting for the runner pod becomes `Running`, intead of the new replacement runner to have registered to GitHub. This fixes that, by trying to Runner.Status.Phase to `Running` only after the runner in the runner pod appears to be registered.

A side-effect of this change is that runner controller would call more "ListRunners" GitHub Actions API. I've reviewed and improved the runner controller code and Runner CRD to make make the number of calls minimum. In most cases, ListRunners should be called only twice for each runner creation.
2021-03-16 10:52:30 +09:00
..
certmanager Change api version of cert manager (#94) 2020-10-05 09:13:10 +09:00
crd Reduce "No runner matching the specified labels was found" errors while runner replacement (#392) 2021-03-16 10:52:30 +09:00
default Use ARM64 compatible kube-rbac-proxy from upstream (#310) 2021-02-16 09:55:03 +09:00
manager Increase memory limit (#173) 2020-11-12 09:14:33 +09:00
prometheus Initial commit 2020-01-28 15:03:23 +09:00
rbac Ensure controller-gen is up-to-date and the code and the manifests are in-sync 2020-10-06 09:23:03 +09:00
samples Add sample manifest of RunnerDeployment and RunnerReplicaSet 2020-03-15 22:08:01 +09:00
webhook Add manifests for validation webhook 2020-04-30 22:12:39 +09:00