Forums

Articles
Create
cancel
Showing results for 
Search instead for 
Did you mean: 

Runner controller issues in Kubernetes

jerrycabatingan
I'm New Here
I'm New Here
Those new to the Atlassian Community have posted less than three times. Give them a warm welcome!
July 22, 2025

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.

0 answers

Suggest an answer

Log in or Sign up to answer
DEPLOYMENT TYPE
CLOUD
PRODUCT PLAN
STANDARD
PERMISSIONS LEVEL
Product Admin Site Admin
TAGS
AUG Leaders

Atlassian Community Events