Missed Team ’24? Catch up on announcements here.

×
Create
cancel
Showing results for 
Search instead for 
Did you mean: 
Sign up Log in

toleration and nodeselectors for runners

Serhii Kaidalov (NMI) June 21, 2023

Hello,

I want to ask to add a new feature to runners-autoscaller tool. I'm using spot instances and sometimes they are taken out during deployment, which is not very good thing :) 

Could you add nodeselectors/taints and you already did with resources?

2 answers

Suggest an answer

Log in or Sign up to answer
0 votes
Igor Stoyanov
Atlassian Team
Atlassian Team members are employees working across the company in a wide variety of roles.
August 28, 2023

@[deleted] hi. 

hello, sorry for bothering you, but is there any ETA for this feature? 

I will ask my manager to provide you information about this question.

Regards, Igor

0 votes
Igor Stoyanov
Atlassian Team
Atlassian Team members are employees working across the company in a wide variety of roles.
June 23, 2023

@Serhii Kaidalov (NMI) hi. Please, add more clarification to the feature.

Provide a detailed example of what should be implemented.

Regards, Igor

Serhii Kaidalov (NMI) June 23, 2023

@Igor Stoyanov hi! Sure, i would like to see ability to set separate tolerations/nodeSelector for reach group of runners, the same as with resources.

 

- name: "Runner group 1"
workspace: "test"
labels:
- "demo2"
namespace: "my-namespace"
strategy: "percentageRunnersIdle"
strategy_data:
parameters:
...
resources:
requests:
...
tolerations:
- key: blablabla
operator: Exists
nodeSelector:
name: blablabla

and the job template:

containers:
- name: runner
image: docker-public.packages.atlassian.com/sox/atlassian/bitbucket-pipelines-runner:1
resources:
requests:
memory: "<%requests_memory%>"
cpu: "<%requests_cpu%>"
limits:
memory: "<%limits_memory%>"
cpu: "<%limits_cpu%>"
....
nodeSelector:
name: "<%nodeSelector_name%>"
tolerations:
- key: "<%tolerations_key%>"
operator: "<%tolerations_operator%>"

Something like this

Like Igor Stoyanov likes this
Igor Stoyanov
Atlassian Team
Atlassian Team members are employees working across the company in a wide variety of roles.
June 23, 2023

I will add this as a feature request to runner Autoscaler list of tasks.

Deleted user August 11, 2023

@Igor Stoyanov hello, sorry for bothering you, but is there any ETA for this feature? 

TAGS
AUG Leaders

Atlassian Community Events