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

Earn badges and make progress

You're on your way to the next level! Join the Kudos program to earn points and save your progress.

Deleted user Avatar
Deleted user

Level 1: Seed

25 / 150 points

Next: Root

Avatar

1 badge earned

Collect

Participate in fun challenges

Challenges come and go, but your rewards stay with you. Do more to earn more!

Challenges
Coins

Gift kudos to your peers

What goes around comes around! Share the love by gifting kudos to your peers.

Recognition
Ribbon

Rise up in the ranks

Keep earning points to reach the top of the leaderboard. It resets every quarter so you always have a chance!

Leaderboard

Using Pipelines to Deploy to Self Hosted Kubernetes cluster

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.
Sep 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)

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.
Sep 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)

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.
Sep 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
Site Admin
TAGS
AUG Leaders

Atlassian Community Events