How to create AKS Cluster and Deploy Springboot Microservices into AKS Cluster using Azure Pipeline
Vložit
- čas přidán 30. 06. 2022
- www.coachdevops.com/2022/06/h...
We will learn how to automate springboot microservices builds using Azure Build pipeline and Deploy into AKS Cluster with help of Azure Release pipelines.
We will use Springboot Microservices based Java application. I have already created a repo with source code + Dockerfile. The repo also have K8S manifest file for AKS Deployment.:
Pre-requistes:
Setup AKS Cluster and ACR Repo - You can do it by following steps in this link - www.coachdevops.com/2020/10/h...
Make sure AKS has pull access to ACR.
We will be achieving the following:
- Automating builds using Azure Pipeline
- Automating Docker image creation
- Automating Docker image upload into ACR
- Automating Deployments to Kubernetes Cluster - Auta a dopravní prostředky
Seriously thank you so much for this video, Awsome video..! :)
Thank you for your kind words
The voice, the clarity , the walk through ,Just awesome!!! God bless you sir!!!!.
Thank you so much 😊
@@DevOpsCoach Happy Teachers' Day, Sir !!!!
Really Awesome Sir.....
Thank you Naren, glad you liked it
Clear Explanation. It helped me to kickstart. Thanks!
Glad to know, thank you 🙏
big fan of you "WELCOME BACK"
thank you!
Seriously thank you for this video really helpful 👍
Please always make videos like this your videos and the doc how to do things are helped me
Thank you! Will do!
@@DevOpsCoach It's great to follow you step by step. You explain it very well. But when I go to do it, it doesn't happen exactly as in your instructions. Could you show me a video where you explain how to do everything via YAML and Terraform files? From building the IaC infrastructure to deploying the app? In my organization there is no permission to create pipelines manually, only via .yaml and .tf files. I wish you and your channel every success. Thank you.
In first five minutes i subscribed this channel. The way of teaching is very nice. Thanks sir. 🙏
Thank you 🙏
Muchas gracias, no entiendo mucho el ingles pero con lo poco que te entendia, seguia tus pasos y es la primera vez que despliego un pod al aks de azure, de verdad muchas gracias!!!
Muchas gracias!!! De Nada!
Thanks a lot for this amazing video sir.
So nice of you
Thanks Sir . Very Knowledgeable
Glad you liked it. 👏🙌
Very well explained, Thankyou sir
You are most welcome.
Best 👍
Thank you so much!!!
Thank you
You're welcome
Awesome explanation sir
Thank you so much 😊
How to do the same deployment in a blue green approach without downtime?
Azure devops should create new pod and delete the old one once new one is created. Is that possible via native azure pipelines?
Awsome , Thanks for the video, could you please explain the task you added in CD pipeline - "Replace Token in AKS deploy -from- ACR"
Please how can I use Ngnix to run this application.
I did saw the video on how to add Ngnix deployments with azure CLI but still don't know how to integrate it with the pipelines.
Thanks so much for this amazing tutorial
How can we connect to the private kubernetes cluster,can you please help me sir?
Sir how to add variables of environment specific like test, dev, local in azure devops?
click on Variables tab in the pipeline
nice tutorial...love it.....do u have dockerfile for this springboot service?
yes, check the link in this web page. www.coachdevops.com/2022/06/how-to-deploy-docker-containers-into.html
Hello sir ,thank you for the informative video.
I have ran into soem issue.
When i run the command: kubectl get pods
Its showing me the pods..but the all are 0/1 and status showing as "ImagePullBackoff"
Could you please help me on this
you need to fork my repo and make changes in deployment yaml in your repo after forking.
Hello , Thank you for the informative video.
When i ran the command "Kubectl get pods" , i am getting the error as "InvalidImageName"
My pods are not started yet. Can you help me out?
check your K8S manifest file if you are using right image name. image: myacrrepo4321.azurecr.io/akannan1087/springboot-app:#{Build.BuildId}#
and also make sure you have added token task in release pipeline
@@DevOpsCoach Hi, Thank you for the reply.
Yes i have added correct image name. PFB
image: kbcontainer123.azurecr.io/pranjal13579/pranjalpal-repo:#{Build.BuildId}#
Also i have used token release too in release pipeline.
Do I need to update the "azure-pipelines.yml" file as per mine naming convention for the practical?
Could you share github link?
HI.. I followed each and every step.. but still not able to access application... service gets created, as I hit external IP ''20.67.159. ' displaying ...took too long to respond. Any suggestion on this
it takes time to load spring boot app..make sure try again
@@DevOpsCoach yes, i am refreshing the page but facing issue like 'Gateway timeout'.. any solution on this?
did you solve it?
make video on helm using aks
sure..will do
here it is --> Deploying Apps into AKS cluster using Helm --> czcams.com/video/TSufDgRBfdg/video.html
thanks
You welcome