I’d like to have my own runners on GKE. But it will only run on a g1-micro minimum, and that costs about 30$ to keep running 24/7.
Is there a way to have Gitlab spin runners down to 0 when not running tests? I tried setting autoscale with a minimum of 0, but GL lost the runner and I had to add it again manually.
Please use the helm config with nodeSelector and tolerations. It looks promising. I am currently testing this and will post the details, if the cluster scales down consistently.
I am using the method mentioned in gitlab-runner/issues/4064