I used following guide to setup bitbucket runner: https://bitbucket.org/bitbucketpipelines/runners-autoscaler/src/master/
while runner runner on kubernetes. I am getting the following error
constants:
default_sleep_time_runner_setup: 10 # value in seconds
default_sleep_time_runner_delete: 5 # value in seconds
runner_api_polling_interval: 300 # value in seconds
runner_cool_down_period: 300 # value in seconds
groups:
- name: "ks"
workspace: "{<name here>}" # include the curly braces
labels: # each runner will be created with this label list
- "my.group"
namespace: "default" # target namespace, where runner will be created.
strategy: "percentageRunnersIdle"
for auth
### Option 2 ###
- op: add
path: /data/bitbucketUsername
value: "Umashankarprasad"
- op: add
path: /data/bitbucketAppPassword
value: "xxxxxxxxx=="
Hey @Umashankar Prasad ,
and welcome to the Community!
That error is usually associated with the credentials not being correct. Could you please confirm if you have base64 encoded both the username and app password before pasting the value to the kustomization.yaml file ?
If not, you can use the following commands to encode it :
echo -n $BITBUCKET_USERNAME | base64
echo -n $BITBUCKET_APP_PASSWORD | base64
and then in the kustomization.yaml file, set value fields of /data/bitbucketUsername and /data/bitbucketAppPassword paths with the base64 encoded values generated previously.
I'd also recommend following the steps outlined in the below article to make sure the autoscaler is setup correctly, as this article covers the setup in more details:
Thank you, @Umashankar Prasad !
Patrik S
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.