We successfully deployed the runner auto-scaler in an AKS cluster. The auto-scaler successfully boostrapped the runner using the template provided here https://bitbucket.org/bitbucketpipelines/runners-autoscaler/src/master/kustomize/base/cm-job-template.yaml
The runner is running as expected, but for any reason, the autoscaler controller is crashing, and it's unclear to us right now the original reason because the pod is continuously restarting. In the logs, we can find the following error details:
{"kind":"Status","apiVersion":"v1","metadata":{},"status":"Failure","message":"secrets \"runner-oauth-credentials-xxxx-xxx-xxx\" already exists","reason":"AlreadyExists","details":{"name":"runner-oauth-credentials-xxxx-xxx-xxx","kind":"secrets"},"code":409}
Based on the error code, it looks like when the autoscaler restarts attempts to recreate the runner job
If somebody has this issue, I would greatly appreciate any help or suggestions.