Deploy Application on Kubernates

chandrashekhar_gawade April 25, 2020

we are planning to deploy application on kubernates

but facing some issue to set some kubernates config at bitbuket pipeline end

i followed this page to deploy application on kubernates https://confluence.atlassian.com/bitbucket/deploy-to-kubernetes-892623297.html

what should be the value of KUBE_CONFIG variable?

1 comment

Oleksandr Kyrdan
Atlassian Team
Atlassian Team members are employees working across the company in a wide variety of roles.
April 26, 2020

Hi @chandrashekhar_gawade

Thank you for the question!

KUBE_CONFIG should be Base64 string containing the Kubernetes configuration.

This is how you can obtain it:

cat ~/.kube/config | base64

Just copy the base64 encoded string from stdout and put in into the KUBE_CONFIG variable in your repository.

More details you can find on kubectl-run pipe.

We'll update the guide with this details.

 

Cheers,

Alex

Comment

Log in or Sign up to comment
TAGS
AUG Leaders

Atlassian Community Events