Come for the products,
stay for the community

The Atlassian Community can help you and your team get more value out of Atlassian products and practices.

Atlassian Community about banner
4,298,102
Community Members
 
Community Events
165
Community Groups

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

The sample kubernetes yaml for the bitbucket-pipelines runner is at https://support.atlassian.com/bitbucket-cloud/docs/pipelines-runners-frequently-asked-questions/#How-do-I-setup-Pipelines-Runner-with-Kubernetes.

 

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

@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
TAGS
Community showcase
Published in Bitbucket

Git push size limits are coming to Bitbucket Cloud starting April 4th, 2022

Beginning on April 4th, we will be implementing push limits. This means that your push cannot be completed if it is over 3.5 GB. If you do attempt to complete a push that is over 3.5 GB, it will fail...

2,223 views 2 9
Read article

Community Events

Connect with like-minded Atlassian users at free events near you!

Find an event

Connect with like-minded Atlassian users at free events near you!

Unfortunately there are no Community Events near you at the moment.

Host an event

You're one step closer to meeting fellow Atlassian users at your local event. Learn more about Community Events

Events near you