evryfs/github-actions-runner-operator

latest image is not always pulled

Anusha-Kolli opened this issue · 1 comments

The GH Runner is set to use the "latest" tag so that it's always up-to-date. However, if this image tag is cached on the node, it will not pull the latest image. The pod will subsequently CrashLoop with:

2021-05-10 15:41:24Z: Listening for Jobs
Runner update in progress, do not shutdown runner.
Downloading 2.278.0 runner
Waiting for current job finish running.
Generate and execute update script.
Runner will exit shortly for update, should back online within 10 seconds.

You control this with the imagePullPolicy(https://github.com/evryfs/github-actions-runner-operator/blob/master/config/samples/garo_v1alpha1_githubactionrunner.yaml#L63)

GitHub
K8S operator for scheduling github actions runner pods - evryfs/github-actions-runner-operator