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.
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
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
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)
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
That shouldn't be a problem, I'll do some testing. Thank you for the information!
Marv
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
No worries Marv - glad to be of assistance! :)
Cheers!
- Ben (Bitbucket Cloud Support)
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Online forums and learning are now in one easy-to-use experience.
By continuing, you accept the updated Community Terms of Use and acknowledge the Privacy Policy. Your public name, photo, and achievements may be publicly visible and available in search engines.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.