filmov
tv
Setup AKS Cluster & Deploy Springboot Docker Container to AKS Cluster using Helm and Azure Pipeline
Показать описание
Implementation steps:
Create a resource group, AKS cluster and Azure container registry
Provide pull access for AKS to pull image from ACR
Create a namespace for helm deployment
Create a helm chart for spring boot app
Create a build pipeline to automate docker image
Customize pipeline with helm package tasks
Create a release pipeline
Customize pipeline with helm upgrade tasks
Run the pipeline to deploy springboot app into AKS
Verify deployments in the namespace in AKS
Use kubectl port forward to access app locally
Access the app in the browser
Pre-requisites:
Azure CLI is installed on your local machine.
Helm installed
kubectl installed
Azure subscription, click here if you don't have one.
AKS cluster needs to be up running. You can create AKS cluster, ACR Repo using shell script provided in my website.
Dockerfile created along with the application source code for springboot App.
Make sure AKS has pull access from ACR
Pipeline Implementation Steps:
Part 1 - Create Azure Build pipeline for building Docker image, uploading image into ACR and packaging helm chart.
Part 2 - Create Azure Release pipeline for deploying Springboot Docker containers into AKS using helm upgrade task.
Комментарии