Kubernetes gitlab-runner id

Hello,

How can i set the runner id to avoid to assign it for my project each time the pod is recreate?

Regards

Hi,

if you are using the official Helm Chart to deploy your runner you can set

unregisterRunners: true

so the runner will unregister itself upon termination. When the new Pod starts it will register itself again.

thanks for the reply but i want the opposite. :grinning:
I think i found the solution:
unregisterRunners: false and set runnertoken in les values file.

Regards