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

Inquiry About the Maintenance Status of the Azure AKS Helm Deploy Pipe

Avinash Sachdewani
I'm New Here
I'm New Here
Those new to the Atlassian Community have posted less than three times. Give them a warm welcome!
September 21, 2023

Hello Bitbucket Community,

I'm currently using the Azure AKS Helm Deploy Pipe in my CI/CD pipeline and have encountered issues related to Azure AD authentication and private cluster support. I'd like to inquire about the maintenance status of this pipe and whether there are plans to add support for these features. If you have insights or know of any alternatives or workarounds, your input would be greatly appreciated.
Thanks!

2 answers

0 votes
Igor Stoyanov
Atlassian Team
Atlassian Team members are employees working across the company in a wide variety of roles.
November 10, 2023

@Avinash Sachdewani hi. The new version of the pipe available with an image 

mcr.microsoft.com/azure-cli:2.53.1

script:
  - pipe: atlassian/azure-aks-helm-deploy:3.0.0
    variables:
      AZURE_APP_ID: $AZURE_APP_ID
      AZURE_PASSWORD: $AZURE_PASSWORD
      AZURE_TENANT_ID: $AZURE_TENANT_ID
      AZURE_AKS_NAME: $AZURE_AKS_NAME
      AZURE_RESOURCE_GROUP: $AZURE_RESOURCE_GROUP
      HELM_VERSION: 'v3.5.4'
      HELM_RELEASE_NAME: 'myRedis'
      HELM_COMMAND: 'upgrade'
      HELM_UPGRADE_INSTALL_IF_NOT_PRESENT: 'true'
      HELM_CHART_NAME: 'oci://registry-1.docker.io/bitnamicharts/redis'
      HELM_COMMAND_ARGS: '--version 18.0.0'

Regards, Igor

0 votes
Igor Stoyanov
Atlassian Team
Atlassian Team members are employees working across the company in a wide variety of roles.
September 22, 2023

@Avinash Sachdewani hi. Thanks for your question. We will bump azure-cli in this pipe, and will notify you when new version become available.

Regards, Igor

Avinash Sachdewani
I'm New Here
I'm New Here
Those new to the Atlassian Community have posted less than three times. Give them a warm welcome!
September 23, 2023

Thank you @Igor Stoyanov for the response.

I'm currently facing an issue when attempting to deploy to a private AKS cluster.
The deployment fails while connecting via kubeconfig, and the error message is as follows:


+ output='Error: Kubernetes cluster unreachable: Get "private link": getting credentials: exec: executable kubelogin not found 2109 2110 It looks like you are trying to use a client-go credential plugin that is not installed. 2111 2112 To learn more about this feature, consult the documentation available at: 2113 2114 2115 2116 kubelogin is not installed which is required to connect to AAD enabled cluster. 2117 2118 To learn more, please go to'

It seems that kubelogin is required to connect to an Azure AD (AAD) enabled cluster, and it's not installed. You can find more information on this feature at this link.

I also attempted to add the bastion server as a known host, but the pipeline doesn't support passing the host to replace the private link with the known host.
Screenshot 2023-09-23 at 10.56.03 AM.png

I'm unsure if adding code to replace the host should be incorporated into the pipeline.

Screenshot 2023-09-23 at 11.02.43 AM.png
Your guidance on this matter would be appreciated.

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

@Avinash Sachdewani, I could suggest just some common things:

First try to deploy from your working machine to understand the process.
After success, try to use pipelines, the script below allows you to use latest azure-cli:

test: &test
step
:
name: Test
image: mcr.microsoft.com/azure-cli:2.52.0
script:
<your logic from previous step, commands you used to deploy from local machine>

Regards, Igor

Suggest an answer

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

Atlassian Community Events