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

Why does the sample bitbucket-pipelines runner kubernetes yaml use a Job instead of a Deployment?

Matthew Wynn
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!
May 25, 2022

The sample kubernetes yaml for the bitbucket-pipelines runner is at


It uses a Job type instead of a Deployment or Statefulset.  Jobs generally appear to be built for tasks that run and finish, whereas a Deployment can handle updates, recover from crashes more reliably, and seems to be the go-to strategy for most tools.

Are there considerations that would prevent the runner to be deployed as a Deployment?

1 answer

0 votes
o_kyrdan May 27, 2022

@Matthew Wynn 


Thank you for your question!

The self hosted runners are like a daemons that starts, doing work and finish.

It's just an example and it's up to you how to configure you k8s cluster.


Best regards,
Oleksandr Kyrdan

Suggest an answer

Log in or Sign up to answer
AUG Leaders

Atlassian Community Events