Forums

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

Using Pipelines to Deploy to Self Hosted Kubernetes cluster

Marv Agabi September 24, 2023

What is the best way to use pipelines to deploy to a self hosted i.e. local kubernetes cluster? I've looked into runners but I'm not sure if this would be the best option for this. Any help or pointing in the right direction would be greatly appreciated.

1 answer

1 accepted

0 votes
Answer accepted
Ben
Atlassian Team
Atlassian Team members are employees working across the company in a wide variety of roles.
September 25, 2023

Hi Marv,

You can deploy to a Kubernetes cluster via either Pipelines (which runs on Atlassian infrastructure and contribute to build minute usage on your subscription plan) or using self-hosted Runners (which run on your own infrastructure and do not contribute to build minute usage on your subscription plan).

Your individual use case will determine whether it is best for you to use Pipelines or Runners.

To assist you, here is some documentation concerning both runners and deploying to Kubernetes:

Hope this helps.

Cheers!

- Ben (Bitbucket Cloud Support)

Marv Agabi September 25, 2023

Thanks for the information, so to confirm the best solution in my use case since my k8s cluster is self hosted and not directly accessible over the internet is to use a runner running on the k8s itself? 

Or is there some other solution or agent that would make this easier?

Thanks,

Marv

Ben
Atlassian Team
Atlassian Team members are employees working across the company in a wide variety of roles.
September 25, 2023

Hi Marv,

Whichever environment contains the runner will need to have our outbound IP addresses whitelisted to ensure that Bitbucket can communicate and send commands to the runner:

Would this be possible within your k8s cluster?

Cheers!

- Ben (Bitbucket Cloud Support)

Marv Agabi September 26, 2023

That shouldn't be a problem, I'll do some testing. Thank you for the information!

Marv

Ben
Atlassian Team
Atlassian Team members are employees working across the company in a wide variety of roles.
September 26, 2023

No worries Marv - glad to be of assistance! :)

Cheers!

- Ben (Bitbucket Cloud Support)

Suggest an answer

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

Atlassian Community Events